openid_connect 0.0.23 → 0.0.24

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- openid_connect (0.0.22)
4
+ openid_connect (0.0.23)
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.23
1
+ 0.0.24
@@ -37,6 +37,7 @@ module OpenIDConnect
37
37
  end
38
38
 
39
39
  def as_json(options = {})
40
+ options ||= {} # options can be nil when to_json is called without options
40
41
  validate! unless options[:skip_validation]
41
42
  all_attributes.inject({}) do |hash, _attr_|
42
43
  hash.merge! _attr_ => self.send(_attr_)
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.23
5
+ version: 0.0.24
6
6
  platform: ruby
7
7
  authors:
8
8
  - nov matake