Skip to content

Commit a1e24ab

Browse files
ccutrermatzbot
authored andcommitted
[rubygems/rubygems] avoid dependency on set
it was a performance improvement only, but it causes failures in unrelated tests rubygems/rubygems@b4149cb9bf
1 parent 836d9fe commit a1e24ab

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/bundler/plugin.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# frozen_string_literal: true
22

3-
require "set"
4-
53
require_relative "plugin/api"
64

75
module Bundler
@@ -27,7 +25,7 @@ def reset!
2725
@sources = {}
2826
@commands = {}
2927
@hooks_by_event = Hash.new {|h, k| h[k] = [] }
30-
@loaded_plugin_names = Set.new
28+
@loaded_plugin_names = []
3129
end
3230

3331
reset!

0 commit comments

Comments
 (0)