oauth-plugin 0.3.14 → 0.4.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +10 -0
- data/README.rdoc +44 -9
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/generators/oauth_consumer/templates/migration.rb +1 -1
- data/generators/oauth_provider/oauth_provider_generator.rb +6 -0
- data/generators/oauth_provider/templates/access_token.rb +2 -2
- data/generators/oauth_provider/templates/client_application.rb +8 -6
- data/generators/oauth_provider/templates/client_applications.yml +6 -6
- data/generators/oauth_provider/templates/clients_controller_spec.rb +130 -193
- data/generators/oauth_provider/templates/controller.rb +12 -0
- data/generators/oauth_provider/templates/controller_spec.rb +762 -291
- data/generators/oauth_provider/templates/controller_spec_helper.rb +49 -63
- data/generators/oauth_provider/templates/migration.rb +6 -5
- data/generators/oauth_provider/templates/oauth2_authorize.html.erb +16 -0
- data/generators/oauth_provider/templates/oauth2_authorize.html.haml +17 -0
- data/generators/oauth_provider/templates/oauth2_token.rb +6 -0
- data/generators/oauth_provider/templates/oauth2_token_spec.rb +29 -0
- data/generators/oauth_provider/templates/oauth2_verifier.rb +28 -0
- data/generators/oauth_provider/templates/oauth2_verifier_spec.rb +54 -0
- data/generators/oauth_provider/templates/oauth_nonce_test.rb +1 -1
- data/generators/oauth_provider/templates/oauth_token.rb +3 -4
- data/generators/oauth_provider/templates/request_token.rb +1 -1
- data/lib/generators/active_record/oauth_consumer_generator.rb +33 -0
- data/lib/generators/active_record/oauth_consumer_templates/consumer_token.rb +5 -0
- data/lib/generators/active_record/oauth_consumer_templates/migration.rb +20 -0
- data/lib/generators/active_record/oauth_provider_generator.rb +39 -0
- data/lib/generators/active_record/oauth_provider_templates/access_token.rb +16 -0
- data/lib/generators/active_record/oauth_provider_templates/client_application.rb +57 -0
- data/lib/generators/active_record/oauth_provider_templates/migration.rb +47 -0
- data/lib/generators/active_record/oauth_provider_templates/oauth2_token.rb +5 -0
- data/lib/generators/active_record/oauth_provider_templates/oauth2_verifier.rb +28 -0
- data/lib/generators/active_record/oauth_provider_templates/oauth_nonce.rb +13 -0
- data/lib/generators/active_record/oauth_provider_templates/oauth_token.rb +30 -0
- data/lib/generators/active_record/oauth_provider_templates/request_token.rb +40 -0
- data/lib/generators/erb/oauth_consumer_generator.rb +14 -0
- data/lib/generators/erb/oauth_consumer_templates/index.html.erb +29 -0
- data/lib/generators/erb/oauth_consumer_templates/show.html.erb +7 -0
- data/lib/generators/erb/oauth_provider_generator.rb +21 -0
- data/lib/generators/erb/oauth_provider_templates/_form.html.erb +17 -0
- data/lib/generators/erb/oauth_provider_templates/authorize.html.erb +14 -0
- data/lib/generators/erb/oauth_provider_templates/authorize_failure.html.erb +1 -0
- data/lib/generators/erb/oauth_provider_templates/authorize_success.html.erb +1 -0
- data/lib/generators/erb/oauth_provider_templates/edit.html.erb +7 -0
- data/lib/generators/erb/oauth_provider_templates/index.html.erb +43 -0
- data/lib/generators/erb/oauth_provider_templates/new.html.erb +5 -0
- data/lib/generators/erb/oauth_provider_templates/oauth2_authorize.html.erb +16 -0
- data/lib/generators/erb/oauth_provider_templates/show.html.erb +27 -0
- data/lib/generators/haml/oauth_consumer_generator.rb +21 -0
- data/lib/generators/haml/oauth_consumer_templates/index.html.haml +18 -0
- data/lib/generators/haml/oauth_consumer_templates/show.html.haml +8 -0
- data/lib/generators/haml/oauth_provider_generator.rb +28 -0
- data/lib/generators/haml/oauth_provider_templates/_form.html.haml +21 -0
- data/lib/generators/haml/oauth_provider_templates/authorize.html.haml +16 -0
- data/lib/generators/haml/oauth_provider_templates/authorize_failure.html.haml +1 -0
- data/lib/generators/haml/oauth_provider_templates/authorize_success.html.haml +1 -0
- data/lib/generators/haml/oauth_provider_templates/edit.html.haml +4 -0
- data/lib/generators/haml/oauth_provider_templates/index.html.haml +39 -0
- data/lib/generators/haml/oauth_provider_templates/new.html.haml +5 -0
- data/lib/generators/haml/oauth_provider_templates/oauth2_authorize.html.haml +17 -0
- data/lib/generators/haml/oauth_provider_templates/show.html.haml +30 -0
- data/lib/generators/mongoid/oauth_consumer_generator.rb +15 -0
- data/lib/generators/mongoid/oauth_consumer_templates/consumer_token.rb +14 -0
- data/lib/generators/mongoid/oauth_provider_generator.rb +21 -0
- data/lib/generators/mongoid/oauth_provider_templates/access_token.rb +16 -0
- data/lib/generators/mongoid/oauth_provider_templates/client_application.rb +71 -0
- data/lib/generators/mongoid/oauth_provider_templates/oauth2_token.rb +5 -0
- data/lib/generators/mongoid/oauth_provider_templates/oauth2_verifier.rb +25 -0
- data/lib/generators/mongoid/oauth_provider_templates/oauth_nonce.rb +24 -0
- data/lib/generators/mongoid/oauth_provider_templates/oauth_token.rb +44 -0
- data/lib/generators/mongoid/oauth_provider_templates/request_token.rb +36 -0
- data/lib/generators/oauth_consumer/USAGE +8 -0
- data/lib/generators/oauth_consumer/oauth_consumer_generator.rb +27 -0
- data/lib/generators/oauth_consumer/templates/controller.rb +19 -0
- data/lib/generators/oauth_consumer/templates/oauth_config.rb +46 -0
- data/lib/generators/oauth_inflections.rb +6 -0
- data/lib/generators/oauth_plugin.rb +0 -0
- data/lib/generators/oauth_provider/USAGE +18 -0
- data/lib/generators/oauth_provider/oauth_provider_generator.rb +47 -0
- data/lib/generators/oauth_provider/templates/clients_controller.rb +52 -0
- data/lib/generators/oauth_provider/templates/controller.rb +23 -0
- data/lib/generators/rspec/oauth_provider_generator.rb +39 -0
- data/lib/generators/rspec/templates/client_application_spec.rb +29 -0
- data/lib/generators/rspec/templates/client_applications.yml +23 -0
- data/lib/generators/rspec/templates/clients_controller_spec.rb +176 -0
- data/lib/generators/rspec/templates/controller_spec.rb +838 -0
- data/lib/generators/rspec/templates/controller_spec_helper.rb +66 -0
- data/lib/generators/rspec/templates/oauth2_token_spec.rb +29 -0
- data/lib/generators/rspec/templates/oauth2_verifier_spec.rb +54 -0
- data/lib/generators/rspec/templates/oauth_nonce_spec.rb +24 -0
- data/lib/generators/rspec/templates/oauth_nonces.yml +13 -0
- data/lib/generators/rspec/templates/oauth_token_spec.rb +309 -0
- data/lib/generators/rspec/templates/oauth_tokens.yml +17 -0
- data/lib/generators/test_unit/oauth_provider_generator.rb +37 -0
- data/lib/generators/test_unit/templates/client_application_test.rb +42 -0
- data/lib/generators/test_unit/templates/client_applications.yml +23 -0
- data/lib/generators/test_unit/templates/clients_controller_test.rb +280 -0
- data/lib/generators/test_unit/templates/controller_test.rb +310 -0
- data/lib/generators/test_unit/templates/controller_test_helper.rb +115 -0
- data/lib/generators/test_unit/templates/oauth_nonce_test.rb +26 -0
- data/lib/generators/test_unit/templates/oauth_nonces.yml +13 -0
- data/lib/generators/test_unit/templates/oauth_token_test.rb +57 -0
- data/lib/generators/test_unit/templates/oauth_tokens.yml +17 -0
- data/lib/oauth/controllers/application_controller_methods.rb +169 -66
- data/lib/oauth/controllers/provider_controller.rb +154 -38
- data/lib/oauth/models/consumers/service_loader.rb +2 -0
- data/lib/oauth/models/consumers/token.rb +0 -1
- data/oauth-plugin.gemspec +97 -10
- data/rails/init.rb +6 -2
- metadata +119 -12
data/oauth-plugin.gemspec
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{oauth-plugin}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.4.0.pre1"
|
9
9
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new("
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Pelle Braendgaard"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2010-11-15}
|
13
13
|
s.description = %q{Rails plugin for implementing an OAuth Provider or Consumer}
|
14
14
|
s.email = %q{oauth-ruby@googlegroups.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -63,6 +63,12 @@ Gem::Specification.new do |s|
|
|
63
63
|
"generators/oauth_provider/templates/migration.rb",
|
64
64
|
"generators/oauth_provider/templates/new.html.erb",
|
65
65
|
"generators/oauth_provider/templates/new.html.haml",
|
66
|
+
"generators/oauth_provider/templates/oauth2_authorize.html.erb",
|
67
|
+
"generators/oauth_provider/templates/oauth2_authorize.html.haml",
|
68
|
+
"generators/oauth_provider/templates/oauth2_token.rb",
|
69
|
+
"generators/oauth_provider/templates/oauth2_token_spec.rb",
|
70
|
+
"generators/oauth_provider/templates/oauth2_verifier.rb",
|
71
|
+
"generators/oauth_provider/templates/oauth2_verifier_spec.rb",
|
66
72
|
"generators/oauth_provider/templates/oauth_nonce.rb",
|
67
73
|
"generators/oauth_provider/templates/oauth_nonce_spec.rb",
|
68
74
|
"generators/oauth_provider/templates/oauth_nonce_test.rb",
|
@@ -76,6 +82,86 @@ Gem::Specification.new do |s|
|
|
76
82
|
"generators/oauth_provider/templates/show.html.haml",
|
77
83
|
"init.rb",
|
78
84
|
"install.rb",
|
85
|
+
"lib/generators/active_record/oauth_consumer_generator.rb",
|
86
|
+
"lib/generators/active_record/oauth_consumer_templates/consumer_token.rb",
|
87
|
+
"lib/generators/active_record/oauth_consumer_templates/migration.rb",
|
88
|
+
"lib/generators/active_record/oauth_provider_generator.rb",
|
89
|
+
"lib/generators/active_record/oauth_provider_templates/access_token.rb",
|
90
|
+
"lib/generators/active_record/oauth_provider_templates/client_application.rb",
|
91
|
+
"lib/generators/active_record/oauth_provider_templates/migration.rb",
|
92
|
+
"lib/generators/active_record/oauth_provider_templates/oauth2_token.rb",
|
93
|
+
"lib/generators/active_record/oauth_provider_templates/oauth2_verifier.rb",
|
94
|
+
"lib/generators/active_record/oauth_provider_templates/oauth_nonce.rb",
|
95
|
+
"lib/generators/active_record/oauth_provider_templates/oauth_token.rb",
|
96
|
+
"lib/generators/active_record/oauth_provider_templates/request_token.rb",
|
97
|
+
"lib/generators/erb/oauth_consumer_generator.rb",
|
98
|
+
"lib/generators/erb/oauth_consumer_templates/index.html.erb",
|
99
|
+
"lib/generators/erb/oauth_consumer_templates/show.html.erb",
|
100
|
+
"lib/generators/erb/oauth_provider_generator.rb",
|
101
|
+
"lib/generators/erb/oauth_provider_templates/_form.html.erb",
|
102
|
+
"lib/generators/erb/oauth_provider_templates/authorize.html.erb",
|
103
|
+
"lib/generators/erb/oauth_provider_templates/authorize_failure.html.erb",
|
104
|
+
"lib/generators/erb/oauth_provider_templates/authorize_success.html.erb",
|
105
|
+
"lib/generators/erb/oauth_provider_templates/edit.html.erb",
|
106
|
+
"lib/generators/erb/oauth_provider_templates/index.html.erb",
|
107
|
+
"lib/generators/erb/oauth_provider_templates/new.html.erb",
|
108
|
+
"lib/generators/erb/oauth_provider_templates/oauth2_authorize.html.erb",
|
109
|
+
"lib/generators/erb/oauth_provider_templates/show.html.erb",
|
110
|
+
"lib/generators/haml/oauth_consumer_generator.rb",
|
111
|
+
"lib/generators/haml/oauth_consumer_templates/index.html.haml",
|
112
|
+
"lib/generators/haml/oauth_consumer_templates/show.html.haml",
|
113
|
+
"lib/generators/haml/oauth_provider_generator.rb",
|
114
|
+
"lib/generators/haml/oauth_provider_templates/_form.html.haml",
|
115
|
+
"lib/generators/haml/oauth_provider_templates/authorize.html.haml",
|
116
|
+
"lib/generators/haml/oauth_provider_templates/authorize_failure.html.haml",
|
117
|
+
"lib/generators/haml/oauth_provider_templates/authorize_success.html.haml",
|
118
|
+
"lib/generators/haml/oauth_provider_templates/edit.html.haml",
|
119
|
+
"lib/generators/haml/oauth_provider_templates/index.html.haml",
|
120
|
+
"lib/generators/haml/oauth_provider_templates/new.html.haml",
|
121
|
+
"lib/generators/haml/oauth_provider_templates/oauth2_authorize.html.haml",
|
122
|
+
"lib/generators/haml/oauth_provider_templates/show.html.haml",
|
123
|
+
"lib/generators/mongoid/oauth_consumer_generator.rb",
|
124
|
+
"lib/generators/mongoid/oauth_consumer_templates/consumer_token.rb",
|
125
|
+
"lib/generators/mongoid/oauth_provider_generator.rb",
|
126
|
+
"lib/generators/mongoid/oauth_provider_templates/access_token.rb",
|
127
|
+
"lib/generators/mongoid/oauth_provider_templates/client_application.rb",
|
128
|
+
"lib/generators/mongoid/oauth_provider_templates/oauth2_token.rb",
|
129
|
+
"lib/generators/mongoid/oauth_provider_templates/oauth2_verifier.rb",
|
130
|
+
"lib/generators/mongoid/oauth_provider_templates/oauth_nonce.rb",
|
131
|
+
"lib/generators/mongoid/oauth_provider_templates/oauth_token.rb",
|
132
|
+
"lib/generators/mongoid/oauth_provider_templates/request_token.rb",
|
133
|
+
"lib/generators/oauth_consumer/USAGE",
|
134
|
+
"lib/generators/oauth_consumer/oauth_consumer_generator.rb",
|
135
|
+
"lib/generators/oauth_consumer/templates/controller.rb",
|
136
|
+
"lib/generators/oauth_consumer/templates/oauth_config.rb",
|
137
|
+
"lib/generators/oauth_inflections.rb",
|
138
|
+
"lib/generators/oauth_plugin.rb",
|
139
|
+
"lib/generators/oauth_provider/USAGE",
|
140
|
+
"lib/generators/oauth_provider/oauth_provider_generator.rb",
|
141
|
+
"lib/generators/oauth_provider/templates/clients_controller.rb",
|
142
|
+
"lib/generators/oauth_provider/templates/controller.rb",
|
143
|
+
"lib/generators/rspec/oauth_provider_generator.rb",
|
144
|
+
"lib/generators/rspec/templates/client_application_spec.rb",
|
145
|
+
"lib/generators/rspec/templates/client_applications.yml",
|
146
|
+
"lib/generators/rspec/templates/clients_controller_spec.rb",
|
147
|
+
"lib/generators/rspec/templates/controller_spec.rb",
|
148
|
+
"lib/generators/rspec/templates/controller_spec_helper.rb",
|
149
|
+
"lib/generators/rspec/templates/oauth2_token_spec.rb",
|
150
|
+
"lib/generators/rspec/templates/oauth2_verifier_spec.rb",
|
151
|
+
"lib/generators/rspec/templates/oauth_nonce_spec.rb",
|
152
|
+
"lib/generators/rspec/templates/oauth_nonces.yml",
|
153
|
+
"lib/generators/rspec/templates/oauth_token_spec.rb",
|
154
|
+
"lib/generators/rspec/templates/oauth_tokens.yml",
|
155
|
+
"lib/generators/test_unit/oauth_provider_generator.rb",
|
156
|
+
"lib/generators/test_unit/templates/client_application_test.rb",
|
157
|
+
"lib/generators/test_unit/templates/client_applications.yml",
|
158
|
+
"lib/generators/test_unit/templates/clients_controller_test.rb",
|
159
|
+
"lib/generators/test_unit/templates/controller_test.rb",
|
160
|
+
"lib/generators/test_unit/templates/controller_test_helper.rb",
|
161
|
+
"lib/generators/test_unit/templates/oauth_nonce_test.rb",
|
162
|
+
"lib/generators/test_unit/templates/oauth_nonces.yml",
|
163
|
+
"lib/generators/test_unit/templates/oauth_token_test.rb",
|
164
|
+
"lib/generators/test_unit/templates/oauth_tokens.yml",
|
79
165
|
"lib/oauth-plugin.rb",
|
80
166
|
"lib/oauth/controllers/application_controller_methods.rb",
|
81
167
|
"lib/oauth/controllers/consumer_controller.rb",
|
@@ -96,19 +182,20 @@ Gem::Specification.new do |s|
|
|
96
182
|
s.rdoc_options = ["--charset=UTF-8"]
|
97
183
|
s.require_paths = ["lib"]
|
98
184
|
s.rubyforge_project = %q{oauth}
|
99
|
-
s.rubygems_version = %q{1.3.
|
185
|
+
s.rubygems_version = %q{1.3.7}
|
100
186
|
s.summary = %q{Ruby on Rails Plugin for OAuth Provider and Consumer}
|
101
187
|
|
102
188
|
if s.respond_to? :specification_version then
|
103
189
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
104
190
|
s.specification_version = 3
|
105
191
|
|
106
|
-
if Gem::Version.new(Gem::
|
107
|
-
s.add_runtime_dependency(%q<oauth>, [">= 0.
|
192
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
193
|
+
s.add_runtime_dependency(%q<oauth>, [">= 0.4.4"])
|
108
194
|
else
|
109
|
-
s.add_dependency(%q<oauth>, [">= 0.
|
195
|
+
s.add_dependency(%q<oauth>, [">= 0.4.4"])
|
110
196
|
end
|
111
197
|
else
|
112
|
-
s.add_dependency(%q<oauth>, [">= 0.
|
198
|
+
s.add_dependency(%q<oauth>, [">= 0.4.4"])
|
113
199
|
end
|
114
200
|
end
|
201
|
+
|
data/rails/init.rb
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
-
|
1
|
+
require 'oauth'
|
2
2
|
require 'oauth/signature/hmac/sha1'
|
3
|
-
|
3
|
+
if Rails.version =~ /^3\./
|
4
|
+
require 'oauth/request_proxy/rack_request'
|
5
|
+
else
|
6
|
+
require 'oauth/request_proxy/action_controller_request'
|
7
|
+
end
|
4
8
|
require 'oauth/server'
|
5
9
|
require 'oauth/controllers/application_controller_methods'
|
6
10
|
|
metadata
CHANGED
@@ -1,7 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oauth-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: -1876988224
|
5
|
+
prerelease: true
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 4
|
9
|
+
- 0
|
10
|
+
- pre1
|
11
|
+
version: 0.4.0.pre1
|
5
12
|
platform: ruby
|
6
13
|
authors:
|
7
14
|
- Pelle Braendgaard
|
@@ -9,19 +16,25 @@ autorequire:
|
|
9
16
|
bindir: bin
|
10
17
|
cert_chain: []
|
11
18
|
|
12
|
-
date:
|
19
|
+
date: 2010-11-15 00:00:00 -05:00
|
13
20
|
default_executable:
|
14
21
|
dependencies:
|
15
22
|
- !ruby/object:Gem::Dependency
|
16
23
|
name: oauth
|
17
|
-
|
18
|
-
|
19
|
-
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
20
27
|
requirements:
|
21
28
|
- - ">="
|
22
29
|
- !ruby/object:Gem::Version
|
23
|
-
|
24
|
-
|
30
|
+
hash: 7
|
31
|
+
segments:
|
32
|
+
- 0
|
33
|
+
- 4
|
34
|
+
- 4
|
35
|
+
version: 0.4.4
|
36
|
+
type: :runtime
|
37
|
+
version_requirements: *id001
|
25
38
|
description: Rails plugin for implementing an OAuth Provider or Consumer
|
26
39
|
email: oauth-ruby@googlegroups.com
|
27
40
|
executables: []
|
@@ -78,6 +91,12 @@ files:
|
|
78
91
|
- generators/oauth_provider/templates/migration.rb
|
79
92
|
- generators/oauth_provider/templates/new.html.erb
|
80
93
|
- generators/oauth_provider/templates/new.html.haml
|
94
|
+
- generators/oauth_provider/templates/oauth2_authorize.html.erb
|
95
|
+
- generators/oauth_provider/templates/oauth2_authorize.html.haml
|
96
|
+
- generators/oauth_provider/templates/oauth2_token.rb
|
97
|
+
- generators/oauth_provider/templates/oauth2_token_spec.rb
|
98
|
+
- generators/oauth_provider/templates/oauth2_verifier.rb
|
99
|
+
- generators/oauth_provider/templates/oauth2_verifier_spec.rb
|
81
100
|
- generators/oauth_provider/templates/oauth_nonce.rb
|
82
101
|
- generators/oauth_provider/templates/oauth_nonce_spec.rb
|
83
102
|
- generators/oauth_provider/templates/oauth_nonce_test.rb
|
@@ -91,6 +110,86 @@ files:
|
|
91
110
|
- generators/oauth_provider/templates/show.html.haml
|
92
111
|
- init.rb
|
93
112
|
- install.rb
|
113
|
+
- lib/generators/active_record/oauth_consumer_generator.rb
|
114
|
+
- lib/generators/active_record/oauth_consumer_templates/consumer_token.rb
|
115
|
+
- lib/generators/active_record/oauth_consumer_templates/migration.rb
|
116
|
+
- lib/generators/active_record/oauth_provider_generator.rb
|
117
|
+
- lib/generators/active_record/oauth_provider_templates/access_token.rb
|
118
|
+
- lib/generators/active_record/oauth_provider_templates/client_application.rb
|
119
|
+
- lib/generators/active_record/oauth_provider_templates/migration.rb
|
120
|
+
- lib/generators/active_record/oauth_provider_templates/oauth2_token.rb
|
121
|
+
- lib/generators/active_record/oauth_provider_templates/oauth2_verifier.rb
|
122
|
+
- lib/generators/active_record/oauth_provider_templates/oauth_nonce.rb
|
123
|
+
- lib/generators/active_record/oauth_provider_templates/oauth_token.rb
|
124
|
+
- lib/generators/active_record/oauth_provider_templates/request_token.rb
|
125
|
+
- lib/generators/erb/oauth_consumer_generator.rb
|
126
|
+
- lib/generators/erb/oauth_consumer_templates/index.html.erb
|
127
|
+
- lib/generators/erb/oauth_consumer_templates/show.html.erb
|
128
|
+
- lib/generators/erb/oauth_provider_generator.rb
|
129
|
+
- lib/generators/erb/oauth_provider_templates/_form.html.erb
|
130
|
+
- lib/generators/erb/oauth_provider_templates/authorize.html.erb
|
131
|
+
- lib/generators/erb/oauth_provider_templates/authorize_failure.html.erb
|
132
|
+
- lib/generators/erb/oauth_provider_templates/authorize_success.html.erb
|
133
|
+
- lib/generators/erb/oauth_provider_templates/edit.html.erb
|
134
|
+
- lib/generators/erb/oauth_provider_templates/index.html.erb
|
135
|
+
- lib/generators/erb/oauth_provider_templates/new.html.erb
|
136
|
+
- lib/generators/erb/oauth_provider_templates/oauth2_authorize.html.erb
|
137
|
+
- lib/generators/erb/oauth_provider_templates/show.html.erb
|
138
|
+
- lib/generators/haml/oauth_consumer_generator.rb
|
139
|
+
- lib/generators/haml/oauth_consumer_templates/index.html.haml
|
140
|
+
- lib/generators/haml/oauth_consumer_templates/show.html.haml
|
141
|
+
- lib/generators/haml/oauth_provider_generator.rb
|
142
|
+
- lib/generators/haml/oauth_provider_templates/_form.html.haml
|
143
|
+
- lib/generators/haml/oauth_provider_templates/authorize.html.haml
|
144
|
+
- lib/generators/haml/oauth_provider_templates/authorize_failure.html.haml
|
145
|
+
- lib/generators/haml/oauth_provider_templates/authorize_success.html.haml
|
146
|
+
- lib/generators/haml/oauth_provider_templates/edit.html.haml
|
147
|
+
- lib/generators/haml/oauth_provider_templates/index.html.haml
|
148
|
+
- lib/generators/haml/oauth_provider_templates/new.html.haml
|
149
|
+
- lib/generators/haml/oauth_provider_templates/oauth2_authorize.html.haml
|
150
|
+
- lib/generators/haml/oauth_provider_templates/show.html.haml
|
151
|
+
- lib/generators/mongoid/oauth_consumer_generator.rb
|
152
|
+
- lib/generators/mongoid/oauth_consumer_templates/consumer_token.rb
|
153
|
+
- lib/generators/mongoid/oauth_provider_generator.rb
|
154
|
+
- lib/generators/mongoid/oauth_provider_templates/access_token.rb
|
155
|
+
- lib/generators/mongoid/oauth_provider_templates/client_application.rb
|
156
|
+
- lib/generators/mongoid/oauth_provider_templates/oauth2_token.rb
|
157
|
+
- lib/generators/mongoid/oauth_provider_templates/oauth2_verifier.rb
|
158
|
+
- lib/generators/mongoid/oauth_provider_templates/oauth_nonce.rb
|
159
|
+
- lib/generators/mongoid/oauth_provider_templates/oauth_token.rb
|
160
|
+
- lib/generators/mongoid/oauth_provider_templates/request_token.rb
|
161
|
+
- lib/generators/oauth_consumer/USAGE
|
162
|
+
- lib/generators/oauth_consumer/oauth_consumer_generator.rb
|
163
|
+
- lib/generators/oauth_consumer/templates/controller.rb
|
164
|
+
- lib/generators/oauth_consumer/templates/oauth_config.rb
|
165
|
+
- lib/generators/oauth_inflections.rb
|
166
|
+
- lib/generators/oauth_plugin.rb
|
167
|
+
- lib/generators/oauth_provider/USAGE
|
168
|
+
- lib/generators/oauth_provider/oauth_provider_generator.rb
|
169
|
+
- lib/generators/oauth_provider/templates/clients_controller.rb
|
170
|
+
- lib/generators/oauth_provider/templates/controller.rb
|
171
|
+
- lib/generators/rspec/oauth_provider_generator.rb
|
172
|
+
- lib/generators/rspec/templates/client_application_spec.rb
|
173
|
+
- lib/generators/rspec/templates/client_applications.yml
|
174
|
+
- lib/generators/rspec/templates/clients_controller_spec.rb
|
175
|
+
- lib/generators/rspec/templates/controller_spec.rb
|
176
|
+
- lib/generators/rspec/templates/controller_spec_helper.rb
|
177
|
+
- lib/generators/rspec/templates/oauth2_token_spec.rb
|
178
|
+
- lib/generators/rspec/templates/oauth2_verifier_spec.rb
|
179
|
+
- lib/generators/rspec/templates/oauth_nonce_spec.rb
|
180
|
+
- lib/generators/rspec/templates/oauth_nonces.yml
|
181
|
+
- lib/generators/rspec/templates/oauth_token_spec.rb
|
182
|
+
- lib/generators/rspec/templates/oauth_tokens.yml
|
183
|
+
- lib/generators/test_unit/oauth_provider_generator.rb
|
184
|
+
- lib/generators/test_unit/templates/client_application_test.rb
|
185
|
+
- lib/generators/test_unit/templates/client_applications.yml
|
186
|
+
- lib/generators/test_unit/templates/clients_controller_test.rb
|
187
|
+
- lib/generators/test_unit/templates/controller_test.rb
|
188
|
+
- lib/generators/test_unit/templates/controller_test_helper.rb
|
189
|
+
- lib/generators/test_unit/templates/oauth_nonce_test.rb
|
190
|
+
- lib/generators/test_unit/templates/oauth_nonces.yml
|
191
|
+
- lib/generators/test_unit/templates/oauth_token_test.rb
|
192
|
+
- lib/generators/test_unit/templates/oauth_tokens.yml
|
94
193
|
- lib/oauth-plugin.rb
|
95
194
|
- lib/oauth/controllers/application_controller_methods.rb
|
96
195
|
- lib/oauth/controllers/consumer_controller.rb
|
@@ -116,21 +215,29 @@ rdoc_options:
|
|
116
215
|
require_paths:
|
117
216
|
- lib
|
118
217
|
required_ruby_version: !ruby/object:Gem::Requirement
|
218
|
+
none: false
|
119
219
|
requirements:
|
120
220
|
- - ">="
|
121
221
|
- !ruby/object:Gem::Version
|
222
|
+
hash: 3
|
223
|
+
segments:
|
224
|
+
- 0
|
122
225
|
version: "0"
|
123
|
-
version:
|
124
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
227
|
+
none: false
|
125
228
|
requirements:
|
126
|
-
- - "
|
229
|
+
- - ">"
|
127
230
|
- !ruby/object:Gem::Version
|
128
|
-
|
129
|
-
|
231
|
+
hash: 25
|
232
|
+
segments:
|
233
|
+
- 1
|
234
|
+
- 3
|
235
|
+
- 1
|
236
|
+
version: 1.3.1
|
130
237
|
requirements: []
|
131
238
|
|
132
239
|
rubyforge_project: oauth
|
133
|
-
rubygems_version: 1.3.
|
240
|
+
rubygems_version: 1.3.7
|
134
241
|
signing_key:
|
135
242
|
specification_version: 3
|
136
243
|
summary: Ruby on Rails Plugin for OAuth Provider and Consumer
|