diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-06 04:25:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-06 04:25:25 +0000 |
commit | 84880187bdfc63a4b7271b56505670bf9cc5f4bc (patch) | |
tree | bbd36296ca0de2309b69645ad472a6b1c78950d2 /lib/rubygems/digest/sha2.rb | |
parent | f378f104732476abb5979594383517a273ceca4f (diff) | |
download | ruby-84880187bdfc63a4b7271b56505670bf9cc5f4bc.tar.gz |
* lib/rubygems/digest/digest_adapter.rb: removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/digest/sha2.rb')
-rwxr-xr-x | lib/rubygems/digest/sha2.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/rubygems/digest/sha2.rb b/lib/rubygems/digest/sha2.rb index 3bb107773f..91cb236165 100755 --- a/lib/rubygems/digest/sha2.rb +++ b/lib/rubygems/digest/sha2.rb @@ -7,10 +7,5 @@ require 'digest/sha2' module Gem - if RUBY_VERSION >= '1.8.6' - SHA256 = Digest::SHA256 - else - require 'rubygems/digest/digest_adapter' - SHA256 = DigestAdapter.new(Digest::SHA256) - end + SHA256 = Digest::SHA256 end |