lib/atom/http.rb in atom-tools-2.0.4 vs lib/atom/http.rb in atom-tools-2.0.5
- old
+ new
@@ -3,11 +3,11 @@
require "uri"
require "cgi"
require "atom/cache"
-require "sha1"
+require "digest/sha1"
require "digest/md5"
module URI # :nodoc: all
class Generic; def to_uri; self; end; end
end
@@ -15,10 +15,10 @@
class String # :nodoc:
def to_uri; URI.parse(self); end
end
module Atom
- TOOLS_VERSION = '2.0.4'
+ TOOLS_VERSION = '2.0.5'
UA = "atom-tools " + TOOLS_VERSION
module DigestAuth
CNONCE = Digest::MD5.hexdigest("%x" % (Time.now.to_i + rand(65535)))