json-jwt 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of json-jwt might be problematic. Click here for more details.

Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/json/jwt.rb +2 -2
  3. metadata +17 -52
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.8
@@ -55,8 +55,8 @@ module JSON
55
55
  UrlSafeBase64.decode64 segment.to_s
56
56
  end
57
57
  signature_base_string = jwt_string.split('.')[0, 2].join('.')
58
- jwt = new JSON.parse(claims, :symbolize_names => true)
59
- jwt.header = JSON.parse(header, :symbolize_names => true)
58
+ jwt = new JSON.parse(claims, :symbolize_names => true, :symbolize_keys => true)
59
+ jwt.header = JSON.parse(header, :symbolize_names => true, :symbolize_keys => true)
60
60
  jwt.verify signature_base_string, signature, key_or_secret
61
61
  jwt
62
62
  when 3 # JWE
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json-jwt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-10 00:00:00.000000000 Z
12
+ date: 2012-08-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &70363066088640 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,15 +21,10 @@ dependencies:
21
21
  version: 1.4.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: 1.4.3
24
+ version_requirements: *70363066088640
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: url_safe_base64
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &70363066087880 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ! '>='
@@ -37,15 +32,10 @@ dependencies:
37
32
  version: '0'
38
33
  type: :runtime
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
35
+ version_requirements: *70363066087880
46
36
  - !ruby/object:Gem::Dependency
47
37
  name: activesupport
48
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &70363066086680 !ruby/object:Gem::Requirement
49
39
  none: false
50
40
  requirements:
51
41
  - - ! '>='
@@ -53,15 +43,10 @@ dependencies:
53
43
  version: '2.3'
54
44
  type: :runtime
55
45
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '2.3'
46
+ version_requirements: *70363066086680
62
47
  - !ruby/object:Gem::Dependency
63
48
  name: i18n
64
- requirement: !ruby/object:Gem::Requirement
49
+ requirement: &70363066084260 !ruby/object:Gem::Requirement
65
50
  none: false
66
51
  requirements:
67
52
  - - ! '>='
@@ -69,15 +54,10 @@ dependencies:
69
54
  version: '0'
70
55
  type: :runtime
71
56
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
57
+ version_requirements: *70363066084260
78
58
  - !ruby/object:Gem::Dependency
79
59
  name: rake
80
- requirement: !ruby/object:Gem::Requirement
60
+ requirement: &70363066083300 !ruby/object:Gem::Requirement
81
61
  none: false
82
62
  requirements:
83
63
  - - ! '>='
@@ -85,15 +65,10 @@ dependencies:
85
65
  version: '0.8'
86
66
  type: :development
87
67
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0.8'
68
+ version_requirements: *70363066083300
94
69
  - !ruby/object:Gem::Dependency
95
70
  name: cover_me
96
- requirement: !ruby/object:Gem::Requirement
71
+ requirement: &70363066082200 !ruby/object:Gem::Requirement
97
72
  none: false
98
73
  requirements:
99
74
  - - ! '>='
@@ -101,15 +76,10 @@ dependencies:
101
76
  version: 1.2.0
102
77
  type: :development
103
78
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: 1.2.0
79
+ version_requirements: *70363066082200
110
80
  - !ruby/object:Gem::Dependency
111
81
  name: rspec
112
- requirement: !ruby/object:Gem::Requirement
82
+ requirement: &70363066081660 !ruby/object:Gem::Requirement
113
83
  none: false
114
84
  requirements:
115
85
  - - ! '>='
@@ -117,12 +87,7 @@ dependencies:
117
87
  version: '2'
118
88
  type: :development
119
89
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '2'
90
+ version_requirements: *70363066081660
126
91
  description: JSON Web Token and its family (JSON Web Signature, JSON Web Encryption
127
92
  and JSON Web Key) in Ruby
128
93
  email:
@@ -180,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
145
  version: '0'
181
146
  requirements: []
182
147
  rubyforge_project:
183
- rubygems_version: 1.8.24
148
+ rubygems_version: 1.8.17
184
149
  signing_key:
185
150
  specification_version: 3
186
151
  summary: JSON Web Token and its family (JSON Web Signature, JSON Web Encryption and