File tree 2 files changed +8
-3
lines changed 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change
1
+ Tue Dec 10 04:55:36 2013 Zachary Scott <e@zzak.io>
2
+
3
+ * ext/openssl/lib/openssl/digest.rb: Deprecate OpenSSL::Digest::Digest
4
+ [Fixes GH-446] https://github.com/ruby/ruby/pull/446
5
+
1
6
Tue Dec 10 00:41:42 2013 Kazuki Tsujimoto <kazuki@callcc.net>
2
7
3
8
* ext/thread/thread.c: [DOC] add call-seq alias for Queue#enq, #<<, etc.
Original file line number Diff line number Diff line change @@ -59,15 +59,15 @@ def self.digest(name, data)
59
59
const_set ( name , klass )
60
60
}
61
61
62
- # This class is only provided for backwards compatibility .
62
+ # Deprecated .
63
63
#
64
- # Use OpenSSL::Digest in the future .
64
+ # This class is only provided for backwards compatibility .
65
65
class Digest < Digest # :nodoc:
66
66
# Deprecated.
67
67
#
68
68
# See OpenSSL::Digest.new
69
69
def initialize ( *args )
70
- # add warning
70
+ warn ( 'Digest::Digest is deprecated; use Digest' )
71
71
super ( *args )
72
72
end
73
73
end
You can’t perform that action at this time.
0 commit comments