aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/support
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-03 12:22:36 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-18 13:44:46 +0900
commitf753961611d286332e968f3b30f9b55b8590ef7d (patch)
treeed239fb3ac8facba0deb68ef2d4a4a0881ae3f4b /spec/bundler/support
parent7659f00a8dd1df0e823cd5a47c6b4036c94e1321 (diff)
downloadruby-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.rb1
-rw-r--r--spec/bundler/support/hax.rb2
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)