summaryrefslogtreecommitdiff
path: root/lib/rubygems/deprecate.rb
diff options
context:
space:
mode:
authorbronzdoc <[email protected]>2020-03-22 18:34:19 -0600
committerHiroshi SHIBATA <[email protected]>2020-05-08 07:38:50 +0900
commit2f7865bb6e9eaadb86f159c220478adc73883a90 ()
treea9a828180c6945240bc1de9c98da94dd3e42c278 /lib/rubygems/deprecate.rb
parent1fe2b7f41caf1868917bab5e698d25dae2bce85b (diff)
[rubygems/rubygems] Make the deprecate method recieve a Rubygems version instead of a date
https://.com/rubygems/rubygems/commit/f0e098a1b7
Notes: Merged: https://.com/ruby/ruby/pull/3087
-rw-r--r--lib/rubygems/deprecate.rb24
1 files changed, 24 insertions, 0 deletions
@@ -45,6 +45,30 @@ module Gem::Deprecate
# Simple deprecation method that deprecates +name+ by wrapping it up
# in a dummy method. It warns on each call to the dummy method
# telling the user of +repl+ (unless +repl+ is :none) and the
# year/month that it is planned to go away.
def deprecate(name, repl, year, month)