openid_connect 0.3.4 → 0.3.5

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.3.4)
4
+ openid_connect (0.3.5)
5
5
  activemodel (>= 3)
6
6
  attr_required (>= 0.0.5)
7
7
  json (>= 1.4.3)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.4
1
+ 0.3.5
@@ -49,7 +49,7 @@ module OpenIDConnect
49
49
  end
50
50
  expected_user_id = UrlSafeBase64.encode64 OpenSSL::Digest::SHA256.digest(user_id_base_string)
51
51
  raise InvalidToken.new('Invalid user_id') unless jwt[:user_id] == expected_user_id
52
- jwt.verify public_key
52
+ jwt = JSON::JWT.decode jwt_string, public_key
53
53
  new jwt
54
54
  end
55
55
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openid_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-17 00:00:00.000000000 Z
12
+ date: 2012-10-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
@@ -325,12 +325,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
325
325
  - - ! '>='
326
326
  - !ruby/object:Gem::Version
327
327
  version: '0'
328
+ segments:
329
+ - 0
330
+ hash: -3677536846198614585
328
331
  required_rubygems_version: !ruby/object:Gem::Requirement
329
332
  none: false
330
333
  requirements:
331
334
  - - ! '>='
332
335
  - !ruby/object:Gem::Version
333
336
  version: '0'
337
+ segments:
338
+ - 0
339
+ hash: -3677536846198614585
334
340
  requirements: []
335
341
  rubyforge_project:
336
342
  rubygems_version: 1.8.24