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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77c8140a24affc89491eace478070daf14196c18
4
- data.tar.gz: dce1ec584eb5e9a05eae912c64191f4a6e968fde
3
+ metadata.gz: 9d5952fd10315e5dbec2cbffdb6b71dc5fcfe1ec
4
+ data.tar.gz: 628801a7179d6715f3b5c6fbcbb12c9d8f0bdca0
5
5
  SHA512:
6
- metadata.gz: bd3cf490625849cf69b2135d09f14bfc28260f352ae7adccd092dca064f01cc260b0788bd16690fa68055185b06135774fd0855ba23c6569a5264ca5a7f91eae
7
- data.tar.gz: c797f210e2a9c4eb1fccadff0adfbab74e947da33ddea47b4dafddf85f01c25be251a0f62a0bb953ae02ac9473afec70e9bcf4bc0927d56fad7b80ee0a000aa7
6
+ metadata.gz: d5c25ef68509bc581848f98b3496edf0955bfc15fe5eb30eac200d677242c70dba363744d1d1c0d23ba7a251fd561ffd8fc5efd8c58a863915d3a634755c95ae
7
+ data.tar.gz: 167e0480a5887bf5e19f11ab6655585d0c1e0d27414f2e6cf10579eb1882ed3e36ef805266ad3c6f3131b04660e742579edac361bc8bef696651c7359503c058
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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
@@ -1,3 +1,11 @@
1
+ === 1.4.1 / 2017-02-08
2
+
3
+ * Bug fix
4
+ * Set license to MIT in spec, matching README. Issue #9 by Benjamin
5
+ Fleischer
6
+ * Allow any digest length per RFC 7616 section 3.4.2. Issue #14 by Joshua
7
+ Gross.
8
+
1
9
  === 1.4 / 2013-07-23
2
10
 
3
11
  * Minor enhancements
@@ -1,4 +1,5 @@
1
1
  .autotest
2
+ .travis.yml
2
3
  History.txt
3
4
  Manifest.txt
4
5
  README.txt
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
 
@@ -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)[0, 32]}\"",
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 < MiniTest::Test
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="2cb62fc18f7b0ebdc34543f896bb7768"'
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: '1.4'
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
- MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMRAwDgYDVQQDDAdkcmJy
13
+ MIIDNjCCAh6gAwIBAgIBBDANBgkqhkiG9w0BAQUFADBBMRAwDgYDVQQDDAdkcmJy
14
14
  YWluMRgwFgYKCZImiZPyLGQBGRYIc2VnbWVudDcxEzARBgoJkiaJk/IsZAEZFgNu
15
- ZXQwHhcNMTMwMjI4MDUyMjA4WhcNMTQwMjI4MDUyMjA4WjBBMRAwDgYDVQQDDAdk
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
- sCANiQ8BAgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
24
- B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:00.000000000 Z
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.0'
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.0'
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.6'
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.6'
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: net-http-digest_auth
125
- rubygems_version: 2.0.4
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