oauth2_provider_engine 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +40 -0
  4. data/app/assets/javascripts/oauth2_provider/application.js +52 -0
  5. data/app/assets/javascripts/oauth2_provider/highcharts.js +162 -0
  6. data/app/assets/javascripts/oauth2_provider/jquery.tagsinput.js +218 -0
  7. data/app/assets/stylesheets/oauth2_provider/gh-buttons.css +388 -0
  8. data/app/assets/stylesheets/oauth2_provider/gh-icons.png +0 -0
  9. data/app/assets/stylesheets/oauth2_provider/jquery.tagsinput.css +6 -0
  10. data/app/assets/stylesheets/oauth2_provider/reset.css +2 -0
  11. data/app/assets/stylesheets/oauth2_provider/template.css +52 -0
  12. data/app/controllers/oauth2_provider/accesses_controller.rb +39 -0
  13. data/app/controllers/oauth2_provider/application_controller.rb +17 -0
  14. data/app/controllers/oauth2_provider/authorize_controller.rb +141 -0
  15. data/app/controllers/oauth2_provider/clients_controller.rb +85 -0
  16. data/app/controllers/oauth2_provider/scopes_controller.rb +63 -0
  17. data/app/controllers/oauth2_provider/token_controller.rb +187 -0
  18. data/app/helpers/clients_helper.rb +5 -0
  19. data/app/helpers/oauth2_provider/application_helper.rb +4 -0
  20. data/app/models/oauth2_provider/client.rb +129 -0
  21. data/app/models/oauth2_provider/document.rb +15 -0
  22. data/app/models/oauth2_provider/oauth_access.rb +80 -0
  23. data/app/models/oauth2_provider/oauth_authorization.rb +70 -0
  24. data/app/models/oauth2_provider/oauth_daily_request.rb +54 -0
  25. data/app/models/oauth2_provider/oauth_refresh_token.rb +20 -0
  26. data/app/models/oauth2_provider/oauth_token.rb +78 -0
  27. data/app/models/oauth2_provider/scope.rb +39 -0
  28. data/app/views/layouts/oauth2_provider/application.html.erb +62 -0
  29. data/app/views/oauth2_provider/accesses/index.html.erb +25 -0
  30. data/app/views/oauth2_provider/accesses/show.html.erb +35 -0
  31. data/app/views/oauth2_provider/clients/_form.html.erb +50 -0
  32. data/app/views/oauth2_provider/clients/edit.html.erb +9 -0
  33. data/app/views/oauth2_provider/clients/index.html.erb +43 -0
  34. data/app/views/oauth2_provider/clients/new.html.erb +8 -0
  35. data/app/views/oauth2_provider/clients/show.html.erb +49 -0
  36. data/app/views/oauth2_provider/scopes/_form.html.erb +35 -0
  37. data/app/views/oauth2_provider/scopes/edit.html.erb +8 -0
  38. data/app/views/oauth2_provider/scopes/index.html.erb +27 -0
  39. data/app/views/oauth2_provider/scopes/new.html.erb +7 -0
  40. data/app/views/oauth2_provider/scopes/show.html.erb +19 -0
  41. data/app/views/shared/authorize.html.erb +34 -0
  42. data/app/views/shared/token.json.erb +8 -0
  43. data/config/locales/en.yml +31 -0
  44. data/config/oauth.yml +4 -0
  45. data/config/routes.rb +25 -0
  46. data/lib/oauth2_provider.rb +38 -0
  47. data/lib/oauth2_provider/controller_mixin.rb +53 -0
  48. data/lib/oauth2_provider/engine.rb +4 -0
  49. data/lib/oauth2_provider_engine.rb +1 -0
  50. data/lib/oauth2_provider_engine/version.rb +3 -0
  51. data/test/dummy/CHANGELOG.rdoc +67 -0
  52. data/test/dummy/Gemfile +53 -0
  53. data/test/dummy/Gemfile.lock +254 -0
  54. data/test/dummy/README.rdoc +522 -0
  55. data/test/dummy/Rakefile +7 -0
  56. data/test/dummy/VERSION +1 -0
  57. data/test/dummy/app/assets/stylesheets/reset.css +2 -0
  58. data/test/dummy/app/assets/stylesheets/template.css +52 -0
  59. data/test/dummy/app/controllers/application_controller.rb +52 -0
  60. data/test/dummy/app/controllers/pastas_controller.rb +23 -0
  61. data/test/dummy/app/controllers/pizzas_controller.rb +23 -0
  62. data/test/dummy/app/controllers/sessions_controller.rb +26 -0
  63. data/test/dummy/app/controllers/users_controller.rb +59 -0
  64. data/test/dummy/app/models/user.rb +50 -0
  65. data/test/dummy/app/views/layouts/application.html.erb +65 -0
  66. data/test/dummy/app/views/sessions/new.html.erb +25 -0
  67. data/test/dummy/app/views/shared/403.json.erb +4 -0
  68. data/test/dummy/app/views/shared/404.json.erb +6 -0
  69. data/test/dummy/app/views/shared/422.json.erb +5 -0
  70. data/test/dummy/app/views/shared/500.json.erb +4 -0
  71. data/test/dummy/app/views/shared/html/404.html.erb +0 -0
  72. data/test/dummy/app/views/shared/html/422.html.erb +0 -0
  73. data/test/dummy/app/views/users/_form.html.erb +27 -0
  74. data/test/dummy/app/views/users/edit.html.erb +8 -0
  75. data/test/dummy/app/views/users/index.html.erb +20 -0
  76. data/test/dummy/app/views/users/new.html.erb +46 -0
  77. data/test/dummy/app/views/users/show.html.erb +15 -0
  78. data/test/dummy/app/views/users/show.json.erb +6 -0
  79. data/test/dummy/config.ru +4 -0
  80. data/test/dummy/config/application.rb +57 -0
  81. data/test/dummy/config/boot.rb +13 -0
  82. data/test/dummy/config/cucumber.yml +8 -0
  83. data/test/dummy/config/environment.rb +5 -0
  84. data/test/dummy/config/environments/development.rb +32 -0
  85. data/test/dummy/config/environments/production.rb +58 -0
  86. data/test/dummy/config/environments/test.rb +35 -0
  87. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  88. data/test/dummy/config/initializers/inflections.rb +10 -0
  89. data/test/dummy/config/initializers/mime_types.rb +5 -0
  90. data/test/dummy/config/initializers/secret_token.rb +7 -0
  91. data/test/dummy/config/initializers/session_store.rb +8 -0
  92. data/test/dummy/config/initializers/test.rb +3 -0
  93. data/test/dummy/config/locales/en.yml +1 -0
  94. data/test/dummy/config/mongoid.yml +20 -0
  95. data/test/dummy/config/routes.rb +22 -0
  96. data/test/dummy/db/seeds.rb +7 -0
  97. data/test/dummy/doc/README_FOR_APP +2 -0
  98. data/test/dummy/lib/tasks/cucumber.rake +53 -0
  99. data/test/dummy/lib/tasks/watchr.rake +5 -0
  100. data/test/dummy/public/404.html +26 -0
  101. data/test/dummy/public/422.html +26 -0
  102. data/test/dummy/public/500.html +4 -0
  103. data/test/dummy/public/favicon.ico +0 -0
  104. data/test/dummy/public/robots.txt +5 -0
  105. data/test/dummy/script/cucumber +10 -0
  106. data/test/dummy/script/rails +6 -0
  107. data/test/dummy/spec/acceptance/acceptance_helper.rb +5 -0
  108. data/test/dummy/spec/acceptance/accesses_controller_spec.rb +77 -0
  109. data/test/dummy/spec/acceptance/clients_controller_spec.rb +218 -0
  110. data/test/dummy/spec/acceptance/oauth_authorize_controller_spec.rb +241 -0
  111. data/test/dummy/spec/acceptance/oauth_token_controller_spec.rb +196 -0
  112. data/test/dummy/spec/acceptance/resource_controller_spec.rb +143 -0
  113. data/test/dummy/spec/acceptance/scopes_controller_spec.rb +227 -0
  114. data/test/dummy/spec/acceptance/support/helpers.rb +81 -0
  115. data/test/dummy/spec/acceptance/support/paths.rb +9 -0
  116. data/test/dummy/spec/acceptance/support/view_helpers.rb +52 -0
  117. data/test/dummy/spec/acceptance/users_controller_spec.rb +198 -0
  118. data/test/dummy/spec/extras/scope_spec.rb +105 -0
  119. data/test/dummy/spec/factories/oauth.rb +106 -0
  120. data/test/dummy/spec/models/oauth/client_spec.rb +123 -0
  121. data/test/dummy/spec/models/oauth/oauth_access_spec.rb +48 -0
  122. data/test/dummy/spec/models/oauth/oauth_authorization_spec.rb +50 -0
  123. data/test/dummy/spec/models/oauth/oauth_daily_request_spec.rb +14 -0
  124. data/test/dummy/spec/models/oauth/oauth_refresh_token_spec.rb +11 -0
  125. data/test/dummy/spec/models/oauth/oauth_token_spec.rb +55 -0
  126. data/test/dummy/spec/models/scope_spec.rb +17 -0
  127. data/test/dummy/spec/spec_helper.rb +39 -0
  128. data/test/dummy/spec/support/settings_helper.rb +28 -0
  129. data/test/dummy/test/initializers/capybara_headers_hack.rb +23 -0
  130. data/test/oauth2_provider_test.rb +7 -0
  131. data/test/test_helper.rb +15 -0
  132. metadata +387 -0
