summaryrefslogtreecommitdiff
path: root/lib/bundler/plugin.rb
diff options
context:
space:
mode:
authorCody Cutrer <cody@instructure.com>2023-10-11 10:05:58 -0600
committergit <svn-admin@ruby-lang.org>2023-11-01 02:29:56 +0000
commita1e24ab4841b8032b274bfd49c30adfdeb82b859 (patch)
treeaa5ffa0123c850b6f05376e87d11cfde8ec30102 /lib/bundler/plugin.rb
parent836d9fe46b85dd28339d2dae891df2da153c8632 (diff)
[rubygems/rubygems] avoid dependency on set
it was a performance improvement only, but it causes failures in unrelated tests https://github.com/rubygems/rubygems/commit/b4149cb9bf
Diffstat (limited to 'lib/bundler/plugin.rb')
-rw-r--r--lib/bundler/plugin.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/bundler/plugin.rb b/lib/bundler/plugin.rb
index fbbb5950f7..e3f698ec43 100644
--- a/lib/bundler/plugin.rb
+++ b/lib/bundler/plugin.rb
@@ -1,7 +1,5 @@
# frozen_string_literal: true
-require "set"
-
require_relative "plugin/api"
module Bundler
@@ -27,7 +25,7 @@ module Bundler
@sources = {}
@commands = {}
@hooks_by_event = Hash.new {|h, k| h[k] = [] }
- @loaded_plugin_names = Set.new
+ @loaded_plugin_names = []
end
reset!