robdimarco_authlogic_oauth2 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -61,7 +61,7 @@ module AuthlogicOauth2
|
|
61
61
|
# yield(result) if block_given?
|
62
62
|
if block_given?
|
63
63
|
unless result
|
64
|
-
if oauth2_token && (record = self.class.
|
64
|
+
if oauth2_token && (record = self.class.first(:conditions=>["#{oauth2_token_field} = ?", oauth2_token]))
|
65
65
|
session_class.create(record)
|
66
66
|
result = true
|
67
67
|
end
|
@@ -41,11 +41,11 @@ module AuthlogicOauth2
|
|
41
41
|
|
42
42
|
MAJOR = 1
|
43
43
|
MINOR = 1
|
44
|
-
TINY =
|
44
|
+
TINY = 3
|
45
45
|
|
46
46
|
# The current version as a Version instance
|
47
47
|
CURRENT = new(MAJOR, MINOR, TINY)
|
48
48
|
# The current version as a String
|
49
49
|
STRING = CURRENT.to_s
|
50
50
|
end
|
51
|
-
end
|
51
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: robdimarco_authlogic_oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 3
|
10
|
+
version: 1.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andrew Hite
|