summaryrefslogtreecommitdiff
path: root/lib/rubygems/deprecate.rb
diff options
context:
space:
mode:
authorJosef Šimánek <[email protected]>2020-04-21 12:46:04 +0200
committerHiroshi SHIBATA <[email protected]>2020-05-08 07:38:50 +0900
commit60cafe8ea95cd86bbb7099aaddb934bee3a13781 ()
tree77ddd3869ef73a12696391776fb08c586a118c97 /lib/rubygems/deprecate.rb
parent0e85a39dc70328641c3155f66568feedbe6dd15f (diff)
[rubygems/rubygems] Revert deprecation of deprecate method for now.
https://.com/rubygems/rubygems/commit/965eee1741
Notes: Merged: https://.com/ruby/ruby/pull/3087
-rw-r--r--lib/rubygems/deprecate.rb1
1 files changed, 0 insertions, 1 deletions
@@ -63,7 +63,6 @@ module Gem::Deprecate
". It will be removed on or after %4d-%02d-01." % [year, month],
"\n#{target}#{name} called from #{Gem.location_of_caller.join(":")}",
]
- warn "Gem::Deprecate#deprecate has been deprecated with no replacement and it will be removed in Rubygems 4.\n" unless Gem::Deprecate.skip
warn "#{msg.join}." unless Gem::Deprecate.skip
send old, *args, &block
end