exvo-auth 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README +6 -2
- data/VERSION +1 -1
- data/exvo-auth.gemspec +2 -2
- data/lib/exvo_auth/controllers/rails.rb +1 -1
- metadata +3 -3
data/README
CHANGED
@@ -34,7 +34,11 @@ callback routes but you can also route both callbacks to the same controller met
|
|
34
34
|
like shown above.
|
35
35
|
|
36
36
|
|
37
|
-
4.
|
37
|
+
4. Include controller helpers into your application controller.
|
38
|
+
|
39
|
+
include ExvoAuth::Controllers::Rails (or Merb)
|
40
|
+
|
41
|
+
5. Implement callback(s).
|
38
42
|
|
39
43
|
Sample implementation in SessionsController:
|
40
44
|
|
@@ -45,4 +49,4 @@ Sample implementation in SessionsController:
|
|
45
49
|
In short: you get params[:auth]. Do what you want to do with it: store the data, create session, etc.
|
46
50
|
|
47
51
|
|
48
|
-
|
52
|
+
6. Read the source, there are few features not mentioned in this README.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.4
|
data/exvo-auth.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{exvo-auth}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Jacek Becela"]
|
12
|
-
s.date = %q{2010-07-
|
12
|
+
s.date = %q{2010-07-07}
|
13
13
|
s.description = %q{Sign in with Exvo account}
|
14
14
|
s.email = %q{jacek.becela@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module ExvoAuth::Controllers::Rails
|
2
2
|
def self.included(base)
|
3
3
|
base.send :include, ExvoAuth::Controllers::Base
|
4
|
-
|
4
|
+
base.send :include, InstanceMethods
|
5
5
|
base.helper_method :current_user, :signed_in?, :sign_in_path, :sign_up_path
|
6
6
|
end
|
7
7
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 4
|
9
|
+
version: 0.3.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jacek Becela
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-07-
|
17
|
+
date: 2010-07-07 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|