nm-gigya 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/gigya/user.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0547a27ef1dca0470d42912f8e9292dd4a5d3e11
|
4
|
+
data.tar.gz: 81e8d1d1216a17ef991ae24862c861dce56d53fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56a6181bffe5a21a7bcd713fabfb03d04ae15298182e99629bcb5f9a37dbba17d70d5a6919985b45d487db02784f101728de2ba0a5c2bcc33783b76acc3fb774
|
7
|
+
data.tar.gz: 632d72a10c0e03eaec22e59fba00804ca498a29e55cc6e50abd434ad38b17278e57edafe80b7f0b020ad5ef26a852d9332a828b78160175668bb883c98124e04
|
data/lib/gigya/user.rb
CHANGED
@@ -89,7 +89,7 @@ module Gigya
|
|
89
89
|
email = email.gsub('"', '') # get rid of quotes
|
90
90
|
opts = {} if opts.nil?
|
91
91
|
conn = opts[:connection] || Gigya::Connection.shared_connection
|
92
|
-
resp = conn.api_get("accounts", "search", {:query => "SELECT
|
92
|
+
resp = conn.api_get("accounts", "search", {:query => "SELECT UID FROM accounts WHERE profile.email = \"#{email}\""})
|
93
93
|
uid = resp["results"][0]["UID"] rescue nil
|
94
94
|
return nil if uid.blank?
|
95
95
|
return self.find(uid, opts)
|
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.
|
4
|
+
version: 0.1.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Bartlett
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-02-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
version: '0'
|
72
72
|
requirements: []
|
73
73
|
rubyforge_project:
|
74
|
-
rubygems_version: 2.
|
74
|
+
rubygems_version: 2.5.2.1
|
75
75
|
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: Gigya API Utility Package
|