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.
Files changed (110) hide show
  1. data/CHANGELOG +10 -0
  2. data/README.rdoc +44 -9
  3. data/Rakefile +2 -2
  4. data/VERSION +1 -1
  5. data/generators/oauth_consumer/templates/migration.rb +1 -1
  6. data/generators/oauth_provider/oauth_provider_generator.rb +6 -0
  7. data/generators/oauth_provider/templates/access_token.rb +2 -2
  8. data/generators/oauth_provider/templates/client_application.rb +8 -6
  9. data/generators/oauth_provider/templates/client_applications.yml +6 -6
  10. data/generators/oauth_provider/templates/clients_controller_spec.rb +130 -193
  11. data/generators/oauth_provider/templates/controller.rb +12 -0
  12. data/generators/oauth_provider/templates/controller_spec.rb +762 -291
  13. data/generators/oauth_provider/templates/controller_spec_helper.rb +49 -63
  14. data/generators/oauth_provider/templates/migration.rb +6 -5
  15. data/generators/oauth_provider/templates/oauth2_authorize.html.erb +16 -0
  16. data/generators/oauth_provider/templates/oauth2_authorize.html.haml +17 -0
  17. data/generators/oauth_provider/templates/oauth2_token.rb +6 -0
  18. data/generators/oauth_provider/templates/oauth2_token_spec.rb +29 -0
  19. data/generators/oauth_provider/templates/oauth2_verifier.rb +28 -0
  20. data/generators/oauth_provider/templates/oauth2_verifier_spec.rb +54 -0
  21. data/generators/oauth_provider/templates/oauth_nonce_test.rb +1 -1
  22. data/generators/oauth_provider/templates/oauth_token.rb +3 -4
  23. data/generators/oauth_provider/templates/request_token.rb +1 -1
  24. data/lib/generators/active_record/oauth_consumer_generator.rb +33 -0
  25. data/lib/generators/active_record/oauth_consumer_templates/consumer_token.rb +5 -0
  26. data/lib/generators/active_record/oauth_consumer_templates/migration.rb +20 -0
  27. data/lib/generators/active_record/oauth_provider_generator.rb +39 -0
  28. data/lib/generators/active_record/oauth_provider_templates/access_token.rb +16 -0
  29. data/lib/generators/active_record/oauth_provider_templates/client_application.rb +57 -0
  30. data/lib/generators/active_record/oauth_provider_templates/migration.rb +47 -0
  31. data/lib/generators/active_record/oauth_provider_templates/oauth2_token.rb +5 -0
  32. data/lib/generators/active_record/oauth_provider_templates/oauth2_verifier.rb +28 -0
  33. data/lib/generators/active_record/oauth_provider_templates/oauth_nonce.rb +13 -0
  34. data/lib/generators/active_record/oauth_provider_templates/oauth_token.rb +30 -0
  35. data/lib/generators/active_record/oauth_provider_templates/request_token.rb +40 -0
  36. data/lib/generators/erb/oauth_consumer_generator.rb +14 -0
  37. data/lib/generators/erb/oauth_consumer_templates/index.html.erb +29 -0
  38. data/lib/generators/erb/oauth_consumer_templates/show.html.erb +7 -0
  39. data/lib/generators/erb/oauth_provider_generator.rb +21 -0
  40. data/lib/generators/erb/oauth_provider_templates/_form.html.erb +17 -0
  41. data/lib/generators/erb/oauth_provider_templates/authorize.html.erb +14 -0
  42. data/lib/generators/erb/oauth_provider_templates/authorize_failure.html.erb +1 -0
  43. data/lib/generators/erb/oauth_provider_templates/authorize_success.html.erb +1 -0
  44. data/lib/generators/erb/oauth_provider_templates/edit.html.erb +7 -0
  45. data/lib/generators/erb/oauth_provider_templates/index.html.erb +43 -0
  46. data/lib/generators/erb/oauth_provider_templates/new.html.erb +5 -0
  47. data/lib/generators/erb/oauth_provider_templates/oauth2_authorize.html.erb +16 -0
  48. data/lib/generators/erb/oauth_provider_templates/show.html.erb +27 -0
  49. data/lib/generators/haml/oauth_consumer_generator.rb +21 -0
  50. data/lib/generators/haml/oauth_consumer_templates/index.html.haml +18 -0
  51. data/lib/generators/haml/oauth_consumer_templates/show.html.haml +8 -0
  52. data/lib/generators/haml/oauth_provider_generator.rb +28 -0
  53. data/lib/generators/haml/oauth_provider_templates/_form.html.haml +21 -0
  54. data/lib/generators/haml/oauth_provider_templates/authorize.html.haml +16 -0
  55. data/lib/generators/haml/oauth_provider_templates/authorize_failure.html.haml +1 -0
  56. data/lib/generators/haml/oauth_provider_templates/authorize_success.html.haml +1 -0
  57. data/lib/generators/haml/oauth_provider_templates/edit.html.haml +4 -0
  58. data/lib/generators/haml/oauth_provider_templates/index.html.haml +39 -0
  59. data/lib/generators/haml/oauth_provider_templates/new.html.haml +5 -0
  60. data/lib/generators/haml/oauth_provider_templates/oauth2_authorize.html.haml +17 -0
  61. data/lib/generators/haml/oauth_provider_templates/show.html.haml +30 -0
  62. data/lib/generators/mongoid/oauth_consumer_generator.rb +15 -0
  63. data/lib/generators/mongoid/oauth_consumer_templates/consumer_token.rb +14 -0
  64. data/lib/generators/mongoid/oauth_provider_generator.rb +21 -0
  65. data/lib/generators/mongoid/oauth_provider_templates/access_token.rb +16 -0
  66. data/lib/generators/mongoid/oauth_provider_templates/client_application.rb +71 -0
  67. data/lib/generators/mongoid/oauth_provider_templates/oauth2_token.rb +5 -0
  68. data/lib/generators/mongoid/oauth_provider_templates/oauth2_verifier.rb +25 -0
  69. data/lib/generators/mongoid/oauth_provider_templates/oauth_nonce.rb +24 -0
  70. data/lib/generators/mongoid/oauth_provider_templates/oauth_token.rb +44 -0
  71. data/lib/generators/mongoid/oauth_provider_templates/request_token.rb +36 -0
  72. data/lib/generators/oauth_consumer/USAGE +8 -0
  73. data/lib/generators/oauth_consumer/oauth_consumer_generator.rb +27 -0
  74. data/lib/generators/oauth_consumer/templates/controller.rb +19 -0
  75. data/lib/generators/oauth_consumer/templates/oauth_config.rb +46 -0
  76. data/lib/generators/oauth_inflections.rb +6 -0
  77. data/lib/generators/oauth_plugin.rb +0 -0
  78. data/lib/generators/oauth_provider/USAGE +18 -0
  79. data/lib/generators/oauth_provider/oauth_provider_generator.rb +47 -0
  80. data/lib/generators/oauth_provider/templates/clients_controller.rb +52 -0
  81. data/lib/generators/oauth_provider/templates/controller.rb +23 -0
  82. data/lib/generators/rspec/oauth_provider_generator.rb +39 -0
  83. data/lib/generators/rspec/templates/client_application_spec.rb +29 -0
  84. data/lib/generators/rspec/templates/client_applications.yml +23 -0
  85. data/lib/generators/rspec/templates/clients_controller_spec.rb +176 -0
  86. data/lib/generators/rspec/templates/controller_spec.rb +838 -0
  87. data/lib/generators/rspec/templates/controller_spec_helper.rb +66 -0
  88. data/lib/generators/rspec/templates/oauth2_token_spec.rb +29 -0
  89. data/lib/generators/rspec/templates/oauth2_verifier_spec.rb +54 -0
  90. data/lib/generators/rspec/templates/oauth_nonce_spec.rb +24 -0
  91. data/lib/generators/rspec/templates/oauth_nonces.yml +13 -0
  92. data/lib/generators/rspec/templates/oauth_token_spec.rb +309 -0
  93. data/lib/generators/rspec/templates/oauth_tokens.yml +17 -0
  94. data/lib/generators/test_unit/oauth_provider_generator.rb +37 -0
  95. data/lib/generators/test_unit/templates/client_application_test.rb +42 -0
  96. data/lib/generators/test_unit/templates/client_applications.yml +23 -0
  97. data/lib/generators/test_unit/templates/clients_controller_test.rb +280 -0
  98. data/lib/generators/test_unit/templates/controller_test.rb +310 -0
  99. data/lib/generators/test_unit/templates/controller_test_helper.rb +115 -0
  100. data/lib/generators/test_unit/templates/oauth_nonce_test.rb +26 -0
  101. data/lib/generators/test_unit/templates/oauth_nonces.yml +13 -0
  102. data/lib/generators/test_unit/templates/oauth_token_test.rb +57 -0
  103. data/lib/generators/test_unit/templates/oauth_tokens.yml +17 -0
  104. data/lib/oauth/controllers/application_controller_methods.rb +169 -66
  105. data/lib/oauth/controllers/provider_controller.rb +154 -38
  106. data/lib/oauth/models/consumers/service_loader.rb +2 -0
  107. data/lib/oauth/models/consumers/token.rb +0 -1
  108. data/oauth-plugin.gemspec +97 -10
  109. data/rails/init.rb +6 -2
  110. 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 `rake gemspec`
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.3.14"
8
+ s.version = "0.4.0.pre1"
9
9
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
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{2009-10-08}
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.5}
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::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
107
- s.add_runtime_dependency(%q<oauth>, [">= 0.3.5"])
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.3.5"])
195
+ s.add_dependency(%q<oauth>, [">= 0.4.4"])
110
196
  end
111
197
  else
112
- s.add_dependency(%q<oauth>, [">= 0.3.5"])
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
- gem 'oauth', '>=0.3.5'
1
+ require 'oauth'
2
2
  require 'oauth/signature/hmac/sha1'
3
- require 'oauth/request_proxy/action_controller_request'
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
- version: 0.3.14
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: 2009-10-08 00:00:00 -04:00
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
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
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
- version: 0.3.5
24
- version:
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
- version: "0"
129
- version:
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.5
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