From f753961611d286332e968f3b30f9b55b8590ef7d Mon Sep 17 00:00:00 2001 From: David Rodríguez Date: Sat, 3 Aug 2019 12:22:36 +0200 Subject: [bundler/bundler] Remove a bunch of unneeded rubygems requires https://github.com/bundler/bundler/commit/f9cb39e614 --- spec/bundler/support/artifice/endpoint.rb | 1 - spec/bundler/support/hax.rb | 2 -- 2 files changed, 3 deletions(-) (limited to 'spec/bundler/support') 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) -- cgit v1.2.3