rspeckled 0.0.64 → 1.0.0

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: 977eae2b5464bb0b04a502cf7c84be528e47af529e611e80744bd8de7a73335c
4
- data.tar.gz: afea3de58c037d73ad3bf5205d373c8092a1f222af08cdfdba0454cffa16f101
3
+ metadata.gz: b0465932568a9899b59a5c4d32be8be14b32f49bc4a230d46bd82208bbe5f9cf
4
+ data.tar.gz: '0910ea97572d3992772d392a8aaeda888060426336f9c40bddfdf1a35e6bce93'
5
5
  SHA512:
6
- metadata.gz: 1da71c0a69f928a2899c2f6db28573c1b711edf64c4cb1f8c2849e87bda32b8e81cc49a899e95990c6f7eb41670a85ace6c3272b42b49200f162fcc8cf8a7f1f
7
- data.tar.gz: 1bc7b5aa3fafcfa79ec8a1586b997f9a979d440375a70934c6b67c22af4abf5801be23772deb5be17096191438641b0fe66ec772af9f4b659d7ab76fd0ba1ca4
6
+ metadata.gz: c8868d7ef62250b3ea7980b2a6f45a18f7ce4e81e12b5c29b2e1f57ccf0f03a8f0fba03aae30a8c4798d3d02a67b1580328e1a25f8fea277e3be54e3a3e10c4d
7
+ data.tar.gz: ea89b89d7564066515889dcd2250e669f8fe2c28797d12cc1c57e37bad243974731dfde119fc3cf194846c45fd4d52a3214b0de57dddd31111e3ce1f5ef2a0bc
checksums.yaml.gz.sig CHANGED
Binary file
@@ -2,13 +2,13 @@
2
2
 
3
3
  # rubocop:disable Layout/IndentHash
4
4
  RSpec.configure do |config|
5
- config.around(:each, :auth => lambda { |v| !!v }) do |example|
6
- options = if example.metadata[:auth].is_a?(Hash)
7
- example.metadata[:auth]
5
+ config.around(:each, :authentication => lambda { |v| !!v }) do |example|
6
+ options = if example.metadata[:authentication].is_a?(Hash)
7
+ example.metadata[:authentication]
8
8
  else
9
9
  {
10
10
  :token => {
11
- :roles => example.metadata[:auth],
11
+ :roles => example.metadata[:authentication],
12
12
  },
13
13
  }
14
14
  end
@@ -93,7 +93,7 @@ RSpec.configure do |config|
93
93
  instance.delete unless options[:strategy] == :instance
94
94
  end
95
95
 
96
- config.before(:each, :auth => lambda { |v| !!v }) do |_example|
96
+ config.before(:each, :authentication => lambda { |v| !!v }) do |_example|
97
97
  request.env['X_JSON_WEB_TOKEN'] = @token_data
98
98
  end
99
99
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rspeckled
4
- VERSION = '0.0.64'
4
+ VERSION = '1.0.0'
5
5
  end
data.tar.gz.sig CHANGED
Binary file
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.64
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - thegranddesign
metadata.gz.sig CHANGED
Binary file