omniauth-naranya_id 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/naranya_id/models/user.rb +1 -2
- data/lib/omniauth-naranya_id/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bba9cd1800044b036eacd1adf586dfa413164ea1
|
4
|
+
data.tar.gz: 0e07c1fb74038d77a28dab19b217e71e070f88c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dc5bbac58252483c58c95367922baad50cba4ad0907d19b02209ed3a915e04d75ef218562be3a3bd3a14a2f10f4f0566b9f42392a6f57934fd813a4a49ef36a
|
7
|
+
data.tar.gz: 4128a6d336dd506eee57aa230bc0760f3c9e5059cac01ba97dbd8e415f35e564b120f8d2f21a23cbe2c6091bf816efdb0d3aa2458d03a2bc941a119df699d489
|
@@ -91,7 +91,7 @@ module NaranyaId
|
|
91
91
|
end
|
92
92
|
|
93
93
|
def attributes
|
94
|
-
%w(first_name last_name email gender date_of_birth screen_name).inject({}.with_indifferent_access) do |attrs, attr_name|
|
94
|
+
%w(id first_name last_name email gender date_of_birth screen_name).inject({}.with_indifferent_access) do |attrs, attr_name|
|
95
95
|
attrs[attr_name] = instance_variable_get("@#{attr_name}")
|
96
96
|
attrs
|
97
97
|
end
|
@@ -124,7 +124,6 @@ module NaranyaId
|
|
124
124
|
user.instance_variable_set :@id, response_data[:uuid]
|
125
125
|
user.instance_variable_set :@access_token, api_access_token.token
|
126
126
|
user.instance_variable_set :@access_secret, api_access_token.secret
|
127
|
-
|
128
127
|
user
|
129
128
|
else
|
130
129
|
nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-naranya_id
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Quintanilla
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|