devise-doorkeeper 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/.travis.yml +1 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +69 -0
  7. data/Rakefile +18 -0
  8. data/devise-doorkeeper.gemspec +35 -0
  9. data/lib/devise/doorkeeper.rb +24 -0
  10. data/lib/devise/doorkeeper/version.rb +5 -0
  11. data/lib/devise/strategies/doorkeeper.rb +53 -0
  12. data/spec/dummy/.rspec +2 -0
  13. data/spec/dummy/README.rdoc +28 -0
  14. data/spec/dummy/Rakefile +6 -0
  15. data/spec/dummy/app/assets/images/.keep +0 -0
  16. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  17. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  18. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  19. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  20. data/spec/dummy/app/controllers/example_controller.rb +7 -0
  21. data/spec/dummy/app/controllers/welcome_controller.rb +2 -0
  22. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  23. data/spec/dummy/app/mailers/.keep +0 -0
  24. data/spec/dummy/app/models/.keep +0 -0
  25. data/spec/dummy/app/models/concerns/.keep +0 -0
  26. data/spec/dummy/app/models/user.rb +7 -0
  27. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  28. data/spec/dummy/app/views/welcome/index.html.erb +0 -0
  29. data/spec/dummy/bin/bundle +3 -0
  30. data/spec/dummy/bin/rails +4 -0
  31. data/spec/dummy/bin/rake +4 -0
  32. data/spec/dummy/config.ru +4 -0
  33. data/spec/dummy/config/application.rb +28 -0
  34. data/spec/dummy/config/boot.rb +5 -0
  35. data/spec/dummy/config/database.yml +25 -0
  36. data/spec/dummy/config/environment.rb +5 -0
  37. data/spec/dummy/config/environments/development.rb +37 -0
  38. data/spec/dummy/config/environments/production.rb +78 -0
  39. data/spec/dummy/config/environments/test.rb +39 -0
  40. data/spec/dummy/config/initializers/assets.rb +8 -0
  41. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  42. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  43. data/spec/dummy/config/initializers/devise.rb +259 -0
  44. data/spec/dummy/config/initializers/doorkeeper.rb +108 -0
  45. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  46. data/spec/dummy/config/initializers/inflections.rb +16 -0
  47. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  48. data/spec/dummy/config/initializers/session_store.rb +3 -0
  49. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  50. data/spec/dummy/config/locales/devise.en.yml +60 -0
  51. data/spec/dummy/config/locales/doorkeeper.en.yml +151 -0
  52. data/spec/dummy/config/locales/en.yml +23 -0
  53. data/spec/dummy/config/routes.rb +5 -0
  54. data/spec/dummy/config/secrets.yml +22 -0
  55. data/spec/dummy/db/migrate/20150120154622_create_users.rb +8 -0
  56. data/spec/dummy/db/migrate/20150120154657_create_doorkeeper_tables.rb +42 -0
  57. data/spec/dummy/db/migrate/20150120162830_add_devise_to_users.rb +49 -0
  58. data/spec/dummy/db/schema.rb +80 -0
  59. data/spec/dummy/lib/assets/.keep +0 -0
  60. data/spec/dummy/log/.keep +0 -0
  61. data/spec/dummy/public/404.html +67 -0
  62. data/spec/dummy/public/422.html +67 -0
  63. data/spec/dummy/public/500.html +66 -0
  64. data/spec/dummy/public/favicon.ico +0 -0
  65. data/spec/factories/access_tokens.rb +6 -0
  66. data/spec/factories/applications.rb +8 -0
  67. data/spec/factories/users.rb +8 -0
  68. data/spec/rails_helper.rb +50 -0
  69. data/spec/requests/oauth/bearer_tokens_spec.rb +57 -0
  70. data/spec/requests/oauth/password_grant_spec.rb +68 -0
  71. data/spec/spec_helper.rb +81 -0
  72. data/spec/support/factory_girl.rb +6 -0
  73. data/spec/support/json_spec.rb +4 -0
  74. data/spec/support/pry.rb +1 -0
  75. metadata +365 -0
