openid_connect 0.0.21 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- openid_connect (0.0.20)
4
+ openid_connect (0.0.21)
5
5
  activemodel (>= 3)
6
6
  attr_required (>= 0.0.3)
7
7
  json (>= 1.4.3)
@@ -25,7 +25,6 @@ GEM
25
25
  addressable (2.2.6)
26
26
  attr_required (0.0.3)
27
27
  bcrypt-ruby (3.0.0)
28
- bcrypt-ruby (3.0.0-java)
29
28
  bouncy-castle-java (1.5.0146.1)
30
29
  builder (3.0.0)
31
30
  crack (0.1.8)
@@ -35,7 +34,6 @@ GEM
35
34
  jruby-openssl (0.7.4)
36
35
  bouncy-castle-java
37
36
  json (1.5.4)
38
- json (1.5.4-java)
39
37
  jwt (0.1.3)
40
38
  json (>= 1.2.4)
41
39
  mail (2.3.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.21
1
+ 0.0.22
@@ -11,10 +11,7 @@ module OpenIDConnect
11
11
  def authorization_uri(params = {})
12
12
  params[:response_type] ||= :token
13
13
  params[:scope] = setup_required_scope params[:scope]
14
- Rack::OAuth2::Util.redirect_uri absolute_uri_for(authorization_endpoint), :query, params.merge(
15
- :client_id => self.identifier,
16
- :redirect_uri => self.redirect_uri
17
- )
14
+ super
18
15
  end
19
16
 
20
17
  def check_session_uri
@@ -28,9 +25,9 @@ module OpenIDConnect
28
25
  private
29
26
 
30
27
  def setup_required_scope(scopes)
31
- _scopes_ = Array(scopes).join(' ').split(' ')
28
+ _scopes_ = Array(scopes).collect(&:to_s).join(' ').split(' ')
32
29
  _scopes_ << 'openid' unless _scopes_.include?('openid')
33
- _scopes_.join(' ')
30
+ _scopes_
34
31
  end
35
32
 
36
33
  def handle_success_response(response)
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.add_runtime_dependency "validate_email"
19
19
  s.add_runtime_dependency "jwt", ">= 0.1.3"
20
20
  s.add_runtime_dependency "swd", ">= 0.0.6"
21
- s.add_runtime_dependency "rack-oauth2", ">= 0.9.4"
21
+ s.add_runtime_dependency "rack-oauth2", ">= 0.9.5"
22
22
  s.add_development_dependency "rake", ">= 0.8"
23
23
  s.add_development_dependency "rcov", ">= 0.9"
24
24
  s.add_development_dependency "rspec", ">= 2"
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openid_connect
3
3
  version: !ruby/object:Gem::Version
4
- hash: 53
5
4
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 21
10
- version: 0.0.21
5
+ version: 0.0.22
11
6
  platform: ruby
12
7
  authors:
13
8
  - nov matake
@@ -15,7 +10,7 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2011-09-10 00:00:00 Z
13
+ date: 2011-09-11 00:00:00 Z
19
14
  dependencies:
20
15
  - !ruby/object:Gem::Dependency
21
16
  name: json
@@ -25,11 +20,6 @@ dependencies:
25
20
  requirements:
26
21
  - - ">="
27
22
  - !ruby/object:Gem::Version
28
- hash: 1
29
- segments:
30
- - 1
31
- - 4
32
- - 3
33
23
  version: 1.4.3
34
24
  type: :runtime
35
25
  version_requirements: *id001
@@ -41,9 +31,6 @@ dependencies:
41
31
  requirements:
42
32
  - - ">="
43
33
  - !ruby/object:Gem::Version
44
- hash: 3
45
- segments:
46
- - 0
47
34
  version: "0"
48
35
  type: :runtime
49
36
  version_requirements: *id002
@@ -55,11 +42,6 @@ dependencies:
55
42
  requirements:
56
43
  - - ">="
57
44
  - !ruby/object:Gem::Version
58
- hash: 25
59
- segments:
60
- - 0
61
- - 0
62
- - 3
63
45
  version: 0.0.3
64
46
  type: :runtime
65
47
  version_requirements: *id003
@@ -71,9 +53,6 @@ dependencies:
71
53
  requirements:
72
54
  - - ">="
73
55
  - !ruby/object:Gem::Version
74
- hash: 5
75
- segments:
76
- - 3
77
56
  version: "3"
78
57
  type: :runtime
79
58
  version_requirements: *id004
@@ -85,9 +64,6 @@ dependencies:
85
64
  requirements:
86
65
  - - ">="
87
66
  - !ruby/object:Gem::Version
88
- hash: 3
89
- segments:
90
- - 0
91
67
  version: "0"
92
68
  type: :runtime
93
69
  version_requirements: *id005
@@ -99,9 +75,6 @@ dependencies:
99
75
  requirements:
100
76
  - - ">="
101
77
  - !ruby/object:Gem::Version
102
- hash: 3
103
- segments:
104
- - 0
105
78
  version: "0"
106
79
  type: :runtime
107
80
  version_requirements: *id006
@@ -113,11 +86,6 @@ dependencies:
113
86
  requirements:
114
87
  - - ">="
115
88
  - !ruby/object:Gem::Version
116
- hash: 29
117
- segments:
118
- - 0
119
- - 1
120
- - 3
121
89
  version: 0.1.3
122
90
  type: :runtime
123
91
  version_requirements: *id007
@@ -129,11 +97,6 @@ dependencies:
129
97
  requirements:
130
98
  - - ">="
131
99
  - !ruby/object:Gem::Version
132
- hash: 19
133
- segments:
134
- - 0
135
- - 0
136
- - 6
137
100
  version: 0.0.6
138
101
  type: :runtime
139
102
  version_requirements: *id008
@@ -145,12 +108,7 @@ dependencies:
145
108
  requirements:
146
109
  - - ">="
147
110
  - !ruby/object:Gem::Version
148
- hash: 51
149
- segments:
150
- - 0
151
- - 9
152
- - 4
153
- version: 0.9.4
111
+ version: 0.9.5
154
112
  type: :runtime
155
113
  version_requirements: *id009
156
114
  - !ruby/object:Gem::Dependency
@@ -161,10 +119,6 @@ dependencies:
161
119
  requirements:
162
120
  - - ">="
163
121
  - !ruby/object:Gem::Version
164
- hash: 27
165
- segments:
166
- - 0
167
- - 8
168
122
  version: "0.8"
169
123
  type: :development
170
124
  version_requirements: *id010
@@ -176,10 +130,6 @@ dependencies:
176
130
  requirements:
177
131
  - - ">="
178
132
  - !ruby/object:Gem::Version
179
- hash: 25
180
- segments:
181
- - 0
182
- - 9
183
133
  version: "0.9"
184
134
  type: :development
185
135
  version_requirements: *id011
@@ -191,9 +141,6 @@ dependencies:
191
141
  requirements:
192
142
  - - ">="
193
143
  - !ruby/object:Gem::Version
194
- hash: 7
195
- segments:
196
- - 2
197
144
  version: "2"
198
145
  type: :development
199
146
  version_requirements: *id012
@@ -205,11 +152,6 @@ dependencies:
205
152
  requirements:
206
153
  - - ">="
207
154
  - !ruby/object:Gem::Version
208
- hash: 11
209
- segments:
210
- - 1
211
- - 6
212
- - 2
213
155
  version: 1.6.2
214
156
  type: :development
215
157
  version_requirements: *id013
@@ -307,23 +249,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
307
249
  requirements:
308
250
  - - ">="
309
251
  - !ruby/object:Gem::Version
310
- hash: 3
311
- segments:
312
- - 0
313
252
  version: "0"
314
253
  required_rubygems_version: !ruby/object:Gem::Requirement
315
254
  none: false
316
255
  requirements:
317
256
  - - ">="
318
257
  - !ruby/object:Gem::Version
319
- hash: 3
320
- segments:
321
- - 0
322
258
  version: "0"
323
259
  requirements: []
324
260
 
325
261
  rubyforge_project:
326
- rubygems_version: 1.8.5
262
+ rubygems_version: 1.8.10
327
263
  signing_key:
328
264
  specification_version: 3
329
265
  summary: OpenID Connect Server & Client Library