nm-gigya 0.1.6 → 0.1.7

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gigya/user.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42b7f7c3f7e30b154af9c374fcfdc27e86c16612
4
- data.tar.gz: aa30b1c4c851ab791959065efcd30ef96250e09f
3
+ metadata.gz: 4d320977bc2d1ee0a3c10d0e76b1449776926e2f
4
+ data.tar.gz: 494bc3875355d0d808c9c2f5c9c151f6945cd6a2
5
5
  SHA512:
6
- metadata.gz: 2aa9dec810e82b559fafe7b3fe4bde1beeae683474860ce014c738d39ebd30a6b59dbee9b82909773beaf521ae49e3a58563f98467c6ca1ab3b8b4fa3ed70bf3
7
- data.tar.gz: 6855ba2e5183cb24899834df07c8bdd67fdc47dbd3f8300270358449090801bb2a016372fab96c40a0c8d06289d226ebfe05edc168f2340208765f58ddef34b6
6
+ metadata.gz: 20143c3283ddd18af3573f4cff055cff47efe522be884719b79907b3ffe1b3bb005c7c0c26d21496bedc6097afed94da5fdc5f6cd195da0bd939dd8446f29595
7
+ data.tar.gz: 4eab234f10158d14fda69a2fd9afdf5d815afec68198cf11bfeac47236658d0d21ccb9a43ce7c0f29595b72aa188f12d234c0fd17627917ba888744f4e25d80a
data/lib/gigya/user.rb CHANGED
@@ -3,7 +3,7 @@ module Gigya
3
3
  attr_accessor :gigya_details
4
4
  attr_accessor :gigya_connection
5
5
 
6
- @@extra_profile_fields = []
6
+ @@extra_profile_fields = ["locale"]
7
7
  def self.extra_profile_fields=(val)
8
8
  @@extra_profile_fields = val
9
9
  end
@@ -103,7 +103,7 @@ module Gigya
103
103
  return self.new(cache_info, false)
104
104
  else
105
105
  connection = opts[:connection] || Gigya::Connection.shared_connection
106
- response = connection.api_get("accounts", "getAccountInfo", {UID: uid})
106
+ response = connection.api_get("accounts", "getAccountInfo", {UID: uid, include:"profile,data,subscriptions,userInfo,preferences", extraProfileFields:@@extra_profile_fields.join(",")})
107
107
  obj = self.new(response)
108
108
  obj.gigya_connection = connection
109
109
  return obj
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.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Bartlett