[rubygems/rubygems] More rubygems 3.2.x removals
Signed-off-by: Samuel Giddins <segiddins@segiddins.me> https://github.com/rubygems/rubygems/commit/272f3464a3
This commit is contained in:
parent
7695bf183b
commit
dfa11551aa
@ -145,7 +145,6 @@ module Bundler
|
||||
SharedHelpers.filesystem_access(extension_dir, :create) do
|
||||
FileUtils.mkdir_p extension_dir
|
||||
end
|
||||
require "shellwords" unless Bundler.rubygems.provides?(">= 3.2.25")
|
||||
end
|
||||
|
||||
def strict_rm_rf(dir)
|
||||
|
@ -20,10 +20,6 @@ module Bundler
|
||||
Gem::Requirement.new(req_str).satisfied_by?(version)
|
||||
end
|
||||
|
||||
def supports_bundler_trampolining?
|
||||
provides?(">= 3.3.0.a")
|
||||
end
|
||||
|
||||
def build_args
|
||||
require "rubygems/command"
|
||||
Gem::Command.build_args
|
||||
@ -356,11 +352,7 @@ module Bundler
|
||||
@replaced_methods.each do |(sym, klass), method|
|
||||
redefine_method(klass, sym, method)
|
||||
end
|
||||
if Binding.public_method_defined?(:source_location)
|
||||
post_reset_hooks.reject! {|proc| proc.binding.source_location[0] == __FILE__ }
|
||||
else
|
||||
post_reset_hooks.reject! {|proc| proc.binding.eval("__FILE__") == __FILE__ }
|
||||
end
|
||||
@replaced_methods.clear
|
||||
end
|
||||
|
||||
|
@ -106,7 +106,6 @@ module Bundler
|
||||
|
||||
def autoswitching_applies?
|
||||
ENV["BUNDLER_VERSION"].nil? &&
|
||||
Bundler.rubygems.supports_bundler_trampolining? &&
|
||||
ruby_can_restart_with_same_arguments? &&
|
||||
SharedHelpers.in_bundle? &&
|
||||
lockfile_version
|
||||
|
Loading…
x
Reference in New Issue
Block a user