doorkeeper-sequel 2.2.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72ee1613a7a5a0a76e7637cdef01a3d550d24d47f88eb73320341bd578b0eb47
4
- data.tar.gz: 3930d9e295c17fe8f6442954053c9766e42685434c6abf15217ccb2c50257a47
3
+ metadata.gz: e229ee4d96b1d32f2132faa416c45ba68435609fe73b3ba8d3cb5067f5029f1f
4
+ data.tar.gz: fb32c129445120375a34ed2bcdf463de75dd23b9c25777aaefa74d30c3dac724
5
5
  SHA512:
6
- metadata.gz: b0f9b92e332699473574bbb2ef64bd5bce474f4cc18acb103327a96bdb230924f1f7ae9ded9a70da94ba1892edef88c701e25138acd6007f90363533e558cf64
7
- data.tar.gz: 36a767f5a731de802f92629320991dd04a5e30cff322b12fc627e71d6e12a342222119ec34947b407ec644c27783e0abcfb212e70dab325b7251ef26693cdff4
6
+ metadata.gz: ea84b1d7e8d257dcbeb658f18135f2f92ffd9633455b522fb592ea3ddef4f00b4977d2a2c407822d06b3eb59a80be7c217f84de5c1419126bee5ff27e0ecade2
7
+ data.tar.gz: '0169248d8b9b12cbc394c28e577ffdaca94ef04232e0f40e8f1ecc5a801cd483c03546c4d60e7c28b1d4ae957c35600193764cfe9d52fc6f779cfdbfd354abf8'
data/Gemfile CHANGED
@@ -16,7 +16,7 @@ gem "sequel", ">= 4.0"
16
16
  gem "sequel_polymorphic"
17
17
 
18
18
  gem "bcrypt", "~> 3.1"
19
- gem "doorkeeper", ">= 4.0.0", "< 5.3"
19
+ gem "doorkeeper", ">= 4.0.0", "< 5.5"
20
20
  gem "rails", "~> 5.0"
21
21
 
22
22
  group :test do
data/README.md CHANGED
@@ -16,7 +16,9 @@
16
16
 
17
17
  To start using the Doorkeeper Sequel ORM, add to your Gemfile:
18
18
 
19
- ``` rubygem gem 'doorkeeper', '~> 4.3'
19
+ ``` ruby
20
+ # For Doorkeeper 4.x
21
+ gem 'doorkeeper', '~> 4.3'
20
22
  gem 'doorkeeper-sequel', '~> 1.5'
21
23
 
22
24
  # For Doorkeeper 5.1
@@ -26,6 +28,10 @@ gem 'doorkeeper-sequel', '~> 2.0'
26
28
  # For Doorkeeper >= 5.2
27
29
  gem 'doorkeeper', '~> 5.2'
28
30
  gem 'doorkeeper-sequel', '~> 2.1'
