From 9492efbe714e97abc5c656fca13a6602199a1ba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 8 Jul 2022 18:59:22 +0200 Subject: [rubygems/rubygems] Remove unnecessary `local` helper https://github.com/rubygems/rubygems/commit/27ed6870ce --- spec/bundler/commands/check_spec.rb | 4 ++-- spec/bundler/install/deploy_spec.rb | 2 +- spec/bundler/support/platforms.rb | 4 ---- 3 files changed, 3 insertions(+), 7 deletions(-) (limited to 'spec/bundler') 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 -- cgit v1.2.1