* ext/openssl/lib/openssl/digest.rb: Deprecate OpenSSL::Digest::Digest
[Fixes GH-446] https://github.com/ruby/ruby/pull/446 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
062845c170
commit
99e04c1345
@ -1,3 +1,8 @@
|
||||
Tue Dec 10 04:55:36 2013 Zachary Scott <e@zzak.io>
|
||||
|
||||
* ext/openssl/lib/openssl/digest.rb: Deprecate OpenSSL::Digest::Digest
|
||||
[Fixes GH-446] https://github.com/ruby/ruby/pull/446
|
||||
|
||||
Tue Dec 10 00:41:42 2013 Kazuki Tsujimoto <kazuki@callcc.net>
|
||||
|
||||
* ext/thread/thread.c: [DOC] add call-seq alias for Queue#enq, #<<, etc.
|
||||
|
@ -59,15 +59,15 @@ module OpenSSL
|
||||
const_set(name, klass)
|
||||
}
|
||||
|
||||
# This class is only provided for backwards compatibility.
|
||||
# Deprecated.
|
||||
#
|
||||
# Use OpenSSL::Digest in the future.
|
||||
# This class is only provided for backwards compatibility.
|
||||
class Digest < Digest # :nodoc:
|
||||
# Deprecated.
|
||||
#
|
||||
# See OpenSSL::Digest.new
|
||||
def initialize(*args)
|
||||
# add warning
|
||||
warn('Digest::Digest is deprecated; use Digest')
|
||||
super(*args)
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user