q_auth_ruby_client 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/q_auth_ruby_client/user.rb +2 -2
- data/lib/q_auth_ruby_client/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: 528fdbe2e31cf31145103a0c013ec65cfd1ffe32
|
4
|
+
data.tar.gz: 0e0b966d966c8e20367564b2031f69005f38ec5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32422d77652264cd2ab03d2d1f84face858eba271030c2ac796d5fcb4a7ecfeb1a0e8ce0db844b741f087a80e1b0600c97dc67867f85dfacfa35fab86226c00a
|
7
|
+
data.tar.gz: 5e84455a99652b4bc346091bb9f9c7da37373d571b841b6cf151493e05f1916d3abed8390d95003f801847713d14dd7bbee89a10558bd2e86bad55e989169ada
|
@@ -33,8 +33,8 @@ class QAuthRubyClient::User < ActiveRecord::Base
|
|
33
33
|
|
34
34
|
if user
|
35
35
|
# Corner Case : If there are (by chance) multiple rows, we need to remove them.
|
36
|
-
users.delete(user)
|
37
|
-
users.
|
36
|
+
#users.delete(user)
|
37
|
+
#users.destroy if users.count > 0
|
38
38
|
return user
|
39
39
|
else
|
40
40
|
# Create a new user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: q_auth_ruby_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krishnaprasad Varma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|