31
+
32
+ # For Doorkeeper >= 5.3
33
+ gem 'doorkeeper', '~> 5.3'
34
+ gem 'doorkeeper-sequel', '~> 2.2'
29
35
  ```
30
36
 
31
37
  Or you can use git `master` branch for the latest gem version:
@@ -23,7 +23,7 @@ Gem::Specification.new do |gem|
23
23
  gem.required_ruby_version = ">= 2.0.0"
24
24
 
25
25
  gem.add_runtime_dependency "bcrypt", "~> 3.1"
26
- gem.add_runtime_dependency "doorkeeper", ">= 5.0.0", "< 5.4"
26
+ gem.add_runtime_dependency "doorkeeper", ">= 5.0.0", "< 5.5"
27
27
  gem.add_runtime_dependency "sequel", ">= 4.0.0", "< 6"
28
28
  gem.add_runtime_dependency "sequel_polymorphic", "~> 0.2", "< 1.0"
29
29
  gem.add_runtime_dependency "thor", ">= 0.18", "< 6"
@@ -10,9 +10,5 @@ gem "sequel", ">= 4.0"
10
10
  gem "sqlite3", "~> 1.3.5"
11
11
 
12
12
  group :test do
13
- gem "rspec-core", git: "https://github.com/rspec/rspec-core.git"
14
- gem "rspec-expectations", git: "https://github.com/rspec/rspec-expectations.git"
15
- gem "rspec-mocks", git: "https://github.com/rspec/rspec-mocks.git"
16
- gem "rspec-rails", "4.0.0.beta3"
17
- gem "rspec-support", git: "https://github.com/rspec/rspec-support.git"
13
+ gem "rspec-rails", "~> 4.0"
18
14
  end
@@ -7,7 +7,7 @@ module DoorkeeperSequel
7
7
 
8
8
  module VERSION
9
9
  MAJOR = 2
10
- MINOR = 2
10
+ MINOR = 3
11
11
  TINY = 0
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY].compact.join(".")
@@ -115,27 +115,50 @@ module DoorkeeperSequel
115
115
  revoked_at: nil).order(Sequel.desc(:created_at))
116
116
  end
117
117
 
118
- def find_or_create_for(application, resource_owner, scopes, expires_in, use_refresh_token)
118
+ def find_or_create_for(*args)
119
+ attributes = if args.size > 1
120
+ {
121
+ application: args[0],
122
+ resource_owner: args[1],
123
+ scopes: args[2],
124
+ expires_in: args[3],
125
+ use_refresh_token: args[4],
126
+ }
127
+ else
128
+ args.first
129
+ end
130
+
131
+ application = attributes[:application]
132
+ resource_owner = attributes[:resource_owner]
133
+ scopes = attributes[:scopes]
134
+ expires_in = attributes[:expires_in]
135
+ use_refresh_token = attributes[:use_refresh_token]
136
+
119
137
  if Doorkeeper.configuration.reuse_access_token
120
138
  access_token = matching_token_for(application, resource_owner, scopes)
121
139
  return access_token if access_token&.reusable?
122
140
  end
123
-
124
-
125
- attributes = {
126
- application_id: application.try(:id),
127
- scopes: scopes.to_s,
141
+
142
+ create_for(
143
+ application: application,
144
+ resource_owner: resource_owner,
145
+ scopes: scopes,
128
146
  expires_in: expires_in,
129
- use_refresh_token: use_refresh_token
130
- }
147
+ use_refresh_token: use_refresh_token,
148
+ )
149
+ end
150
+
151
+ def create_for(application:, resource_owner:, scopes:, **token_attributes)
152
+ token_attributes[:application_id] = application&.id
153
+ token_attributes[:scopes] = scopes.to_s
131
154
 
132
155
  if Doorkeeper.config.polymorphic_resource_owner?
133
- attributes[:resource_owner] = resource_owner
156
+ token_attributes[:resource_owner] = resource_owner
134
157
  else
135
- attributes[:resource_owner_id] = resource_owner_id_for(resource_owner)
158
+ token_attributes[:resource_owner_id] = resource_owner_id_for(resource_owner)
136
159
  end
137
160
 
138
- create!(attributes)
161
+ create!(token_attributes)
139
162
  end
140
163
 
141
164
  def last_authorized_token_for(application_id, resource_owner_id)
@@ -177,7 +200,7 @@ module DoorkeeperSequel
177
200
  end
178
201
  end
179
202
  end
180
-
203
+
181
204
  # It indicates whether the tokens have the same credential
182
205
  def same_credential?(access_token)
183
206
  application_id == access_token.application_id &&
@@ -58,8 +58,20 @@ module DoorkeeperSequel
58
58
  @raw_secret = Doorkeeper::OAuth::Helpers::UniqueToken.generate
59
59
  secret_strategy.store_secret(self, :secret, @raw_secret)
60
60
  end
61
-
62
-
61
+
62
+ def as_json(options = {})
63
+ if (respond_to?(:owner) && owner && owner == options[:current_resource_owner]) ||
64
+ options[:as_owner]
65
+ hash = JSON.parse(to_json, symbolize_names: false)
66
+ else
67
+ only = extract_serializable_attributes(options)
68
+ # TODO: Write our own serializer for Hash
69
+ hash = JSON.parse(to_json(options.merge(only: only)), symbolize_names: false)
70
+ end
71
+ hash["secret"] = plaintext_secret if hash.key?("secret")
72
+ hash
73
+ end
74
+
63
75
  def plaintext_secret
64
76
  if secret_strategy.allows_restoring_secrets?
65
77
  secret_strategy.restore_secret(self, :secret)
@@ -136,7 +148,27 @@ module DoorkeeperSequel
136
148
  end
137
149
 
138
150
  private
139
-
151
+
152
+ def extract_serializable_attributes(options = {})
153
+ opts = options.try(:dup) || {}
154
+ only = Array.wrap(opts[:only]).map(&:to_s)
155
+
156
+ only = if only.blank?
157
+ serializable_attributes
158
+ else
159
+ only & serializable_attributes
160
+ end
161
+
162
+ only -= Array.wrap(opts[:except]).map(&:to_s) if opts.key?(:except)
163
+ only.uniq
164
+ end
165
+
166
+ def serializable_attributes
167
+ attributes = %w[id name created_at]
168
+ attributes << "uid" unless confidential?
169
+ attributes
170
+ end
171
+
140
172
  def has_scopes?
141
173
  Doorkeeper::Application.columns.include?("scopes")
142
174
  end
@@ -40,6 +40,20 @@ module DoorkeeperSequel
40
40
  def exists?
41
41
  !empty?
42
42
  end
43
+
44
+ def with_lock
45
+ return yield if @_tr_is_locked
46
+ @_tr_is_locked = true
47
+
48
+ begin
49
+ db.transaction do
50
+ lock!
51
+ yield
52
+ end
53
+ ensure
54
+ @_tr_is_locked = false
55
+ end
56
+ end
43
57
 
44
58
  alias_method :exist?, :exists?
45
59
  end
@@ -26,11 +26,14 @@ module Doorkeeper
26
26
  end
27
27
  end
28
28
 
29
- def to_json(options = nil)
30
- hash = to_hash.dup
31
- hash.delete(:secret)
32
- hash.merge(secret: plaintext_secret)
33
- .to_json(options)
29
+ def to_json(options = {})
30
+ json = super(options)
31
+ hash = JSON.parse(json, symbolize_names: false)
32
+ if hash.key?("secret")
33
+ hash["secret"] = plaintext_secret
34
+ json = hash.to_json
35
+ end
36
+ json
34
37
  end
35
38
 
36
39
  def self.authorized_for(resource_owner)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doorkeeper-sequel
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikita Bulai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-10 00:00:00.000000000 Z
11
+ date: 2020-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: 5.0.0
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: '5.4'
36
+ version: '5.5'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 5.0.0
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: '5.4'
46
+ version: '5.5'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: sequel
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -274,6 +274,10 @@ files:
274
274
  - spec/controllers/protected_resources_controller_spec.rb
275
275
  - spec/controllers/token_info_controller_spec.rb
276
276
  - spec/controllers/tokens_controller_spec.rb
277
+ - spec/doorkeeper/redirect_uri_validator_spec.rb
278
+ - spec/doorkeeper/server_spec.rb
279
+ - spec/doorkeeper/stale_records_cleaner_spec.rb
280
+ - spec/doorkeeper/version_spec.rb
277
281
  - spec/dummy/Rakefile
278
282
  - spec/dummy/app/assets/config/manifest.js
279
283
  - spec/dummy/app/controllers/application_controller.rb
@@ -310,11 +314,33 @@ files:
310
314
  - spec/dummy/db/migrate/20170822064514_enable_pkce.rb
311
315
  - spec/dummy/db/migrate/20180210183654_add_confidential_to_applications.rb
312
316
  - spec/dummy/db/schema.rb
317
+ - spec/dummy/log/test.log
313
318
  - spec/dummy/public/404.html
314
319
  - spec/dummy/public/422.html
315
320
  - spec/dummy/public/500.html
316
321
  - spec/dummy/public/favicon.ico
317
322
  - spec/dummy/script/rails
323
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/2q/2q4gLQK8jidypAwG-d22Hk7su9YThdEOX1w_AZbZgdg.cache
324
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/4a/4aYsN8bQ4X6HM5LSe9uhXuRmZFvBQvZ3OYwE-IxqjAg.cache
325
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/52/52T5jdrkRnKRgAsV-kr-iT_zmDufy_-Z5UwIRMPM8Hg.cache
326
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/5M/5MUJtZRAgpWm8loyfCLdqteqe3WQMXyKKWFLpQDYBJM.cache
327
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/5U/5UFt8qjOIl6l7GXzikZkCXGFdQG1wV8jgPh3fJmANRQ.cache
328
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/G1/G1GKC-5u-vqWnfAXkvksyvM-yevzmePm9hx9Lykj9lQ.cache
329
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Gk/GkouEZBXxnQma8BwPZl_RJgVrwtSJvX1783CQ14Uow0.cache
330
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/IS/ISEfjWVN6HMIcVvPBRfoSNgwZedPwBdD6J5x2fSB_mg.cache
331
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/MT/MTdZBIfUXALTRT2B3O_9TNoqib-Vv4EBBTk5V0tsQ9I.cache
332
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Ni/Ni8PM9QgIMyZ8BGJ9RRejFYAZnbkvrkEx5VKEErQ3pk.cache
333
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/O8/O8ITu_6f7X4Rdw8wBVCtlJJHEsU-y6r4k1U9myVEfTw.cache
334
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Wa/WalwFtSvf5otEGKuJ4QSYuFg8pwUQVbaePw8g0sFEpA.cache
335
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/bt/btIEur6IN4ZCEDFSTcMLU6f4gnk8dl6kSTRaUw7yXkU.cache
336
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/cI/cI6qjXh3RS7pbjfAImh4M4xKShIc5ql-5pAPvphhNCM.cache
337
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/hw/hwQsncHu-O8FiqzG3NSCPN7NSNDjf3OxnVxAzYtegAE.cache
338
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/jY/jYRDqnJnnWHP71AsrDHTqfy_Sdrg43Hg1eZ6h9L_MWg.cache
339
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/o5/o52ldSMhS9LYBft-F3OdEDS6WzOLSsKTbtusg0qkHw8.cache
340
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/oO/oOuY0_fIleYiJ8S2naModAL1LBq7u7a848AG9EGR8pE.cache
341
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/oT/oT-tmj280GM69WvFzFFtSU13HUmV36eH2eEY6_m1W7U.cache
342
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/qF/qFo4sQupgDwn-ReTfZwddZndB2JVane88QDgF6PcUB4.cache
343
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/uB/uBU0Nlzpazdv1GoFSRKCGGpEz0TlNLFyuFOn6r7_4sc.cache
318
344
  - spec/factories.rb
319
345
  - spec/generators/templates/routes.rb
320
346
  - spec/grape/grape_integration_spec.rb
@@ -354,13 +380,12 @@ files:
354
380
  - spec/lib/oauth/token_request_spec.rb
355
381
  - spec/lib/oauth/token_response_spec.rb
356
382
  - spec/lib/oauth/token_spec.rb
383
+ - spec/lib/option_spec.rb
357
384
  - spec/lib/request/strategy_spec.rb
358
385
  - spec/lib/secret_storing/base_spec.rb
359
386
  - spec/lib/secret_storing/bcrypt_spec.rb
360
387
  - spec/lib/secret_storing/plain_spec.rb
361
388
  - spec/lib/secret_storing/sha256_hash_spec.rb
362
- - spec/lib/server_spec.rb
363
- - spec/lib/stale_records_cleaner_spec.rb
364
389
  - spec/models/doorkeeper/access_grant_spec.rb
365
390
  - spec/models/doorkeeper/access_token_spec.rb
366
391
  - spec/models/doorkeeper/application_spec.rb
@@ -398,14 +423,11 @@ files:
398
423
  - spec/support/helpers/model_helper.rb
399
424
  - spec/support/helpers/request_spec_helper.rb
400
425
  - spec/support/helpers/url_helper.rb
401
- - spec/support/http_method_shim.rb
402
426
  - spec/support/orm/active_record.rb
403
427
  - spec/support/orm/sequel.rb
404
428
  - spec/support/shared/controllers_shared_context.rb
405
429
  - spec/support/shared/hashing_shared_context.rb
406
430
  - spec/support/shared/models_shared_examples.rb
407
- - spec/validators/redirect_uri_validator_spec.rb
408
- - spec/version/version_spec.rb
409
431
  homepage: http://github.com/nbulaj/doorkeeper-sequel
410
432
  licenses:
411
433
  - MIT
@@ -434,7 +456,6 @@ test_files:
434
456
  - spec/routing/default_routes_spec.rb
435
457
  - spec/routing/custom_controller_routes_spec.rb
436
458
  - spec/routing/scoped_routes_spec.rb
437
- - spec/lib/server_spec.rb
438
459
  - spec/lib/oauth/code_response_spec.rb
439
460
  - spec/lib/oauth/token_spec.rb
440
461
  - spec/lib/oauth/code_request_spec.rb
@@ -468,15 +489,14 @@ test_files:
468
489
  - spec/lib/secret_storing/plain_spec.rb
469
490
  - spec/lib/secret_storing/sha256_hash_spec.rb
470
491
  - spec/lib/config_spec.rb
471
- - spec/lib/stale_records_cleaner_spec.rb
472
492
  - spec/lib/models/secret_storable_spec.rb
473
493
  - spec/lib/models/revocable_spec.rb
474
494
  - spec/lib/models/expirable_spec.rb
475
495
  - spec/lib/models/scopes_spec.rb
476
496
  - spec/lib/models/reusable_spec.rb
477
497
  - spec/lib/doorkeeper_spec.rb
498
+ - spec/lib/option_spec.rb
478
499
  - spec/lib/request/strategy_spec.rb
479
- - spec/version/version_spec.rb
480
500
  - spec/spec_helper_integration.rb
481
501
  - spec/stubs/spec_helper_integration.rb
482
502
  - spec/stubs/models/user.rb
@@ -495,6 +515,28 @@ test_files:
495
515
  - spec/models/doorkeeper/access_grant_spec.rb
496
516
  - spec/models/doorkeeper/access_token_spec.rb
497
517
  - spec/dummy/config.ru
518
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/oT/oT-tmj280GM69WvFzFFtSU13HUmV36eH2eEY6_m1W7U.cache
519
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/G1/G1GKC-5u-vqWnfAXkvksyvM-yevzmePm9hx9Lykj9lQ.cache
520
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/4a/4aYsN8bQ4X6HM5LSe9uhXuRmZFvBQvZ3OYwE-IxqjAg.cache
521
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/O8/O8ITu_6f7X4Rdw8wBVCtlJJHEsU-y6r4k1U9myVEfTw.cache
522
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/o5/o52ldSMhS9LYBft-F3OdEDS6WzOLSsKTbtusg0qkHw8.cache
523
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/5M/5MUJtZRAgpWm8loyfCLdqteqe3WQMXyKKWFLpQDYBJM.cache
524
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Ni/Ni8PM9QgIMyZ8BGJ9RRejFYAZnbkvrkEx5VKEErQ3pk.cache
525
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/bt/btIEur6IN4ZCEDFSTcMLU6f4gnk8dl6kSTRaUw7yXkU.cache
526
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/uB/uBU0Nlzpazdv1GoFSRKCGGpEz0TlNLFyuFOn6r7_4sc.cache
527
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Wa/WalwFtSvf5otEGKuJ4QSYuFg8pwUQVbaePw8g0sFEpA.cache
528
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/2q/2q4gLQK8jidypAwG-d22Hk7su9YThdEOX1w_AZbZgdg.cache
529
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/5U/5UFt8qjOIl6l7GXzikZkCXGFdQG1wV8jgPh3fJmANRQ.cache
530
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/52/52T5jdrkRnKRgAsV-kr-iT_zmDufy_-Z5UwIRMPM8Hg.cache
531
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/oO/oOuY0_fIleYiJ8S2naModAL1LBq7u7a848AG9EGR8pE.cache
532
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/hw/hwQsncHu-O8FiqzG3NSCPN7NSNDjf3OxnVxAzYtegAE.cache
533
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/qF/qFo4sQupgDwn-ReTfZwddZndB2JVane88QDgF6PcUB4.cache
534
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/IS/ISEfjWVN6HMIcVvPBRfoSNgwZedPwBdD6J5x2fSB_mg.cache
535
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/MT/MTdZBIfUXALTRT2B3O_9TNoqib-Vv4EBBTk5V0tsQ9I.cache
536
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/jY/jYRDqnJnnWHP71AsrDHTqfy_Sdrg43Hg1eZ6h9L_MWg.cache
537
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/cI/cI6qjXh3RS7pbjfAImh4M4xKShIc5ql-5pAPvphhNCM.cache
538
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Gk/GkouEZBXxnQma8BwPZl_RJgVrwtSJvX1783CQ14Uow0.cache
539
+ - spec/dummy/log/test.log
498
540
  - spec/dummy/config/environment.rb
499
541
  - spec/dummy/config/boot.rb
500
542
  - spec/dummy/config/database.yml
@@ -537,7 +579,6 @@ test_files:
537
579
  - spec/dummy/db/migrate/20111122132257_create_users.rb
538
580
  - spec/support/orm/active_record.rb
539
581
  - spec/support/orm/sequel.rb
540
- - spec/support/http_method_shim.rb
541
582
  - spec/support/dependencies/factory_bot.rb
542
583
  - spec/support/doorkeeper_rspec.rb
543
584
  - spec/support/helpers/config_helper.rb
@@ -549,7 +590,10 @@ test_files:
549
590
  - spec/support/shared/models_shared_examples.rb
550
591
  - spec/support/shared/hashing_shared_context.rb
551
592
  - spec/support/shared/controllers_shared_context.rb
552
- - spec/validators/redirect_uri_validator_spec.rb
593
+ - spec/doorkeeper/server_spec.rb
594
+ - spec/doorkeeper/stale_records_cleaner_spec.rb
595
+ - spec/doorkeeper/version_spec.rb
596
+ - spec/doorkeeper/redirect_uri_validator_spec.rb
553
597
  - spec/generators/templates/routes.rb
554
598
  - spec/factories.rb
555
599
  - spec/spec_helper.rb