diff options
author | Martin Emde <[email protected]> | 2023-08-30 15:15:52 -0700 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-10-23 13:59:01 +0900 |
commit | 92f23a48e3bb7555ca99fc49e15b250a70f9d086 (patch) | |
tree | bd583abe4555696c8b68d141f7f51d8755b2e96e /spec/bundler/install/gemfile/path_spec.rb | |
parent | c5fd94073ff2e22b6eea29c242c7e4a12ed7c865 (diff) |
[rubygems/rubygems] Refactor Checksum classes and methods to reduce
code.
(https://github.com/rubygems/rubygems/pull/6917)
https://github.com/rubygems/rubygems/commit/2238bdaadc
Diffstat (limited to 'spec/bundler/install/gemfile/path_spec.rb')
-rw-r--r-- | spec/bundler/install/gemfile/path_spec.rb | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/spec/bundler/install/gemfile/path_spec.rb b/spec/bundler/install/gemfile/path_spec.rb index 5d0c759f4e..3af8412eab 100644 --- a/spec/bundler/install/gemfile/path_spec.rb +++ b/spec/bundler/install/gemfile/path_spec.rb @@ -121,8 +121,8 @@ RSpec.describe "bundle install with explicit source paths" do demo! CHECKSUMS - aaa (1.0) - demo (1.0) + #{gem_no_checksum("aaa", "1.0")} + #{gem_no_checksum("demo", "1.0")} BUNDLED WITH #{Bundler::VERSION} @@ -364,8 +364,8 @@ RSpec.describe "bundle install with explicit source paths" do foo! CHECKSUMS - foo (0.1.0) - #{checksum_for_repo_gem gem_repo4, "graphql", "2.0.15"} + #{gem_no_checksum("foo", "0.1.0")} + #{checksum_for_repo_gem(gem_repo4, "graphql", "2.0.15")} BUNDLED WITH #{Bundler::VERSION} @@ -692,8 +692,8 @@ RSpec.describe "bundle install with explicit source paths" do foo! CHECKSUMS - foo (1.0) - #{checksum_for_repo_gem gem_repo1, "rack", "0.9.1"} + #{gem_no_checksum("foo", "1.0")} + #{checksum_for_repo_gem(gem_repo1, "rack", "0.9.1")} BUNDLED WITH #{Bundler::VERSION} @@ -724,8 +724,8 @@ RSpec.describe "bundle install with explicit source paths" do foo! CHECKSUMS - foo (1.0) - #{checksum_for_repo_gem gem_repo1, "rack", "0.9.1"} + #{gem_no_checksum("foo", "1.0")} + #{checksum_for_repo_gem(gem_repo1, "rack", "0.9.1")} BUNDLED WITH #{Bundler::VERSION} @@ -762,8 +762,8 @@ RSpec.describe "bundle install with explicit source paths" do foo! CHECKSUMS - foo (1.0) - #{checksum_for_repo_gem gem_repo1, "rack", "0.9.1"} + #{gem_no_checksum("foo", "1.0")} + #{checksum_for_repo_gem(gem_repo1, "rack", "0.9.1")} BUNDLED WITH #{Bundler::VERSION} @@ -797,9 +797,9 @@ RSpec.describe "bundle install with explicit source paths" do foo! CHECKSUMS - foo (1.0) - #{checksum_for_repo_gem gem_repo1, "rack", "0.9.1"} - #{checksum_for_repo_gem gem_repo1, "rake", "13.0.1"} + #{gem_no_checksum("foo", "1.0")} + #{checksum_for_repo_gem(gem_repo1, "rack", "0.9.1")} + #{checksum_for_repo_gem(gem_repo1, "rake", "13.0.1")} BUNDLED WITH #{Bundler::VERSION} @@ -850,8 +850,8 @@ RSpec.describe "bundle install with explicit source paths" do foo! CHECKSUMS - foo (1.0) - rack (0.9.1) + #{gem_no_checksum("foo", "1.0")} + #{gem_no_checksum("rack", "0.9.1")} BUNDLED WITH #{Bundler::VERSION} |