net-http-digest_auth 1.4 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.travis.yml +16 -0
- data/History.txt +8 -0
- data/Manifest.txt +1 -0
- data/Rakefile +4 -0
- data/lib/net/http/digest_auth.rb +2 -2
- data/test/test_net_http_digest_auth.rb +2 -2
- metadata +32 -33
- metadata.gz.sig +0 -0
- data/.gemtest +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d5952fd10315e5dbec2cbffdb6b71dc5fcfe1ec
|
4
|
+
data.tar.gz: 628801a7179d6715f3b5c6fbcbb12c9d8f0bdca0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5c25ef68509bc581848f98b3496edf0955bfc15fe5eb30eac200d677242c70dba363744d1d1c0d23ba7a251fd561ffd8fc5efd8c58a863915d3a634755c95ae
|
7
|
+
data.tar.gz: 167e0480a5887bf5e19f11ab6655585d0c1e0d27414f2e6cf10579eb1882ed3e36ef805266ad3c6f3131b04660e742579edac361bc8bef696651c7359503c058
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/.travis.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
after_script:
|
3
|
+
- rake travis:after -t
|
4
|
+
before_script:
|
5
|
+
- gem install hoe-travis --no-rdoc --no-ri
|
6
|
+
- rake travis:before -t
|
7
|
+
language: ruby
|
8
|
+
notifications:
|
9
|
+
email:
|
10
|
+
- drbrain@segment7.net
|
11
|
+
rvm:
|
12
|
+
- 1.8.7
|
13
|
+
- 1.9.3
|
14
|
+
- 2.0.0
|
15
|
+
- ruby-head
|
16
|
+
script: rake travis
|
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
data/Rakefile
CHANGED
@@ -15,6 +15,10 @@ Hoe.spec 'net-http-digest_auth' do
|
|
15
15
|
rdoc_locations <<
|
16
16
|
'rubyforge.org:/var/www/gforge-projects/seattlerb/net-http-digest_auth/'
|
17
17
|
|
18
|
+
license 'MIT'
|
19
|
+
|
20
|
+
dependency 'minitest', '~> 5.0', :development
|
21
|
+
|
18
22
|
self.spec_extras[:required_ruby_version] = '>= 1.8.7'
|
19
23
|
end
|
20
24
|
|
data/lib/net/http/digest_auth.rb
CHANGED
@@ -49,7 +49,7 @@ class Net::HTTP::DigestAuth
|
|
49
49
|
##
|
50
50
|
# Version of Net::HTTP::DigestAuth you are using
|
51
51
|
|
52
|
-
VERSION = '1.4'
|
52
|
+
VERSION = '1.4.1'
|
53
53
|
|
54
54
|
##
|
55
55
|
# Creates a new DigestAuth header creator.
|
@@ -142,7 +142,7 @@ class Net::HTTP::DigestAuth
|
|
142
142
|
"cnonce=\"#{cnonce}\"",
|
143
143
|
]
|
144
144
|
end,
|
145
|
-
"response=\"#{algorithm.hexdigest(request_digest)
|
145
|
+
"response=\"#{algorithm.hexdigest(request_digest)}\"",
|
146
146
|
if params.key? 'opaque' then
|
147
147
|
"opaque=\"#{params['opaque']}\""
|
148
148
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'minitest/autorun'
|
2
2
|
require 'net/http/digest_auth'
|
3
3
|
|
4
|
-
class TestNetHttpDigestAuth <
|
4
|
+
class TestNetHttpDigestAuth < Minitest::Test
|
5
5
|
|
6
6
|
def setup
|
7
7
|
@uri = URI.parse "http://www.example.com/"
|
@@ -89,7 +89,7 @@ class TestNetHttpDigestAuth < MiniTest::Test
|
|
89
89
|
|
90
90
|
def test_auth_header_sha1
|
91
91
|
@expected[2] = 'algorithm=SHA1'
|
92
|
-
@expected[8] = 'response="
|
92
|
+
@expected[8] = 'response="2cb62fc18f7b0ebdc34543f896bb77686b4115e4"'
|
93
93
|
|
94
94
|
@header << 'algorithm=SHA1'
|
95
95
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-http-digest_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Hodel
|
@@ -10,9 +10,9 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIDNjCCAh6gAwIBAgIBBDANBgkqhkiG9w0BAQUFADBBMRAwDgYDVQQDDAdkcmJy
|
14
14
|
YWluMRgwFgYKCZImiZPyLGQBGRYIc2VnbWVudDcxEzARBgoJkiaJk/IsZAEZFgNu
|
15
|
-
|
15
|
+
ZXQwHhcNMTYxMDA1MDQyNTQ0WhcNMTcxMDA1MDQyNTQ0WjBBMRAwDgYDVQQDDAdk
|
16
16
|
cmJyYWluMRgwFgYKCZImiZPyLGQBGRYIc2VnbWVudDcxEzARBgoJkiaJk/IsZAEZ
|
17
17
|
FgNuZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbbgLrGLGIDE76
|
18
18
|
LV/cvxdEzCuYuS3oG9PrSZnuDweySUfdp/so0cDq+j8bqy6OzZSw07gdjwFMSd6J
|
@@ -20,60 +20,59 @@ cert_chain:
|
|
20
20
|
Gj/okWrQl0NjYOYBpDi+9PPmaH2RmLJu0dB/NylsDnW5j6yN1BEI8MfJRR+HRKZY
|
21
21
|
mUtgzBwF1V4KIZQ8EuL6I/nHVu07i6IkrpAgxpXUfdJQJi0oZAqXurAV3yTxkFwd
|
22
22
|
g62YrrW26mDe+pZBzR6bpLE+PmXCzz7UxUq3AE0gPHbiMXie3EFE0oxnsU3lIduh
|
23
|
-
|
24
|
-
BBS5k4Z75VSpdM0AclG2UvzFA/
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
wgF94UVoHRp6ywo8I7NP3HcwFQDFNEZPNGXsng==
|
23
|
+
sCANiQ8BAgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
|
24
|
+
BBS5k4Z75VSpdM0AclG2UvzFA/VW5DANBgkqhkiG9w0BAQUFAAOCAQEAFz46xasn
|
25
|
+
5Jx0lPqq6EGpijLIWv+jk+m2v3Ps38M2ZmNpiThmYFBHIqfDCS0UJWDPTj6FJX0A
|
26
|
+
rspSuifsHq3CQ3RJImdO9Gewvx6p3WL/xZD1LmuRo6ktWH9gZWiZpA38GfFGj3SZ
|
27
|
+
2u6n3qOEsaxIfwYcU4lCgeZ61JdVU+WWK+GfZpCz4BnjA5hgwdFaf5Zb560RtW7S
|
28
|
+
77pi/SZtblyK/jqz1hgoMcaYZvIJTqZnen0pHaq+lKY1KzGdTuVbwD3DO+Fi1Vu8
|
29
|
+
BOJAX2VNKk4wthxdCu0SvPe7e+QMP2rmaZOyuX4ztiDQiGuoJxyeqoG1WiOttINU
|
30
|
+
U76tHMFuL0FUYw==
|
32
31
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
32
|
+
date: 2017-02-08 00:00:00.000000000 Z
|
34
33
|
dependencies:
|
35
34
|
- !ruby/object:Gem::Dependency
|
36
35
|
name: minitest
|
37
36
|
requirement: !ruby/object:Gem::Requirement
|
38
37
|
requirements:
|
39
|
-
- - ~>
|
38
|
+
- - "~>"
|
40
39
|
- !ruby/object:Gem::Version
|
41
|
-
version: '5.
|
40
|
+
version: '5.8'
|
42
41
|
type: :development
|
43
42
|
prerelease: false
|
44
43
|
version_requirements: !ruby/object:Gem::Requirement
|
45
44
|
requirements:
|
46
|
-
- - ~>
|
45
|
+
- - "~>"
|
47
46
|
- !ruby/object:Gem::Version
|
48
|
-
version: '5.
|
47
|
+
version: '5.8'
|
49
48
|
- !ruby/object:Gem::Dependency
|
50
49
|
name: rdoc
|
51
50
|
requirement: !ruby/object:Gem::Requirement
|
52
51
|
requirements:
|
53
|
-
- - ~>
|
52
|
+
- - "~>"
|
54
53
|
- !ruby/object:Gem::Version
|
55
54
|
version: '4.0'
|
56
55
|
type: :development
|
57
56
|
prerelease: false
|
58
57
|
version_requirements: !ruby/object:Gem::Requirement
|
59
58
|
requirements:
|
60
|
-
- - ~>
|
59
|
+
- - "~>"
|
61
60
|
- !ruby/object:Gem::Version
|
62
61
|
version: '4.0'
|
63
62
|
- !ruby/object:Gem::Dependency
|
64
63
|
name: hoe
|
65
64
|
requirement: !ruby/object:Gem::Requirement
|
66
65
|
requirements:
|
67
|
-
- - ~>
|
66
|
+
- - "~>"
|
68
67
|
- !ruby/object:Gem::Version
|
69
|
-
version: '3.
|
68
|
+
version: '3.15'
|
70
69
|
type: :development
|
71
70
|
prerelease: false
|
72
71
|
version_requirements: !ruby/object:Gem::Requirement
|
73
72
|
requirements:
|
74
|
-
- - ~>
|
73
|
+
- - "~>"
|
75
74
|
- !ruby/object:Gem::Version
|
76
|
-
version: '3.
|
75
|
+
version: '3.15'
|
77
76
|
description: |-
|
78
77
|
An implementation of RFC 2617 - Digest Access Authentication. At this time
|
79
78
|
the gem does not drop in to Net::HTTP and can be used for with other HTTP
|
@@ -91,7 +90,8 @@ extra_rdoc_files:
|
|
91
90
|
- Manifest.txt
|
92
91
|
- README.txt
|
93
92
|
files:
|
94
|
-
- .autotest
|
93
|
+
- ".autotest"
|
94
|
+
- ".travis.yml"
|
95
95
|
- History.txt
|
96
96
|
- Manifest.txt
|
97
97
|
- README.txt
|
@@ -100,31 +100,30 @@ files:
|
|
100
100
|
- sample/auth_server.rb
|
101
101
|
- sample/net_http_example.rb
|
102
102
|
- test/test_net_http_digest_auth.rb
|
103
|
-
- .gemtest
|
104
103
|
homepage: http://github.com/drbrain/net-http-digest_auth
|
105
|
-
licenses:
|
104
|
+
licenses:
|
105
|
+
- MIT
|
106
106
|
metadata: {}
|
107
107
|
post_install_message:
|
108
108
|
rdoc_options:
|
109
|
-
- --main
|
109
|
+
- "--main"
|
110
110
|
- README.txt
|
111
111
|
require_paths:
|
112
112
|
- lib
|
113
113
|
required_ruby_version: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: 1.8.7
|
118
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
119
|
requirements:
|
120
|
-
- -
|
120
|
+
- - ">="
|
121
121
|
- !ruby/object:Gem::Version
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
|
-
rubyforge_project:
|
125
|
-
rubygems_version: 2.
|
124
|
+
rubyforge_project:
|
125
|
+
rubygems_version: 2.6.4
|
126
126
|
signing_key:
|
127
127
|
specification_version: 4
|
128
128
|
summary: An implementation of RFC 2617 - Digest Access Authentication
|
129
|
-
test_files:
|
130
|
-
- test/test_net_http_digest_auth.rb
|
129
|
+
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|
data/.gemtest
DELETED
File without changes
|