rack-authenticate 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -2,5 +2,5 @@ source "http://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in rack-authenticate.gemspec
4
4
  gemspec
5
- gem 'rack'
5
+ gem 'rack', '>= 1.5.1'
6
6
  gem 'appraisal'
@@ -35,11 +35,11 @@ module Rack
35
35
  end
36
36
 
37
37
  def basic?
38
- :basic == scheme
38
+ scheme.to_s == 'basic'
39
39
  end
40
40
 
41
41
  def hmac?
42
- :hmac == scheme
42
+ scheme.to_s == 'hmac'
43
43
  end
44
44
 
45
45
  def has_all_required_parts?
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module Authenticate
3
- VERSION = "0.5.0"
3
+ VERSION = "0.6.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,115 +1,104 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rack-authenticate
3
- version: !ruby/object:Gem::Version
4
- hash: 11
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.6.0
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 5
9
- - 0
10
- version: 0.5.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Myron Marston
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-02-27 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2013-05-10 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: ruby-hmac
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 15
29
- segments:
30
- - 0
31
- - 4
32
- - 0
20
+ - !ruby/object:Gem::Version
33
21
  version: 0.4.0
34
22
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: rspec
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
40
25
  none: false
41
- requirements:
26
+ requirements:
42
27
  - - ~>
43
- - !ruby/object:Gem::Version
44
- hash: 15424215
45
- segments:
46
- - 2
47
- - 8
48
- - 0
49
- - rc
50
- - 1
28
+ - !ruby/object:Gem::Version
29
+ version: 0.4.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
51
37
  version: 2.8.0.rc1
52
38
  type: :development
53
- version_requirements: *id002
54
- - !ruby/object:Gem::Dependency
55
- name: rack-test
56
39
  prerelease: false
57
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
58
41
  none: false
59
- requirements:
42
+ requirements:
60
43
  - - ~>
61
- - !ruby/object:Gem::Version
62
- hash: 5
63
- segments:
64
- - 0
65
- - 6
66
- - 1
44
+ - !ruby/object:Gem::Version
45
+ version: 2.8.0.rc1
46
+ - !ruby/object:Gem::Dependency
47
+ name: rack-test
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
67
53
  version: 0.6.1
68
54
  type: :development
69
- version_requirements: *id003
70
- - !ruby/object:Gem::Dependency
71
- name: timecop
72
55
  prerelease: false
73
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
74
57
  none: false
75
- requirements:
58
+ requirements:
76
59
  - - ~>
77
- - !ruby/object:Gem::Version
78
- hash: 25
79
- segments:
80
- - 0
81
- - 3
82
- - 5
60
+ - !ruby/object:Gem::Version
61
+ version: 0.6.1
62
+ - !ruby/object:Gem::Dependency
63
+ name: timecop
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
83
69
  version: 0.3.5
84
70
  type: :development
85
- version_requirements: *id004
86
- - !ruby/object:Gem::Dependency
87
- name: rake
88
71
  prerelease: false
89
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 0.3.5
78
+ - !ruby/object:Gem::Dependency
79
+ name: rake
80
+ requirement: !ruby/object:Gem::Requirement
90
81
  none: false
91
- requirements:
82
+ requirements:
92
83
  - - ~>
93
- - !ruby/object:Gem::Version
94
- hash: 11
95
- segments:
96
- - 0
97
- - 9
98
- - 2
99
- - 2
84
+ - !ruby/object:Gem::Version
100
85
  version: 0.9.2.2
101
86
  type: :development
102
- version_requirements: *id005
103
- description: A rack middleware that authenticates requests either using basic auth or via signed HMAC.
104
- email:
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.9.2.2
94
+ description: A rack middleware that authenticates requests either using basic auth
95
+ or via signed HMAC.
96
+ email:
105
97
  - myron.marston@gmail.com
106
98
  executables: []
107
-
108
99
  extensions: []
109
-
110
100
  extra_rdoc_files: []
111
-
112
- files:
101
+ files:
113
102
  - .gitignore
114
103
  - .rspec
115
104
  - .rvmrc
@@ -135,40 +124,38 @@ files:
135
124
  - spec/rack/authenticate/cors_middleware_spec.rb
136
125
  - spec/rack/authenticate/middleware_spec.rb
137
126
  - spec/rack/authenticate_spec.rb
138
- homepage: ""
127
+ homepage: ''
139
128
  licenses: []
140
-
141
129
  post_install_message:
142
130
  rdoc_options: []
143
-
144
- require_paths:
131
+ require_paths:
145
132
  - lib
146
- required_ruby_version: !ruby/object:Gem::Requirement
133
+ required_ruby_version: !ruby/object:Gem::Requirement
147
134
  none: false
148
- requirements:
149
- - - ">="
150
- - !ruby/object:Gem::Version
151
- hash: 3
152
- segments:
135
+ requirements:
136
+ - - ! '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ segments:
153
140
  - 0
154
- version: "0"
155
- required_rubygems_version: !ruby/object:Gem::Requirement
141
+ hash: 2903044246289365482
142
+ required_rubygems_version: !ruby/object:Gem::Requirement
156
143
  none: false
157
- requirements:
158
- - - ">="
159
- - !ruby/object:Gem::Version
160
- hash: 3
161
- segments:
144
+ requirements:
145
+ - - ! '>='
146
+ - !ruby/object:Gem::Version
147
+ version: '0'
148
+ segments:
162
149
  - 0
163
- version: "0"
150
+ hash: 2903044246289365482
164
151
  requirements: []
165
-
166
152
  rubyforge_project: rack-authenticate
167
- rubygems_version: 1.8.6
153
+ rubygems_version: 1.8.25
168
154
  signing_key:
169
155
  specification_version: 3
170
- summary: A rack middleware that authenticates requests either using basic auth or via signed HMAC.
171
- test_files:
156
+ summary: A rack middleware that authenticates requests either using basic auth or
157
+ via signed HMAC.
158
+ test_files:
172
159
  - spec/rack/authenticate/client_spec.rb
173
160
  - spec/rack/authenticate/cors_middleware_spec.rb
174
161
  - spec/rack/authenticate/middleware_spec.rb