rspectacular 0.66.0 → 0.67.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
  SHA1:
3
- metadata.gz: 6e2be1cba5ebdabd045e451ce05f5a002eb66524
4
- data.tar.gz: 04da3367ccdc775b8a41cf5e2045565c345699dc
3
+ metadata.gz: ed024ef276d7d04cc6356cfd1c4840058947c3cc
4
+ data.tar.gz: c2f79ed0238d257d7e30a9f79f92e5675b669d77
5
5
  SHA512:
6
- metadata.gz: 4b245126b06e286292e693fece5afebf05a41920b040553c150a64e20b5b74679170c920247348b8349c2015dd333f234e41e7c4fd29103ace8182c6ccf6de90
7
- data.tar.gz: 19ca16c52fd11fe59253c8f667220b9fb6beb6cc9fdb9013530f2acabb36bf2b2622858d6139c7a9b558029c1552335fc8373ffeb1913a6fc03ee71057a0dea8
6
+ metadata.gz: 515e7927df3cbd100356bfb8f64f26a1b5c59f1d7bcf82994675db6331fec766b106366effdb80fa7673112355821de9c26721bbae422643d3347be4296af05e
7
+ data.tar.gz: e736e2642f56a331fdd2588126f165efc0ae2204708ff3de4087173a78872480ffd33d7a865fcfd2248ff60bcab18583d077d87afcb4da74f65cf20d230b4fb7
@@ -57,11 +57,11 @@ RSpec.configure do |config|
57
57
  authentication_result = authentication_successful ? instance : nil
58
58
 
59
59
  if authentication_type == :standard
60
- authentication_method = if authentication_controller_instance.respond_to?(inferred_auth_method, true)
61
- inferred_auth_method
62
- elsif authentication_controller_instance.respond_to?(:authenticate, true)
63
- :authenticate
64
- end
60
+ authentication_method = if authentication_controller_instance.respond_to?(inferred_auth_method, true)
61
+ inferred_auth_method
62
+ elsif authentication_controller_instance.respond_to?(:authenticate, true)
63
+ :authenticate
64
+ end
65
65
 
66
66
  authentication_controller_class.__send__(:define_method, authentication_method) { authentication_successful }
67
67
  authentication_controller_class.__send__(:define_method, current_class_method) { authentication_result }
@@ -78,6 +78,7 @@ RSpec.configure do |config|
78
78
  [
79
79
  {
80
80
  'iss' => 'rspectacular',
81
+ 'own' => instance['account_id'] || instance['id'],
81
82
  'sub' => example.file_path,
82
83
  'aud' => 'rspec',
83
84
  'exp' => 1.day.from_now.utc.to_i,
@@ -1,3 +1,3 @@
1
1
  module Rspectacular
2
- VERSION = '0.66.0'.freeze
2
+ VERSION = '0.67.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspectacular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.66.0
4
+ version: 0.67.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jfelchner