rspeckled 0.0.45 → 0.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e49aaff35f0dc2dcea096400705e77c1423c163919c3632acaaedbe82e0c858
4
- data.tar.gz: 63b41e9b8a33d584475387c6a7bc795876724e44036d54f1dceae1f20db8d2a5
3
+ metadata.gz: c665ed632db9a4229eada3175de519ec4d0a70978b326f4d00ca4dae524a9438
4
+ data.tar.gz: 7f630eff7b28b143fc52e32e131dc241f092b13d8a42a4ca13e416753a16fe26
5
5
  SHA512:
6
- metadata.gz: 916b10bdf5725bf621336dfd8fe824ce9ef65d4bb0e9dc60a1d1a135a5957efaa52e336a9e096c2c053713cc00e4a0def64fc5f0a19b12bfaf68756802e98664
7
- data.tar.gz: d1a269f6293a624ff5f197be3412cc77d8f1f221be932c13d5471ebc343b6b5389f3eaa96a4b9bee8d3598e607e8e020061de40a727ce4ec8ff4239cd9d8ca53
6
+ metadata.gz: a196369831304f0927c8389b689da4cf065f84498ca3f627d002c763c63ca3fac3059bad31df5aa961a64dad264d507ec4c4adfb7dc3be52c6249543b9879553
7
+ data.tar.gz: 0c1eb96ca0cef6722554bad73adbfde0b1e33863eddec81f894ddbc0a3c06edd7fcc12e8c2e931031dc27bef9c8884d9c493d5e3b61f7d41568f71f9bdbcc47a
checksums.yaml.gz.sig CHANGED
Binary file
@@ -96,13 +96,13 @@ RSpec.configure do |config|
96
96
  {
97
97
  'iss' => 'rspeckled',
98
98
  'own' => instance['account_id'] || instance['id'],
99
- 'sub' => instance.class.name,
99
+ 'sub' => options[:subject] || instance.class.name,
100
100
  'aud' => 'rspec',
101
101
  'exp' => 1.day.from_now.utc.to_i,
102
102
  'nbf' => 1.day.ago.utc.to_i,
103
103
  'iat' => Time.now.utc.to_i,
104
104
  'jti' => SecureRandom.uuid,
105
- 'sid' => instance['account_id'] || instance['id'],
105
+ 'sid' => options[:subject_id] || instance['account_id'] || instance['id'],
106
106
  'rol' => options[:roles] || 'standard',
107
107
  },
108
108
  {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rspeckled
4
- VERSION = '0.0.45'
4
+ VERSION = '0.0.46'
5
5
  end
data.tar.gz.sig CHANGED
@@ -1 +1,2 @@
1
- ?��uS��'d>�Y j;ZPl���k�{x��$�h��&_��e~� t1����%B'W��B'�38��(��:��Y����QV�LC���Gvi&;�4�b��R
1
+ T���k4�jU�Pi����G�S$�#������_+<��R��"���_s~�#���]��1Y
2
+ �Y8nC؏�*����жB8� �F�V ���?ԩs�笙� R����A �Kp��l� Q, ~���
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspeckled
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.45
4
+ version: 0.0.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - thegranddesign
@@ -31,7 +31,7 @@ cert_chain:
31
31
  Y2GAoHKstmfIVhc4XHOPpmTd2o/C29O9oaRgjrkfQEhF/KvJ/PhoV5hvokzsCyI5
32
32
  iUeXPfvrGD/itYIBCgk+fnzyQQ4QtE5hTQaWQ3o2
33
33
  -----END CERTIFICATE-----
34
- date: 2018-05-19 00:00:00.000000000 Z
34
+ date: 2018-05-22 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
metadata.gz.sig CHANGED
Binary file