summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2022-07-08 18:59:22 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-17 18:50:55 +0900
commit9492efbe714e97abc5c656fca13a6602199a1ba8 (patch)
tree6d8f847a73d54b85dcb721e1397690702646e580
parent8a8ade7e5e46a74848c03a1481bc3c3d22b3e49e (diff)
downloadruby-9492efbe714e97abc5c656fca13a6602199a1ba8.tar.gz
[rubygems/rubygems] Remove unnecessary `local` helper
https://github.com/rubygems/rubygems/commit/27ed6870ce
-rw-r--r--spec/bundler/commands/check_spec.rb4
-rw-r--r--spec/bundler/install/deploy_spec.rb2
-rw-r--r--spec/bundler/support/platforms.rb4
3 files changed, 3 insertions, 7 deletions
diff --git a/spec/bundler/commands/check_spec.rb b/spec/bundler/commands/check_spec.rb
index b4996977c1..1200ce848c 100644
--- a/spec/bundler/commands/check_spec.rb
+++ b/spec/bundler/commands/check_spec.rb
@@ -172,7 +172,7 @@ RSpec.describe "bundle check" do
rack (1.0.0)
PLATFORMS
- #{local}
+ #{generic_local_platform}
#{not_local}
DEPENDENCIES
@@ -203,7 +203,7 @@ RSpec.describe "bundle check" do
rack (1.0.0)
PLATFORMS
- #{local}
+ #{generic_local_platform}
#{not_local}
DEPENDENCIES
diff --git a/spec/bundler/install/deploy_spec.rb b/spec/bundler/install/deploy_spec.rb
index 3bcb6a703e..484664b433 100644
--- a/spec/bundler/install/deploy_spec.rb
+++ b/spec/bundler/install/deploy_spec.rb
@@ -141,7 +141,7 @@ RSpec.describe "install in deployment or frozen mode" do
rack (1.0.0)
PLATFORMS
- #{local}
+ #{generic_local_platform}
DEPENDENCIES
rack
diff --git a/spec/bundler/support/platforms.rb b/spec/bundler/support/platforms.rb
index ffd815818d..355053a4fd 100644
--- a/spec/bundler/support/platforms.rb
+++ b/spec/bundler/support/platforms.rb
@@ -52,10 +52,6 @@ module Spec
[rb, java, linux, windows_platforms].flatten
end
- def local
- generic_local_platform
- end
-
def specific_local_platform
Bundler.local_platform
end