@@ -0,0 +1,68 @@
1
+ require 'rails_helper'
2
+
3
+ RSpec.describe 'oauth/tokens password grant flow', type: :request do
4
+ context 'with valid username/password' do
5
+ with :user
6
+ with :application
7
+ let(:params) do
8
+ {
9
+ client_id: application.uid,
10
+ client_secret: application.secret,
11
+ username: user.email,
12
+ password: user.password,
13
+ grant_type: 'password'
14
+ }
15
+ end
16
+ let(:headers) { {} }
17
+ let(:expected_response) do
18
+ {
19
+ access_token: @new_token.token,
20
+ token_type: 'bearer',
21
+ expires_in: 'ignored',
22
+ created_at: 'ignored'
23
+ }.to_json
24
+ end
25
+ before do
26
+ post '/oauth/token', params, headers
27
+ @new_token = Doorkeeper::AccessToken.last
28
+ end
29
+ it { expect(response.status).to eq 200 }
30
+ it { expect(response.body).to be_json_eql(expected_response).excluding('expires_in', 'created_at') }
31
+ end
32
+ context 'with invalid password' do
33
+ with :user
34
+ with :application
35
+ let(:params) do
36
+ {
37
+ client_id: application.uid,
38
+ client_secret: application.secret,
39
+ username: user.email,
40
+ password: 'invalid password',
41
+ grant_type: 'password'
42
+ }
43
+ end
44
+ let(:headers) { {} }
45
+ before do
46
+ post '/oauth/token', params, headers
47
+ end
48
+ it { expect(response.status).to eq 401 }
49
+ end
50
+ context 'with invalid username' do
51
+ with :user
52
+ with :application
53
+ let(:params) do
54
+ {
55
+ client_id: application.uid,
56
+ client_secret: application.secret,
57
+ username: 'invalid username',
58
+ password: 'invalid password',
59
+ grant_type: 'password'
60
+ }
61
+ end
62
+ let(:headers) { {} }
63
+ before do
64
+ post '/oauth/token', params, headers
65
+ end
66
+ it { expect(response.status).to eq 401 }
67
+ end
68
+ end
@@ -0,0 +1,81 @@
1
+ # This file was generated by the `rails generate rspec:install` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
4
+ # file to always be loaded, without a need to explicitly require it in any files.
5
+ #
6
+ # Given that it is always loaded, you are encouraged to keep this file as
7
+ # light-weight as possible. Requiring heavyweight dependencies from this file
8
+ # will add to the boot time of your test suite on EVERY test run, even for an
9
+ # individual file that may not need all of that loaded. Instead, consider making
10
+ # a separate helper file that requires the additional dependencies and performs
11
+ # the additional setup, and require it from the spec files that actually need it.
12
+ #
13
+ # The `.rspec` file also contains a few flags that are not defaults but that
14
+ # users commonly want.
15
+ #
16
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
17
+ RSpec.configure do |config|
18
+ # rspec-expectations config goes here. You can use an alternate
19
+ # assertion/expectation library such as wrong or the stdlib/minitest
20
+ # assertions if you prefer.
21
+ config.expect_with :rspec do |expectations|
22
+ # This option will default to `true` in RSpec 4. It makes the `description`
23
+ # and `failure_message` of custom matchers include text for helper methods
24
+ # defined using `chain`, e.g.:
25
+ # be_bigger_than(2).and_smaller_than(4).description
26
+ # # => "be bigger than 2 and smaller than 4"
27
+ # ...rather than:
28
+ # # => "be bigger than 2"
29
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
30
+ end
31
+
32
+ # rspec-mocks config goes here. You can use an alternate test double
33
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
34
+ config.mock_with :rspec do |mocks|
35
+ # Prevents you from mocking or stubbing a method that does not exist on
36
+ # a real object. This is generally recommended, and will default to
37
+ # `true` in RSpec 4.
38
+ mocks.verify_partial_doubles = true
39
+ end
40
+
41
+ # These two settings work together to allow you to limit a spec run
42
+ # to individual examples or groups you care about by tagging them with
43
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
44
+ # get run.
45
+ config.filter_run :focus
46
+ config.run_all_when_everything_filtered = true
47
+
48
+ # Limits the available syntax to the non-monkey patched syntax that is recommended.
49
+ # For more details, see:
50
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
51
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
52
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
53
+ config.disable_monkey_patching!
54
+
55
+ # Many RSpec users commonly either run the entire suite or an individual
56
+ # file, and it's useful to allow more verbose output when running an
57
+ # individual spec file.
58
+ if config.files_to_run.one?
59
+ # Use the documentation formatter for detailed output,
60
+ # unless a formatter has already been configured
61
+ # (e.g. via a command-line flag).
62
+ config.default_formatter = 'doc'
63
+ end
64
+
65
+ # Print the 10 slowest examples and example groups at the
66
+ # end of the spec run, to help surface which specs are running
67
+ # particularly slow.
68
+ config.profile_examples = 10
69
+
70
+ # Run specs in random order to surface order dependencies. If you find an
71
+ # order dependency and want to debug it, you can fix the order by providing
72
+ # the seed, which is printed after each run.
73
+ # --seed 1234
74
+ config.order = :random
75
+
76
+ # Seed global randomization in this process using the `--seed` CLI option.
77
+ # Setting this allows you to use `--seed` to deterministically reproduce
78
+ # test failures related to randomization by passing the same `--seed` value
79
+ # as the one that triggered the failure.
80
+ Kernel.srand config.seed
81
+ end
@@ -0,0 +1,6 @@
1
+ require 'faker'
2
+ require 'factory_girl_rspec'
3
+ require 'factory_girl_rails'
4
+ FactoryGirl.definition_file_paths = [
5
+ File.join(__dir__, '../factories')
6
+ ]
@@ -0,0 +1,4 @@
1
+ require 'json_spec'
2
+ RSpec.configure do |config|
3
+ config.include JsonSpec::Helpers
4
+ end
@@ -0,0 +1 @@
1
+ require 'pry'
metadata ADDED
@@ -0,0 +1,365 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: devise-doorkeeper
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Ryan Sonnek
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-01-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: devise
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: doorkeeper
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.7'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.7'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: factory_girl_rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: factory_girl_rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: faker
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: json_spec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: sqlite3
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: coveralls
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: pry
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rake
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '10.0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '10.0'
195
+ description: " Support authentication via OAuth2 tokens dispensed from the Doorkeeper
196
+ authorization flow "
197
+ email:
198
+ - ryan@codecrate.com
199
+ executables: []
200
+ extensions: []
201
+ extra_rdoc_files: []
202
+ files:
203
+ - ".gitignore"
204
+ - ".travis.yml"
205
+ - Gemfile
206
+ - LICENSE.txt
207
+ - README.md
208
+ - Rakefile
209
+ - devise-doorkeeper.gemspec
210
+ - lib/devise/doorkeeper.rb
211
+ - lib/devise/doorkeeper/version.rb
212
+ - lib/devise/strategies/doorkeeper.rb
213
+ - spec/dummy/.rspec
214
+ - spec/dummy/README.rdoc
215
+ - spec/dummy/Rakefile
216
+ - spec/dummy/app/assets/images/.keep
217
+ - spec/dummy/app/assets/javascripts/application.js
218
+ - spec/dummy/app/assets/stylesheets/application.css
219
+ - spec/dummy/app/controllers/application_controller.rb
220
+ - spec/dummy/app/controllers/concerns/.keep
221
+ - spec/dummy/app/controllers/example_controller.rb
222
+ - spec/dummy/app/controllers/welcome_controller.rb
223
+ - spec/dummy/app/helpers/application_helper.rb
224
+ - spec/dummy/app/mailers/.keep
225
+ - spec/dummy/app/models/.keep
226
+ - spec/dummy/app/models/concerns/.keep
227
+ - spec/dummy/app/models/user.rb
228
+ - spec/dummy/app/views/layouts/application.html.erb
229
+ - spec/dummy/app/views/welcome/index.html.erb
230
+ - spec/dummy/bin/bundle
231
+ - spec/dummy/bin/rails
232
+ - spec/dummy/bin/rake
233
+ - spec/dummy/config.ru
234
+ - spec/dummy/config/application.rb
235
+ - spec/dummy/config/boot.rb
236
+ - spec/dummy/config/database.yml
237
+ - spec/dummy/config/environment.rb
238
+ - spec/dummy/config/environments/development.rb
239
+ - spec/dummy/config/environments/production.rb
240
+ - spec/dummy/config/environments/test.rb
241
+ - spec/dummy/config/initializers/assets.rb
242
+ - spec/dummy/config/initializers/backtrace_silencers.rb
243
+ - spec/dummy/config/initializers/cookies_serializer.rb
244
+ - spec/dummy/config/initializers/devise.rb
245
+ - spec/dummy/config/initializers/doorkeeper.rb
246
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
247
+ - spec/dummy/config/initializers/inflections.rb
248
+ - spec/dummy/config/initializers/mime_types.rb
249
+ - spec/dummy/config/initializers/session_store.rb
250
+ - spec/dummy/config/initializers/wrap_parameters.rb
251
+ - spec/dummy/config/locales/devise.en.yml
252
+ - spec/dummy/config/locales/doorkeeper.en.yml
253
+ - spec/dummy/config/locales/en.yml
254
+ - spec/dummy/config/routes.rb
255
+ - spec/dummy/config/secrets.yml
256
+ - spec/dummy/db/migrate/20150120154622_create_users.rb
257
+ - spec/dummy/db/migrate/20150120154657_create_doorkeeper_tables.rb
258
+ - spec/dummy/db/migrate/20150120162830_add_devise_to_users.rb
259
+ - spec/dummy/db/schema.rb
260
+ - spec/dummy/lib/assets/.keep
261
+ - spec/dummy/log/.keep
262
+ - spec/dummy/public/404.html
263
+ - spec/dummy/public/422.html
264
+ - spec/dummy/public/500.html
265
+ - spec/dummy/public/favicon.ico
266
+ - spec/dummy/tmp/generated_files/config/routes.rb
267
+ - spec/factories/access_tokens.rb
268
+ - spec/factories/applications.rb
269
+ - spec/factories/users.rb
270
+ - spec/rails_helper.rb
271
+ - spec/requests/oauth/bearer_tokens_spec.rb
272
+ - spec/requests/oauth/password_grant_spec.rb
273
+ - spec/spec_helper.rb
274
+ - spec/support/factory_girl.rb
275
+ - spec/support/json_spec.rb
276
+ - spec/support/pry.rb
277
+ homepage: ''
278
+ licenses:
279
+ - MIT
280
+ metadata: {}
281
+ post_install_message:
282
+ rdoc_options: []
283
+ require_paths:
284
+ - lib
285
+ required_ruby_version: !ruby/object:Gem::Requirement
286
+ requirements:
287
+ - - ">="
288
+ - !ruby/object:Gem::Version
289
+ version: '0'
290
+ required_rubygems_version: !ruby/object:Gem::Requirement
291
+ requirements:
292
+ - - ">="
293
+ - !ruby/object:Gem::Version
294
+ version: '0'
295
+ requirements: []
296
+ rubyforge_project:
297
+ rubygems_version: 2.4.5
298
+ signing_key:
299
+ specification_version: 4
300
+ summary: Integrate Doorkeeper OAuth2 tokens into Devise applications
301
+ test_files:
302
+ - spec/dummy/.rspec
303
+ - spec/dummy/README.rdoc
304
+ - spec/dummy/Rakefile
305
+ - spec/dummy/app/assets/images/.keep
306
+ - spec/dummy/app/assets/javascripts/application.js
307
+ - spec/dummy/app/assets/stylesheets/application.css
308
+ - spec/dummy/app/controllers/application_controller.rb
309
+ - spec/dummy/app/controllers/concerns/.keep
310
+ - spec/dummy/app/controllers/example_controller.rb
311
+ - spec/dummy/app/controllers/welcome_controller.rb
312
+ - spec/dummy/app/helpers/application_helper.rb
313
+ - spec/dummy/app/mailers/.keep
314
+ - spec/dummy/app/models/.keep
315
+ - spec/dummy/app/models/concerns/.keep
316
+ - spec/dummy/app/models/user.rb
317
+ - spec/dummy/app/views/layouts/application.html.erb
318
+ - spec/dummy/app/views/welcome/index.html.erb
319
+ - spec/dummy/bin/bundle
320
+ - spec/dummy/bin/rails
321
+ - spec/dummy/bin/rake
322
+ - spec/dummy/config.ru
323
+ - spec/dummy/config/application.rb
324
+ - spec/dummy/config/boot.rb
325
+ - spec/dummy/config/database.yml
326
+ - spec/dummy/config/environment.rb
327
+ - spec/dummy/config/environments/development.rb
328
+ - spec/dummy/config/environments/production.rb
329
+ - spec/dummy/config/environments/test.rb
330
+ - spec/dummy/config/initializers/assets.rb
331
+ - spec/dummy/config/initializers/backtrace_silencers.rb
332
+ - spec/dummy/config/initializers/cookies_serializer.rb
333
+ - spec/dummy/config/initializers/devise.rb
334
+ - spec/dummy/config/initializers/doorkeeper.rb
335
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
336
+ - spec/dummy/config/initializers/inflections.rb
337
+ - spec/dummy/config/initializers/mime_types.rb
338
+ - spec/dummy/config/initializers/session_store.rb
339
+ - spec/dummy/config/initializers/wrap_parameters.rb
340
+ - spec/dummy/config/locales/devise.en.yml
341
+ - spec/dummy/config/locales/doorkeeper.en.yml
342
+ - spec/dummy/config/locales/en.yml
343
+ - spec/dummy/config/routes.rb
344
+ - spec/dummy/config/secrets.yml
345
+ - spec/dummy/db/migrate/20150120154622_create_users.rb
346
+ - spec/dummy/db/migrate/20150120154657_create_doorkeeper_tables.rb
347
+ - spec/dummy/db/migrate/20150120162830_add_devise_to_users.rb
348
+ - spec/dummy/db/schema.rb
349
+ - spec/dummy/lib/assets/.keep
350
+ - spec/dummy/log/.keep
351
+ - spec/dummy/public/404.html
352
+ - spec/dummy/public/422.html
353
+ - spec/dummy/public/500.html
354
+ - spec/dummy/public/favicon.ico
355
+ - spec/dummy/tmp/generated_files/config/routes.rb
356
+ - spec/factories/access_tokens.rb
357
+ - spec/factories/applications.rb
358
+ - spec/factories/users.rb
359
+ - spec/rails_helper.rb
360
+ - spec/requests/oauth/bearer_tokens_spec.rb
361
+ - spec/requests/oauth/password_grant_spec.rb
362
+ - spec/spec_helper.rb
363
+ - spec/support/factory_girl.rb
364
+ - spec/support/json_spec.rb
365
+ - spec/support/pry.rb