nm-gigya 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4fcc3079f011c2bc7f89f096c5cbb4396fd64c07
4
- data.tar.gz: 7d91e181820f5e382fe48acf76eb7bf68e6a3ab9
3
+ metadata.gz: 42b7f7c3f7e30b154af9c374fcfdc27e86c16612
4
+ data.tar.gz: aa30b1c4c851ab791959065efcd30ef96250e09f
5
5
  SHA512:
6
- metadata.gz: ff759dd6c05e0101ba0b68931d2f4c9ced35b54e1362e6d830445c67a418fad72d40ae8eb5ffb92c958b08052e52773a0360219681e33439fcac13eba3138295
7
- data.tar.gz: 74a89c4aba86b37f741094adf3bb1cdfb3bbd6993ccb9f4e35a5b854385a40c7f1b5bc4cc56b36e73357daa1337acfdba445c16d09ec4c0a3990b819b72a9700
6
+ metadata.gz: 2aa9dec810e82b559fafe7b3fe4bde1beeae683474860ce014c738d39ebd30a6b59dbee9b82909773beaf521ae49e3a58563f98467c6ca1ab3b8b4fa3ed70bf3
7
+ data.tar.gz: 6855ba2e5183cb24899834df07c8bdd67fdc47dbd3f8300270358449090801bb2a016372fab96c40a0c8d06289d226ebfe05edc168f2340208765f58ddef34b6
@@ -104,7 +104,7 @@ module Gigya
104
104
  expiration = info["exp"] - info["iat"]
105
105
  end
106
106
  expiration_time = Time.now + expiration
107
- result = Gigya::Connection.shared_connection.api_get("accounts", "getJWT", {:UID => gigya_user_identifier, :fields => fields.join(","), :expiration => expiration})
107
+ result = Gigya::Connection.shared_connection.api_get("accounts", "getJWT", {:targetUID => gigya_user_identifier, :fields => fields.join(","), :expiration => expiration})
108
108
  token = result["id_token"]
109
109
 
110
110
  raise "Unable to refresh token" if token.blank?
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.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Bartlett