diff options
author | Josef Šimánek <josef.simanek@gmail.com> | 2020-04-23 09:03:11 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-05-08 07:38:50 +0900 |
commit | 39322317f3442e71a997503059fb644f31e0ea3e (patch) | |
tree | 04a71d79ed8a9c88bec895ea02f7c7adc439e944 /lib | |
parent | 832a7b04589578b52297db6a9943e0c6c003fbfc (diff) | |
download | ruby-39322317f3442e71a997503059fb644f31e0ea3e.tar.gz |
[rubygems/rubygems] Do not use set.
https://github.com/rubygems/rubygems/commit/1a72c8796f
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rubygems/specification.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index eb622876fb..a153286e79 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -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 ###################################################################### |