ruby-changes:61081
From: Josef <ko1@a...>
Date: Fri, 8 May 2020 07:39:46 +0900 (JST)
Subject: [ruby-changes:61081] 39322317f3 (master): [rubygems/rubygems] Do not use set.
https://git.ruby-lang.org/ruby.git/commit/?id=39322317f3 From 39322317f3442e71a997503059fb644f31e0ea3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20=C5=A0im=C3=A1nek?= <josef.simanek@g...> Date: Thu, 23 Apr 2020 09:03:11 +0200 Subject: [rubygems/rubygems] Do not use set. https://github.com/rubygems/rubygems/commit/1a72c8796f diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index eb62287..a153286 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -6,7 +6,6 @@ https://github.com/ruby/ruby/blob/trunk/lib/rubygems/specification.rb#L6 # 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 https://github.com/ruby/ruby/blob/trunk/lib/rubygems/specification.rb#L196 # 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 ###################################################################### -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/