net-http-digest_auth 1.1 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data.tar.gz.sig +0 -0
- data/History.txt +6 -1
- data/Rakefile +6 -1
- data/lib/net/http/digest_auth.rb +2 -2
- metadata +8 -7
- metadata.gz.sig +2 -2
data.tar.gz.sig
CHANGED
|
Binary file
|
data/History.txt
CHANGED
data/Rakefile
CHANGED
|
@@ -11,7 +11,12 @@ Hoe.spec 'net-http-digest_auth' do
|
|
|
11
11
|
developer 'Eric Hodel', 'drbrain@segment7.net'
|
|
12
12
|
|
|
13
13
|
spec_extras['homepage'] =
|
|
14
|
-
'http://seattlerb.
|
|
14
|
+
'http://docs.seattlerb.org/net-http-digest_auth'
|
|
15
|
+
|
|
16
|
+
rdoc_locations <<
|
|
17
|
+
'docs.seattlerb.org:/data/www/docs.seattlerb.org/net-http-digest_auth/'
|
|
18
|
+
rdoc_locations <<
|
|
19
|
+
'rubyforge.org:/var/www/gforge-projects/seattlerb/net-http-digest_auth/'
|
|
15
20
|
end
|
|
16
21
|
|
|
17
22
|
# vim: syntax=Ruby
|
data/lib/net/http/digest_auth.rb
CHANGED
|
@@ -41,7 +41,7 @@ class Net::HTTP::DigestAuth
|
|
|
41
41
|
##
|
|
42
42
|
# Version of Net::HTTP::DigestAuth you are using
|
|
43
43
|
|
|
44
|
-
VERSION = '1.1'
|
|
44
|
+
VERSION = '1.1.1'
|
|
45
45
|
|
|
46
46
|
##
|
|
47
47
|
# Creates a new DigestAuth header creator.
|
|
@@ -111,7 +111,7 @@ class Net::HTTP::DigestAuth
|
|
|
111
111
|
ha2 = algorithm.hexdigest "#{method}:#{uri.request_uri}"
|
|
112
112
|
|
|
113
113
|
request_digest = [ha1, params['nonce']]
|
|
114
|
-
request_digest.push
|
|
114
|
+
request_digest.push(('%08x' % @nonce_count), @cnonce, qop) if qop
|
|
115
115
|
request_digest << ha2
|
|
116
116
|
request_digest = request_digest.join ':'
|
|
117
117
|
|
metadata
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: net-http-digest_auth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 1
|
|
9
|
-
|
|
9
|
+
- 1
|
|
10
|
+
version: 1.1.1
|
|
10
11
|
platform: ruby
|
|
11
12
|
authors:
|
|
12
13
|
- Eric Hodel
|
|
@@ -35,7 +36,7 @@ cert_chain:
|
|
|
35
36
|
x52qPcexcYZR7w==
|
|
36
37
|
-----END CERTIFICATE-----
|
|
37
38
|
|
|
38
|
-
date: 2011-03
|
|
39
|
+
date: 2011-04-03 00:00:00 -07:00
|
|
39
40
|
default_executable:
|
|
40
41
|
dependencies:
|
|
41
42
|
- !ruby/object:Gem::Dependency
|
|
@@ -62,12 +63,12 @@ dependencies:
|
|
|
62
63
|
requirements:
|
|
63
64
|
- - ">="
|
|
64
65
|
- !ruby/object:Gem::Version
|
|
65
|
-
hash:
|
|
66
|
+
hash: 35
|
|
66
67
|
segments:
|
|
67
68
|
- 2
|
|
68
69
|
- 9
|
|
69
|
-
-
|
|
70
|
-
version: 2.9.
|
|
70
|
+
- 4
|
|
71
|
+
version: 2.9.4
|
|
71
72
|
type: :development
|
|
72
73
|
version_requirements: *id002
|
|
73
74
|
description: |-
|
|
@@ -96,7 +97,7 @@ files:
|
|
|
96
97
|
- test/test_net_http_digest_auth.rb
|
|
97
98
|
- .gemtest
|
|
98
99
|
has_rdoc: true
|
|
99
|
-
homepage: http://seattlerb.
|
|
100
|
+
homepage: http://docs.seattlerb.org/net-http-digest_auth
|
|
100
101
|
licenses: []
|
|
101
102
|
|
|
102
103
|
post_install_message:
|
metadata.gz.sig
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
�
|
|
1
|
+
�x ���T�/�߅��i�B�]��|����M���p
|
|
2
|
+
�(f
|