diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-03 12:22:36 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-18 13:44:46 +0900 |
commit | f753961611d286332e968f3b30f9b55b8590ef7d (patch) | |
tree | ed239fb3ac8facba0deb68ef2d4a4a0881ae3f4b /spec/bundler/support | |
parent | 7659f00a8dd1df0e823cd5a47c6b4036c94e1321 (diff) | |
download | ruby-f753961611d286332e968f3b30f9b55b8590ef7d.tar.gz |
[bundler/bundler] Remove a bunch of unneeded rubygems requires
https://github.com/bundler/bundler/commit/f9cb39e614
Diffstat (limited to 'spec/bundler/support')
-rw-r--r-- | spec/bundler/support/artifice/endpoint.rb | 1 | ||||
-rw-r--r-- | spec/bundler/support/hax.rb | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/spec/bundler/support/artifice/endpoint.rb b/spec/bundler/support/artifice/endpoint.rb index d9e9e0ae0a..0176059e87 100644 --- a/spec/bundler/support/artifice/endpoint.rb +++ b/spec/bundler/support/artifice/endpoint.rb @@ -44,7 +44,6 @@ class Endpoint < Sinatra::Base def dependencies_for(gem_names, gem_repo = GEM_REPO) return [] if gem_names.nil? || gem_names.empty? - require "rubygems" require "bundler" Bundler::Deprecate.skip_during do all_specs = %w[specs.4.8 prerelease_specs.4.8].map do |filename| diff --git a/spec/bundler/support/hax.rb b/spec/bundler/support/hax.rb index 4f8d9b89ec..5e6acdc783 100644 --- a/spec/bundler/support/hax.rb +++ b/spec/bundler/support/hax.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -require "rubygems" - module Gem if version = ENV["BUNDLER_SPEC_RUBYGEMS_VERSION"] remove_const(:VERSION) if const_defined?(:VERSION) |