[rubygems/rubygems] Do not use set.

https://github.com/rubygems/rubygems/commit/1a72c8796f
This commit is contained in:
Josef Šimánek 2020-04-23 09:03:11 +02:00 committed by Hiroshi SHIBATA
parent 832a7b0458
commit 39322317f3
Notes: git 2020-05-08 07:39:24 +09:00

View File

@ -6,7 +6,6 @@
# See LICENSE.txt for permissions.
#++
require 'set'
require 'rubygems/version'
require 'rubygems/requirement'
require 'rubygems/platform'
@ -197,7 +196,7 @@ class Gem::Specification < Gem::BasicSpecification
# Tracking removed method calls to warn users during build time.
REMOVED_METHODS = [:rubyforge_project=].freeze # :nodoc:
def removed_method_calls
@removed_method_calls ||= Set.new
@removed_method_calls ||= []
end
######################################################################