nm-gigya 0.1.13 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gigya/user.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce7e91385a56dec2227476c0f448a1e416cd9e0635735df86235a8b870a564e0
4
- data.tar.gz: f8b0f6242e12b604448bccd4054170e2c3c19efa32c9e7779eb5e6f15e90ab47
3
+ metadata.gz: 43380c420956b9bd90dd8feb1698d44b7bfca5b3e30309a96a210b24ace36455
4
+ data.tar.gz: 818353ebc91b37980f493634c63f65fa778ba372a008614fde828fd3641b99d9
5
5
  SHA512:
6
- metadata.gz: d393bd6deaeb2e6e69ca7f7858903980a3dbde16c4ef7d00e516aebb5b07a8c35155bb7a898bd4d1cb68d16ff6b74709bbb4f262773ec0d3bf342e0cb9bcf45b
7
- data.tar.gz: 4a45b53f6aad4d2badd9e53bdceb32da90383416da99b1ae84de8dd52c0db94b5a4e3d9bd9b73435b1f6f2cc17d0036f56f20d0c9b29a61e56392075a3b17c1d
6
+ metadata.gz: bbf64129e0d3a9e09a8f708a50004cf2d49fb2e986b6b411abdb1c3433e74f8e17a51d5fa0696d9d6ca4d776d0d6e8f1b42c330ad37a3ed2344c64eeca7321e5
7
+ data.tar.gz: 16d23ad50b42f336c23a46edde2505d2cf91bc0cc9ac5c9ff39d94f186ea623eb78f8334800a4dc8e822a72e8dd4b3f4284076e3563a9cc1fee7d9bf8e12fa02
data/lib/gigya/user.rb CHANGED
@@ -136,7 +136,7 @@ module Gigya
136
136
  end
137
137
 
138
138
  def birthday
139
- profile = gigya_details["profile"]
139
+ profile = gigya_details["profile"] rescue nil
140
140
  Date.new(profile["birthYear"], profile["birthMonth"], profile["birthDay"]) rescue nil
141
141
  end
142
142
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nm-gigya
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Bartlett