authlogic-oauth 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +4 -0
- data/lib/authlogic_oauth/session.rb +2 -1
- data/lib/authlogic_oauth/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
== 1.0.7 release 2009-7-20
|
2
|
+
|
3
|
+
* Fixing a OAuth unauthorized error when updating a user object with new oauth token/secret via the 'Register with OAuth' helper.
|
4
|
+
|
1
5
|
== 1.0.6 released 2009-6-29
|
2
6
|
|
3
7
|
* Any attributes set on the User model before saving, will now be maintained after the user
|
@@ -49,7 +49,8 @@ module AuthlogicOauth
|
|
49
49
|
private
|
50
50
|
|
51
51
|
def authenticating_with_oauth?
|
52
|
-
|
52
|
+
# Test for attempted_record with oauth_response to avoid issues with updating a user with new oauth token/secret
|
53
|
+
(controller.params && !controller.params[:login_with_oauth].blank?) || (self.attempted_record.nil? && oauth_response)
|
53
54
|
end
|
54
55
|
|
55
56
|
def authenticate_with_oauth
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authlogic-oauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Allison
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-07-20 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|