authpwn_rails 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +3 -1
- data/VERSION +1 -1
- data/authpwn_rails.gemspec +2 -2
- data/lib/authpwn_rails/session.rb +2 -2
- metadata +4 -4
data/README.rdoc
CHANGED
|
@@ -11,8 +11,10 @@ Scaffold user accounts, session controller views, and Facebook extensions.
|
|
|
11
11
|
|
|
12
12
|
Wire authentication into your ApplicationController.
|
|
13
13
|
authenticates_using_session
|
|
14
|
-
|
|
14
|
+
authenticates_using_facebook
|
|
15
15
|
|
|
16
|
+
Point the default route to the sessions controller in config/routes.rb
|
|
17
|
+
root :to => "session#show"
|
|
16
18
|
|
|
17
19
|
Note: the code inside the models and controllers is tucked away in the plug-in.
|
|
18
20
|
The scaffold models and controllers are there as extension points. You will be
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.3
|
data/authpwn_rails.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{authpwn_rails}
|
|
8
|
-
s.version = "0.5.
|
|
8
|
+
s.version = "0.5.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Victor Costan"]
|
|
12
|
-
s.date = %q{2010-10-
|
|
12
|
+
s.date = %q{2010-10-16}
|
|
13
13
|
s.description = %q{Works with Facebook.}
|
|
14
14
|
s.email = %q{victor@costan.us}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -70,10 +70,10 @@ module SessionControllerInstanceMethods
|
|
|
70
70
|
@user = current_user || User.new
|
|
71
71
|
if @user.new_record?
|
|
72
72
|
welcome
|
|
73
|
-
render :action => :welcome
|
|
73
|
+
render :action => :welcome unless performed?
|
|
74
74
|
else
|
|
75
75
|
home
|
|
76
|
-
render :action => :home
|
|
76
|
+
render :action => :home unless performed?
|
|
77
77
|
end
|
|
78
78
|
end
|
|
79
79
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: authpwn_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
version: 0.5.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.5.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Victor Costan
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-10-
|
|
18
|
+
date: 2010-10-16 00:00:00 -04:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|