devise_oauth2_authenticatable 0.0.1 → 0.1.0
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 +9 -0
- data/Rakefile +3 -5
- data/VERSION +1 -0
- data/devise_oauth2_authenticatable.gemspec +5 -5
- metadata +6 -6
- data/lib/devise_oauth2_authenticatable/version.rb +0 -5
data/README.rdoc
CHANGED
@@ -61,7 +61,16 @@ The api key and secret key are no the same a Facebook Connect/the old API.
|
|
61
61
|
The client id should be your application id and the client_key, should be your API key (not secret key)
|
62
62
|
|
63
63
|
|
64
|
+
== TODO
|
64
65
|
|
66
|
+
Write tests :
|
67
|
+
Currently no tests have been written. My bad.
|
68
|
+
|
69
|
+
Add Javascript / token based auth :
|
70
|
+
Facebook graph offes a complete authorization solution using javascript and a returned authentication token. Adding optional support for this would complete the Facebook Graph authentication interface.
|
71
|
+
|
72
|
+
Generalize for OAuth2:
|
73
|
+
Add support for other OAuth2 services. Wrote this specifically for facebook graph, athought configuration arugments should be generalized to support other interfaces.
|
65
74
|
|
66
75
|
|
67
76
|
|
data/Rakefile
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'rake'
|
3
|
-
require File.join(File.dirname(__FILE__), 'lib', 'devise_oauth2_authenticatable', 'version')
|
4
3
|
|
5
4
|
begin
|
6
5
|
require 'jeweler'
|
7
6
|
Jeweler::Tasks.new do |gem|
|
8
7
|
gem.name = "devise_oauth2_authenticatable"
|
9
|
-
gem.
|
10
|
-
gem.
|
11
|
-
gem.description = %{Implements OAuth2 for devises, specifically integrating with facebook Graph}
|
8
|
+
gem.summary = %Q{Implements OAuth2 for Devise }
|
9
|
+
gem.description = %Q{Implements OAuth2 for Devise, specifically integrating with facebook Graph}
|
12
10
|
gem.email = "benjamin@bryantmarkowsky.com"
|
13
11
|
gem.homepage = "http://github.com/bhbryant/devise_oauth2_authenticatable"
|
14
12
|
gem.authors = ["bhbryant"]
|
15
13
|
gem.add_development_dependency "rspec", ">= 1.2.9"
|
16
14
|
|
17
|
-
|
15
|
+
gem.add_dependency'devise', '>= 1.0.0'
|
18
16
|
gem.add_dependency "oauth2"
|
19
17
|
gem.add_dependency "json"
|
20
18
|
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.0
|
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{devise_oauth2_authenticatable}
|
8
|
-
s.version = "0.0
|
8
|
+
s.version = "0.1.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["bhbryant"]
|
12
|
-
s.date = %q{2010-
|
13
|
-
s.description = %q{Implements OAuth2 for
|
12
|
+
s.date = %q{2010-06-13}
|
13
|
+
s.description = %q{Implements OAuth2 for Devise, specifically integrating with facebook Graph}
|
14
14
|
s.email = %q{benjamin@bryantmarkowsky.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
@@ -22,6 +22,7 @@ Gem::Specification.new do |s|
|
|
22
22
|
"LICENSE",
|
23
23
|
"README.rdoc",
|
24
24
|
"Rakefile",
|
25
|
+
"VERSION",
|
25
26
|
"devise_oauth2_authenticatable.gemspec",
|
26
27
|
"generators/devise_oauth2_authenticatable/devise_oauth2_authenticatable_generator.rb",
|
27
28
|
"generators/devise_oauth2_authenticatable/templates/oauth2_config.yml",
|
@@ -31,7 +32,6 @@ Gem::Specification.new do |s|
|
|
31
32
|
"lib/devise_oauth2_authenticatable/routes.rb",
|
32
33
|
"lib/devise_oauth2_authenticatable/schema.rb",
|
33
34
|
"lib/devise_oauth2_authenticatable/strategy.rb",
|
34
|
-
"lib/devise_oauth2_authenticatable/version.rb",
|
35
35
|
"lib/devise_oauth2_authenticatable/view_helpers.rb",
|
36
36
|
"rails/init.rb",
|
37
37
|
"spec/devise_oauth2_authenticatable_spec.rb",
|
@@ -42,7 +42,7 @@ Gem::Specification.new do |s|
|
|
42
42
|
s.rdoc_options = ["--charset=UTF-8"]
|
43
43
|
s.require_paths = ["lib"]
|
44
44
|
s.rubygems_version = %q{1.3.6}
|
45
|
-
s.summary = %q{
|
45
|
+
s.summary = %q{Implements OAuth2 for Devise}
|
46
46
|
s.test_files = [
|
47
47
|
"spec/devise_oauth2_authenticatable_spec.rb",
|
48
48
|
"spec/spec_helper.rb"
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
- 0
|
8
7
|
- 1
|
9
|
-
|
8
|
+
- 0
|
9
|
+
version: 0.1.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- bhbryant
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-06-13 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -69,7 +69,7 @@ dependencies:
|
|
69
69
|
version: "0"
|
70
70
|
type: :runtime
|
71
71
|
version_requirements: *id004
|
72
|
-
description: Implements OAuth2 for
|
72
|
+
description: Implements OAuth2 for Devise, specifically integrating with facebook Graph
|
73
73
|
email: benjamin@bryantmarkowsky.com
|
74
74
|
executables: []
|
75
75
|
|
@@ -84,6 +84,7 @@ files:
|
|
84
84
|
- LICENSE
|
85
85
|
- README.rdoc
|
86
86
|
- Rakefile
|
87
|
+
- VERSION
|
87
88
|
- devise_oauth2_authenticatable.gemspec
|
88
89
|
- generators/devise_oauth2_authenticatable/devise_oauth2_authenticatable_generator.rb
|
89
90
|
- generators/devise_oauth2_authenticatable/templates/oauth2_config.yml
|
@@ -93,7 +94,6 @@ files:
|
|
93
94
|
- lib/devise_oauth2_authenticatable/routes.rb
|
94
95
|
- lib/devise_oauth2_authenticatable/schema.rb
|
95
96
|
- lib/devise_oauth2_authenticatable/strategy.rb
|
96
|
-
- lib/devise_oauth2_authenticatable/version.rb
|
97
97
|
- lib/devise_oauth2_authenticatable/view_helpers.rb
|
98
98
|
- rails/init.rb
|
99
99
|
- spec/devise_oauth2_authenticatable_spec.rb
|
@@ -128,7 +128,7 @@ rubyforge_project:
|
|
128
128
|
rubygems_version: 1.3.6
|
129
129
|
signing_key:
|
130
130
|
specification_version: 3
|
131
|
-
summary:
|
131
|
+
summary: Implements OAuth2 for Devise
|
132
132
|
test_files:
|
133
133
|
- spec/devise_oauth2_authenticatable_spec.rb
|
134
134
|
- spec/spec_helper.rb
|