@@ -0,0 +1,28 @@
1
+ # TODO: define a yml file for configurations
2
+ module SettingsHelper
3
+
4
+ # general
5
+ HOST = "http://www.iana.org/domains/example"
6
+ ANOTHER_HOST = "http://www.example.com"
7
+
8
+ # resources
9
+ USER_URI = HOST + "/users/example"
10
+ ANOTHER_USER_URI = HOST + "/users/another"
11
+ ADMIN_URI = HOST + "/users/admin"
12
+ CLIENT_URI = HOST + "/users/alice/client/lelylan"
13
+ ANOTHER_CLIENT_URI = HOST + "/users/alice/client/riflect"
14
+ REDIRECT_URI = HOST + "/app/callback"
15
+
16
+ # scopes
17
+ SCOPE_URI = HOST + "/scopes/pizzas"
18
+ ALL_SCOPE = ["pizzas/index", "pizzas/show", "pizzas/create", "pizzas/update", "pizzas/destroy"]
19
+ READ_SCOPE = ["pizzas/index", "pizzas/show"]
20
+
21
+
22
+ # urls validator
23
+ VALID_URIS = [ 'http://example.com', 'http://www.example.com',
24
+ 'https://example.com', 'https://www.example.com',
25
+ 'http://example.host', 'https://example.host' ]
26
+ INVALID_URIS = [ 'ftp://godaddy.com', 'www.godaddy.com', 'godaddy.com', 'example' ]
27
+
28
+ end
@@ -0,0 +1,23 @@
1
+ module RackTestMixin
2
+
3
+ def self.included(mod)
4
+ mod.class_eval do
5
+ # This is where we save additional entries.
6
+ def hacked_env
7
+ @hacked_env ||= {}
8
+ end
9
+
10
+ # Alias the original method for further use.
11
+ alias_method :original_env, :env
12
+
13
+ # Override the method to merge additional headers.
14
+ # Plus this implicitly makes it public.
15
+ def env
16
+ original_env.merge(hacked_env)
17
+ end
18
+ end
19
+ end
20
+
21
+ end
22
+
23
+ Capybara::RackTest::Browser.send :include, RackTestMixin
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class Oauth2ProviderTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, Oauth2Provider
6
+ end
7
+ end
@@ -0,0 +1,15 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ # Load fixtures from the engine
13
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
+ end
metadata ADDED
@@ -0,0 +1,387 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: oauth2_provider_engine
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Tim Galeckas
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-06-13 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.5
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.5
30
+ - !ruby/object:Gem::Dependency
31
+ name: jquery-rails
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: mongoid
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: bson_ext
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: validate_url
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: chronic
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: orm_adapter
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: sqlite3
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ description: Drop this in your app, and client apps can easily use omniauth with oauth2
143
+ to use it as a source for authentication
144
+ email:
145
+ - tim@galeckas.com
146
+ executables: []
147
+ extensions: []
148
+ extra_rdoc_files: []
149
+ files:
150
+ - app/assets/javascripts/oauth2_provider/application.js
151
+ - app/assets/javascripts/oauth2_provider/highcharts.js
152
+ - app/assets/javascripts/oauth2_provider/jquery.tagsinput.js
153
+ - app/assets/stylesheets/oauth2_provider/gh-buttons.css
154
+ - app/assets/stylesheets/oauth2_provider/gh-icons.png
155
+ - app/assets/stylesheets/oauth2_provider/jquery.tagsinput.css
156
+ - app/assets/stylesheets/oauth2_provider/reset.css
157
+ - app/assets/stylesheets/oauth2_provider/template.css
158
+ - app/controllers/oauth2_provider/accesses_controller.rb
159
+ - app/controllers/oauth2_provider/application_controller.rb
160
+ - app/controllers/oauth2_provider/authorize_controller.rb
161
+ - app/controllers/oauth2_provider/clients_controller.rb
162
+ - app/controllers/oauth2_provider/scopes_controller.rb
163
+ - app/controllers/oauth2_provider/token_controller.rb
164
+ - app/helpers/clients_helper.rb
165
+ - app/helpers/oauth2_provider/application_helper.rb
166
+ - app/models/oauth2_provider/client.rb
167
+ - app/models/oauth2_provider/document.rb
168
+ - app/models/oauth2_provider/oauth_access.rb
169
+ - app/models/oauth2_provider/oauth_authorization.rb
170
+ - app/models/oauth2_provider/oauth_daily_request.rb
171
+ - app/models/oauth2_provider/oauth_refresh_token.rb
172
+ - app/models/oauth2_provider/oauth_token.rb
173
+ - app/models/oauth2_provider/scope.rb
174
+ - app/views/layouts/oauth2_provider/application.html.erb
175
+ - app/views/oauth2_provider/accesses/index.html.erb
176
+ - app/views/oauth2_provider/accesses/show.html.erb
177
+ - app/views/oauth2_provider/clients/_form.html.erb
178
+ - app/views/oauth2_provider/clients/edit.html.erb
179
+ - app/views/oauth2_provider/clients/index.html.erb
180
+ - app/views/oauth2_provider/clients/new.html.erb
181
+ - app/views/oauth2_provider/clients/show.html.erb
182
+ - app/views/oauth2_provider/scopes/_form.html.erb
183
+ - app/views/oauth2_provider/scopes/edit.html.erb
184
+ - app/views/oauth2_provider/scopes/index.html.erb
185
+ - app/views/oauth2_provider/scopes/new.html.erb
186
+ - app/views/oauth2_provider/scopes/show.html.erb
187
+ - app/views/shared/authorize.html.erb
188
+ - app/views/shared/token.json.erb
189
+ - config/locales/en.yml
190
+ - config/oauth.yml
191
+ - config/routes.rb
192
+ - lib/oauth2_provider/controller_mixin.rb
193
+ - lib/oauth2_provider/engine.rb
194
+ - lib/oauth2_provider.rb
195
+ - lib/oauth2_provider_engine/version.rb
196
+ - lib/oauth2_provider_engine.rb
197
+ - MIT-LICENSE
198
+ - Rakefile
199
+ - README.rdoc
200
+ - test/dummy/app/assets/stylesheets/reset.css
201
+ - test/dummy/app/assets/stylesheets/template.css
202
+ - test/dummy/app/controllers/application_controller.rb
203
+ - test/dummy/app/controllers/pastas_controller.rb
204
+ - test/dummy/app/controllers/pizzas_controller.rb
205
+ - test/dummy/app/controllers/sessions_controller.rb
206
+ - test/dummy/app/controllers/users_controller.rb
207
+ - test/dummy/app/models/user.rb
208
+ - test/dummy/app/views/layouts/application.html.erb
209
+ - test/dummy/app/views/sessions/new.html.erb
210
+ - test/dummy/app/views/shared/403.json.erb
211
+ - test/dummy/app/views/shared/404.json.erb
212
+ - test/dummy/app/views/shared/422.json.erb
213
+ - test/dummy/app/views/shared/500.json.erb
214
+ - test/dummy/app/views/shared/html/404.html.erb
215
+ - test/dummy/app/views/shared/html/422.html.erb
216
+ - test/dummy/app/views/users/_form.html.erb
217
+ - test/dummy/app/views/users/edit.html.erb
218
+ - test/dummy/app/views/users/index.html.erb
219
+ - test/dummy/app/views/users/new.html.erb
220
+ - test/dummy/app/views/users/show.html.erb
221
+ - test/dummy/app/views/users/show.json.erb
222
+ - test/dummy/CHANGELOG.rdoc
223
+ - test/dummy/config/application.rb
224
+ - test/dummy/config/boot.rb
225
+ - test/dummy/config/cucumber.yml
226
+ - test/dummy/config/environment.rb
227
+ - test/dummy/config/environments/development.rb
228
+ - test/dummy/config/environments/production.rb
229
+ - test/dummy/config/environments/test.rb
230
+ - test/dummy/config/initializers/backtrace_silencers.rb
231
+ - test/dummy/config/initializers/inflections.rb
232
+ - test/dummy/config/initializers/mime_types.rb
233
+ - test/dummy/config/initializers/secret_token.rb
234
+ - test/dummy/config/initializers/session_store.rb
235
+ - test/dummy/config/initializers/test.rb
236
+ - test/dummy/config/locales/en.yml
237
+ - test/dummy/config/mongoid.yml
238
+ - test/dummy/config/routes.rb
239
+ - test/dummy/config.ru
240
+ - test/dummy/db/seeds.rb
241
+ - test/dummy/doc/README_FOR_APP
242
+ - test/dummy/Gemfile
243
+ - test/dummy/Gemfile.lock
244
+ - test/dummy/lib/tasks/cucumber.rake
245
+ - test/dummy/lib/tasks/watchr.rake
246
+ - test/dummy/public/404.html
247
+ - test/dummy/public/422.html
248
+ - test/dummy/public/500.html
249
+ - test/dummy/public/favicon.ico
250
+ - test/dummy/public/robots.txt
251
+ - test/dummy/Rakefile
252
+ - test/dummy/README.rdoc
253
+ - test/dummy/script/cucumber
254
+ - test/dummy/script/rails
255
+ - test/dummy/spec/acceptance/acceptance_helper.rb
256
+ - test/dummy/spec/acceptance/accesses_controller_spec.rb
257
+ - test/dummy/spec/acceptance/clients_controller_spec.rb
258
+ - test/dummy/spec/acceptance/oauth_authorize_controller_spec.rb
259
+ - test/dummy/spec/acceptance/oauth_token_controller_spec.rb
260
+ - test/dummy/spec/acceptance/resource_controller_spec.rb
261
+ - test/dummy/spec/acceptance/scopes_controller_spec.rb
262
+ - test/dummy/spec/acceptance/support/helpers.rb
263
+ - test/dummy/spec/acceptance/support/paths.rb
264
+ - test/dummy/spec/acceptance/support/view_helpers.rb
265
+ - test/dummy/spec/acceptance/users_controller_spec.rb
266
+ - test/dummy/spec/extras/scope_spec.rb
267
+ - test/dummy/spec/factories/oauth.rb
268
+ - test/dummy/spec/models/oauth/client_spec.rb
269
+ - test/dummy/spec/models/oauth/oauth_access_spec.rb
270
+ - test/dummy/spec/models/oauth/oauth_authorization_spec.rb
271
+ - test/dummy/spec/models/oauth/oauth_daily_request_spec.rb
272
+ - test/dummy/spec/models/oauth/oauth_refresh_token_spec.rb
273
+ - test/dummy/spec/models/oauth/oauth_token_spec.rb
274
+ - test/dummy/spec/models/scope_spec.rb
275
+ - test/dummy/spec/spec_helper.rb
276
+ - test/dummy/spec/support/settings_helper.rb
277
+ - test/dummy/test/initializers/capybara_headers_hack.rb
278
+ - test/dummy/VERSION
279
+ - test/oauth2_provider_test.rb
280
+ - test/test_helper.rb
281
+ homepage: https://github.com/timgaleckas/oauth2_provider_engine
282
+ licenses: []
283
+ post_install_message:
284
+ rdoc_options: []
285
+ require_paths:
286
+ - lib
287
+ required_ruby_version: !ruby/object:Gem::Requirement
288
+ none: false
289
+ requirements:
290
+ - - ! '>='
291
+ - !ruby/object:Gem::Version
292
+ version: '0'
293
+ required_rubygems_version: !ruby/object:Gem::Requirement
294
+ none: false
295
+ requirements:
296
+ - - ! '>='
297
+ - !ruby/object:Gem::Version
298
+ version: '0'
299
+ requirements: []
300
+ rubyforge_project:
301
+ rubygems_version: 1.8.23
302
+ signing_key:
303
+ specification_version: 3
304
+ summary: This is a rails 3 engine that provides a source for oauth2 authentication
305
+ test_files:
306
+ - test/dummy/app/assets/stylesheets/reset.css
307
+ - test/dummy/app/assets/stylesheets/template.css
308
+ - test/dummy/app/controllers/application_controller.rb
309
+ - test/dummy/app/controllers/pastas_controller.rb
310
+ - test/dummy/app/controllers/pizzas_controller.rb
311
+ - test/dummy/app/controllers/sessions_controller.rb
312
+ - test/dummy/app/controllers/users_controller.rb
313
+ - test/dummy/app/models/user.rb
314
+ - test/dummy/app/views/layouts/application.html.erb
315
+ - test/dummy/app/views/sessions/new.html.erb
316
+ - test/dummy/app/views/shared/403.json.erb
317
+ - test/dummy/app/views/shared/404.json.erb
318
+ - test/dummy/app/views/shared/422.json.erb
319
+ - test/dummy/app/views/shared/500.json.erb
320
+ - test/dummy/app/views/shared/html/404.html.erb
321
+ - test/dummy/app/views/shared/html/422.html.erb
322
+ - test/dummy/app/views/users/_form.html.erb
323
+ - test/dummy/app/views/users/edit.html.erb
324
+ - test/dummy/app/views/users/index.html.erb
325
+ - test/dummy/app/views/users/new.html.erb
326
+ - test/dummy/app/views/users/show.html.erb
327
+ - test/dummy/app/views/users/show.json.erb
328
+ - test/dummy/CHANGELOG.rdoc
329
+ - test/dummy/config/application.rb
330
+ - test/dummy/config/boot.rb
331
+ - test/dummy/config/cucumber.yml
332
+ - test/dummy/config/environment.rb
333
+ - test/dummy/config/environments/development.rb
334
+ - test/dummy/config/environments/production.rb
335
+ - test/dummy/config/environments/test.rb
336
+ - test/dummy/config/initializers/backtrace_silencers.rb
337
+ - test/dummy/config/initializers/inflections.rb
338
+ - test/dummy/config/initializers/mime_types.rb
339
+ - test/dummy/config/initializers/secret_token.rb
340
+ - test/dummy/config/initializers/session_store.rb
341
+ - test/dummy/config/initializers/test.rb
342
+ - test/dummy/config/locales/en.yml
343
+ - test/dummy/config/mongoid.yml
344
+ - test/dummy/config/routes.rb
345
+ - test/dummy/config.ru
346
+ - test/dummy/db/seeds.rb
347
+ - test/dummy/doc/README_FOR_APP
348
+ - test/dummy/Gemfile
349
+ - test/dummy/Gemfile.lock
350
+ - test/dummy/lib/tasks/cucumber.rake
351
+ - test/dummy/lib/tasks/watchr.rake
352
+ - test/dummy/public/404.html
353
+ - test/dummy/public/422.html
354
+ - test/dummy/public/500.html
355
+ - test/dummy/public/favicon.ico
356
+ - test/dummy/public/robots.txt
357
+ - test/dummy/Rakefile
358
+ - test/dummy/README.rdoc
359
+ - test/dummy/script/cucumber
360
+ - test/dummy/script/rails
361
+ - test/dummy/spec/acceptance/acceptance_helper.rb
362
+ - test/dummy/spec/acceptance/accesses_controller_spec.rb
363
+ - test/dummy/spec/acceptance/clients_controller_spec.rb
364
+ - test/dummy/spec/acceptance/oauth_authorize_controller_spec.rb
365
+ - test/dummy/spec/acceptance/oauth_token_controller_spec.rb
366
+ - test/dummy/spec/acceptance/resource_controller_spec.rb
367
+ - test/dummy/spec/acceptance/scopes_controller_spec.rb
368
+ - test/dummy/spec/acceptance/support/helpers.rb
369
+ - test/dummy/spec/acceptance/support/paths.rb
370
+ - test/dummy/spec/acceptance/support/view_helpers.rb
371
+ - test/dummy/spec/acceptance/users_controller_spec.rb
372
+ - test/dummy/spec/extras/scope_spec.rb
373
+ - test/dummy/spec/factories/oauth.rb
374
+ - test/dummy/spec/models/oauth/client_spec.rb
375
+ - test/dummy/spec/models/oauth/oauth_access_spec.rb
376
+ - test/dummy/spec/models/oauth/oauth_authorization_spec.rb
377
+ - test/dummy/spec/models/oauth/oauth_daily_request_spec.rb
378
+ - test/dummy/spec/models/oauth/oauth_refresh_token_spec.rb
379
+ - test/dummy/spec/models/oauth/oauth_token_spec.rb
380
+ - test/dummy/spec/models/scope_spec.rb
381
+ - test/dummy/spec/spec_helper.rb
382
+ - test/dummy/spec/support/settings_helper.rb
383
+ - test/dummy/test/initializers/capybara_headers_hack.rb
384
+ - test/dummy/VERSION
385
+ - test/oauth2_provider_test.rb
386
+ - test/test_helper.rb
387
+ has_rdoc: