summaryrefslogtreecommitdiff
path: root/spec/bundler/install/gemfile
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/install/gemfile')
-rw-r--r--spec/bundler/install/gemfile/gemspec_spec.rb2
-rw-r--r--spec/bundler/install/gemfile/install_if_spec.rb4
-rw-r--r--spec/bundler/install/gemfile/path_spec.rb4
-rw-r--r--spec/bundler/install/gemfile/platform_spec.rb21
-rw-r--r--spec/bundler/install/gemfile/specific_platform_spec.rb24
5 files changed, 45 insertions, 10 deletions
diff --git a/spec/bundler/install/gemfile/gemspec_spec.rb b/spec/bundler/install/gemfile/gemspec_spec.rb
index f72726fec1..da8b6a90b1 100644
--- a/spec/bundler/install/gemfile/gemspec_spec.rb
+++ b/spec/bundler/install/gemfile/gemspec_spec.rb
@@ -721,7 +721,7 @@ RSpec.describe "bundle install from an existing gemspec" do
CHECKSUMS
activeadmin (2.9.0)
- #{checksum_for_repo_gem gem_repo4, "jruby-openssl", "0.10.7", "java"}
+ jruby-openssl (0.10.7-java)
#{checksum_for_repo_gem gem_repo4, "railties", "6.1.4"}
BUNDLED WITH
diff --git a/spec/bundler/install/gemfile/install_if_spec.rb b/spec/bundler/install/gemfile/install_if_spec.rb
index 96b7f07d16..ced6f42d79 100644
--- a/spec/bundler/install/gemfile/install_if_spec.rb
+++ b/spec/bundler/install/gemfile/install_if_spec.rb
@@ -39,9 +39,9 @@ RSpec.describe "bundle install with install_if conditionals" do
CHECKSUMS
#{checksum_for_repo_gem gem_repo1, "activesupport", "2.3.5"}
- #{checksum_for_repo_gem gem_repo1, "foo", "1.0"}
+ #{checksum_for_repo_gem gem_repo1, "foo", "1.0", :empty => true}
#{checksum_for_repo_gem gem_repo1, "rack", "1.0.0"}
- #{checksum_for_repo_gem gem_repo1, "thin", "1.0"}
+ #{checksum_for_repo_gem gem_repo1, "thin", "1.0", :empty => true}
BUNDLED WITH
#{Bundler::VERSION}
diff --git a/spec/bundler/install/gemfile/path_spec.rb b/spec/bundler/install/gemfile/path_spec.rb
index 086d6c3ed1..5d0c759f4e 100644
--- a/spec/bundler/install/gemfile/path_spec.rb
+++ b/spec/bundler/install/gemfile/path_spec.rb
@@ -849,6 +849,10 @@ RSpec.describe "bundle install with explicit source paths" do
DEPENDENCIES
foo!
+ CHECKSUMS
+ foo (1.0)
+ rack (0.9.1)
+
BUNDLED WITH
#{Bundler::VERSION}
G
diff --git a/spec/bundler/install/gemfile/platform_spec.rb b/spec/bundler/install/gemfile/platform_spec.rb
index de474d968e..bb62558deb 100644
--- a/spec/bundler/install/gemfile/platform_spec.rb
+++ b/spec/bundler/install/gemfile/platform_spec.rb
@@ -226,6 +226,12 @@ RSpec.describe "bundle install across platforms" do
pry
CHECKSUMS
+ #{checksum_for_repo_gem gem_repo4, "coderay", "1.1.2"}
+ #{checksum_for_repo_gem gem_repo4, "empyrean", "0.1.0"}
+ #{checksum_for_repo_gem gem_repo4, "ffi", "1.9.23", "java"}
+ #{checksum_for_repo_gem gem_repo4, "method_source", "0.9.0"}
+ #{checksum_for_repo_gem gem_repo4, "pry", "0.11.3", "java"}
+ #{checksum_for_repo_gem gem_repo4, "spoon", "0.0.6"}
BUNDLED WITH
#{Bundler::VERSION}
@@ -260,6 +266,13 @@ RSpec.describe "bundle install across platforms" do
pry
CHECKSUMS
+ #{checksum_for_repo_gem gem_repo4, "coderay", "1.1.2"}
+ #{checksum_for_repo_gem gem_repo4, "empyrean", "0.1.0"}
+ #{checksum_for_repo_gem gem_repo4, "ffi", "1.9.23", "java"}
+ #{checksum_for_repo_gem gem_repo4, "method_source", "0.9.0"}
+ pry (0.11.3)
+ #{checksum_for_repo_gem gem_repo4, "pry", "0.11.3", "java"}
+ #{checksum_for_repo_gem gem_repo4, "spoon", "0.0.6"}
BUNDLED WITH
#{Bundler::VERSION}
@@ -295,6 +308,12 @@ RSpec.describe "bundle install across platforms" do
pry
CHECKSUMS
+ #{checksum_for_repo_gem gem_repo4, "coderay", "1.1.2"}
+ #{checksum_for_repo_gem gem_repo4, "empyrean", "0.1.0"}
+ #{checksum_for_repo_gem gem_repo4, "ffi", "1.9.23", "java"}
+ #{checksum_for_repo_gem gem_repo4, "method_source", "0.9.0"}
+ #{checksum_for_repo_gem gem_repo4, "pry", "0.11.3", "java"}
+ #{checksum_for_repo_gem gem_repo4, "spoon", "0.0.6"}
BUNDLED WITH
1.16.1
@@ -407,7 +426,7 @@ RSpec.describe "bundle install across platforms" do
CHECKSUMS
#{checksum_for_repo_gem(gem_repo1, "platform_specific", "1.0")}
- #{checksum_for_repo_gem(gem_repo1, "platform_specific", "1.0", "java")}
+ #{checksum_for_repo_gem(gem_repo1, "platform_specific", "1.0", "java", :empty => true)}
BUNDLED WITH
#{Bundler::VERSION}
diff --git a/spec/bundler/install/gemfile/specific_platform_spec.rb b/spec/bundler/install/gemfile/specific_platform_spec.rb
index 4718d0dec1..6ec236b0c8 100644
--- a/spec/bundler/install/gemfile/specific_platform_spec.rb
+++ b/spec/bundler/install/gemfile/specific_platform_spec.rb
@@ -79,6 +79,9 @@ RSpec.describe "bundle install with specific platforms" do
DEPENDENCIES
google-protobuf
+ CHECKSUMS
+ google-protobuf (3.0.0.alpha.4.0)
+
BUNDLED WITH
2.1.4
L
@@ -102,6 +105,7 @@ RSpec.describe "bundle install with specific platforms" do
google-protobuf
CHECKSUMS
+ google-protobuf (3.0.0.alpha.5.0.5.1)
BUNDLED WITH
#{Bundler::VERSION}
@@ -622,8 +626,8 @@ RSpec.describe "bundle install with specific platforms" do
sorbet-static
CHECKSUMS
- #{checksum_for_repo_gem gem_repo4, "nokogiri", "1.13.0", "x86_64-darwin"}
- #{checksum_for_repo_gem gem_repo4, "sorbet-static", "0.5.10601", "x86_64-darwin"}
+ #{checksum_for_repo_gem gem_repo4, "nokogiri", "1.13.0", "x86_64-darwin", :empty => true}
+ #{checksum_for_repo_gem gem_repo4, "sorbet-static", "0.5.10601", "x86_64-darwin", :empty => true}
BUNDLED WITH
#{Bundler::VERSION}
@@ -807,6 +811,10 @@ RSpec.describe "bundle install with specific platforms" do
DEPENDENCIES
sorbet-static (= 0.5.10549)
+ CHECKSUMS
+ #{checksum_for_repo_gem gem_repo4, "sorbet-static", "0.5.10549", "universal-darwin-20"}
+ #{checksum_for_repo_gem gem_repo4, "sorbet-static", "0.5.10549", "universal-darwin-21"}
+
BUNDLED WITH
#{Bundler::VERSION}
L
@@ -828,7 +836,7 @@ RSpec.describe "bundle install with specific platforms" do
CHECKSUMS
#{checksum_for_repo_gem gem_repo4, "sorbet-static", "0.5.10549", "universal-darwin-20"}
- #{checksum_for_repo_gem gem_repo4, "sorbet-static", "0.5.10549", "universal-darwin-21"}
+ #{checksum_for_repo_gem gem_repo4, "sorbet-static", "0.5.10549", "universal-darwin-21", :empty => true}
BUNDLED WITH
#{Bundler::VERSION}
@@ -884,15 +892,15 @@ RSpec.describe "bundle install with specific platforms" do
nokogiri (1.13.8-#{Gem::Platform.local})
PLATFORMS
- #{lockfile_platforms_for([specific_local_platform, "ruby"])}
+ #{lockfile_platforms("ruby")}
DEPENDENCIES
nokogiri
tzinfo (~> 1.2)
CHECKSUMS
- #{checksum_for_repo_gem gem_repo4, "nokogiri", "1.13.8"}
- #{checksum_for_repo_gem gem_repo4, "nokogiri", "1.13.8", "arm64-darwin-22"}
+ #{checksum_for_repo_gem gem_repo4, "nokogiri", "1.13.8", :empty => true}
+ #{checksum_for_repo_gem gem_repo4, "nokogiri", "1.13.8", Gem::Platform.local, :empty => true}
BUNDLED WITH
#{Bundler::VERSION}
@@ -946,6 +954,10 @@ RSpec.describe "bundle install with specific platforms" do
concurrent-ruby
rack
+ CHECKSUMS
+ #{checksum_for_repo_gem gem_repo4, "concurrent-ruby", "1.2.2", :empty => true}
+ #{checksum_for_repo_gem gem_repo4, "rack", "3.0.7", :empty => true}
+
BUNDLED WITH
#{Bundler::VERSION}
L