openid_connect 0.0.25 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +6 -5
- data/VERSION +1 -1
- data/lib/openid_connect/response_object.rb +7 -1
- data/openid_connect.gemspec +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
openid_connect (0.0.
|
4
|
+
openid_connect (0.0.26)
|
5
5
|
activemodel (>= 3)
|
6
6
|
attr_required (>= 0.0.3)
|
7
7
|
json (>= 1.4.3)
|
8
8
|
jwt (>= 0.1.3)
|
9
|
-
rack-oauth2 (>= 0.
|
9
|
+
rack-oauth2 (>= 0.10.0)
|
10
10
|
swd (>= 0.0.6)
|
11
11
|
tzinfo
|
12
12
|
validate_email
|
@@ -24,7 +24,8 @@ GEM
|
|
24
24
|
multi_json (~> 1.0)
|
25
25
|
addressable (2.2.6)
|
26
26
|
attr_required (0.0.3)
|
27
|
-
bcrypt-ruby (3.0.
|
27
|
+
bcrypt-ruby (3.0.1)
|
28
|
+
bcrypt-ruby (3.0.1-java)
|
28
29
|
bouncy-castle-java (1.5.0146.1)
|
29
30
|
builder (3.0.0)
|
30
31
|
crack (0.1.8)
|
@@ -33,7 +34,7 @@ GEM
|
|
33
34
|
i18n (0.6.0)
|
34
35
|
jruby-openssl (0.7.4)
|
35
36
|
bouncy-castle-java
|
36
|
-
json (1.
|
37
|
+
json (1.6.0)
|
37
38
|
jwt (0.1.3)
|
38
39
|
json (>= 1.2.4)
|
39
40
|
mail (2.3.0)
|
@@ -44,7 +45,7 @@ GEM
|
|
44
45
|
multi_json (1.0.3)
|
45
46
|
polyglot (0.3.2)
|
46
47
|
rack (1.3.2)
|
47
|
-
rack-oauth2 (0.
|
48
|
+
rack-oauth2 (0.10.0)
|
48
49
|
activesupport (>= 2.3)
|
49
50
|
attr_required (>= 0.0.3)
|
50
51
|
httpclient (>= 2.2.0.2)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.26
|
@@ -40,7 +40,13 @@ module OpenIDConnect
|
|
40
40
|
options ||= {} # options can be nil when to_json is called without options
|
41
41
|
validate! unless options[:skip_validation]
|
42
42
|
all_attributes.inject({}) do |hash, _attr_|
|
43
|
-
|
43
|
+
value = self.send(_attr_)
|
44
|
+
hash.merge! _attr_ => case value
|
45
|
+
when ResponseObject
|
46
|
+
value.as_json
|
47
|
+
else
|
48
|
+
value
|
49
|
+
end
|
44
50
|
end.delete_if do |key, value|
|
45
51
|
value.nil?
|
46
52
|
end
|
data/openid_connect.gemspec
CHANGED
@@ -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.
|
21
|
+
s.add_runtime_dependency "rack-oauth2", ">= 0.10.0"
|
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
@@ -2,7 +2,7 @@
|
|
2
2
|
name: openid_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.26
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- nov matake
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-09-
|
13
|
+
date: 2011-09-13 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|
@@ -108,7 +108,7 @@ dependencies:
|
|
108
108
|
requirements:
|
109
109
|
- - ">="
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: 0.
|
111
|
+
version: 0.10.0
|
112
112
|
type: :runtime
|
113
113
|
version_requirements: *id009
|
114
114
|
- !ruby/object:Gem::Dependency
|