[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
|
SharedHelpers.filesystem_access(extension_dir, :create) do
|
||||||
FileUtils.mkdir_p extension_dir
|
FileUtils.mkdir_p extension_dir
|
||||||
end
|
end
|
||||||
require "shellwords" unless Bundler.rubygems.provides?(">= 3.2.25")
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def strict_rm_rf(dir)
|
def strict_rm_rf(dir)
|
||||||
|
@ -20,10 +20,6 @@ module Bundler
|
|||||||
Gem::Requirement.new(req_str).satisfied_by?(version)
|
Gem::Requirement.new(req_str).satisfied_by?(version)
|
||||||
end
|
end
|
||||||
|
|
||||||
def supports_bundler_trampolining?
|
|
||||||
provides?(">= 3.3.0.a")
|
|
||||||
end
|
|
||||||
|
|
||||||
def build_args
|
def build_args
|
||||||
require "rubygems/command"
|
require "rubygems/command"
|
||||||
Gem::Command.build_args
|
Gem::Command.build_args
|
||||||
@ -356,11 +352,7 @@ module Bundler
|
|||||||
@replaced_methods.each do |(sym, klass), method|
|
@replaced_methods.each do |(sym, klass), method|
|
||||||
redefine_method(klass, sym, method)
|
redefine_method(klass, sym, method)
|
||||||
end
|
end
|
||||||
if Binding.public_method_defined?(:source_location)
|
post_reset_hooks.reject! {|proc| proc.binding.source_location[0] == __FILE__ }
|
||||||
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
|
@replaced_methods.clear
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -106,7 +106,6 @@ module Bundler
|
|||||||
|
|
||||||
def autoswitching_applies?
|
def autoswitching_applies?
|
||||||
ENV["BUNDLER_VERSION"].nil? &&
|
ENV["BUNDLER_VERSION"].nil? &&
|
||||||
Bundler.rubygems.supports_bundler_trampolining? &&
|
|
||||||
ruby_can_restart_with_same_arguments? &&
|
ruby_can_restart_with_same_arguments? &&
|
||||||
SharedHelpers.in_bundle? &&
|
SharedHelpers.in_bundle? &&
|
||||||
lockfile_version
|
lockfile_version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user