rspeckled 1.0.0 → 1.0.1

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: b0465932568a9899b59a5c4d32be8be14b32f49bc4a230d46bd82208bbe5f9cf
4
- data.tar.gz: '0910ea97572d3992772d392a8aaeda888060426336f9c40bddfdf1a35e6bce93'
3
+ metadata.gz: 5b37d22422a35f920451587e16802c62b833e2b5cd0e86f570009a9e7d191874
4
+ data.tar.gz: 90f7cc87c262c7131d7d0866a720b5b1a95af2c127996575b0867f8b1990a8f1
5
5
  SHA512:
6
- metadata.gz: c8868d7ef62250b3ea7980b2a6f45a18f7ce4e81e12b5c29b2e1f57ccf0f03a8f0fba03aae30a8c4798d3d02a67b1580328e1a25f8fea277e3be54e3a3e10c4d
7
- data.tar.gz: ea89b89d7564066515889dcd2250e669f8fe2c28797d12cc1c57e37bad243974731dfde119fc3cf194846c45fd4d52a3214b0de57dddd31111e3ce1f5ef2a0bc
6
+ metadata.gz: c276d45e6fa8061781902484c9ac8c3b6b3204e3e73c3c45be14be39ddf34b65c693c293e5dc76338f43f8cc4ee30e15671af0c43cb7a325553104ee0ad2e57a
7
+ data.tar.gz: 749f9307d7b79a8f07b8b67cca5fe4928393185f8eb3422d7a322437371aa4a76954ca15289296cc15678e6b93bdb4c55ba8fb3323bb8c00762f3def8f1acf4b
checksums.yaml.gz.sig CHANGED
Binary file
@@ -23,6 +23,13 @@ require 'rspeckled/plugins/test_after_commit' if defined?(::TestAfterCom
23
23
  require 'rspeckled/plugins/wisper' if defined?(::Wisper)
24
24
 
25
25
  RSpec.configure do |config|
26
+ # The Order Of These Matters
27
+
28
+ # Timecop Is First So That Time Is Mocked For Any Subsequent Plugins
29
+ config.when_first_matching_example_defined(:time_mock) do
30
+ require 'rspeckled/plugins/timecop'
31
+ end
32
+
26
33
  config.when_first_matching_example_defined(:authentication) do
27
34
  require 'rspeckled/plugins/authentication'
28
35
  end
@@ -59,10 +66,6 @@ RSpec.configure do |config|
59
66
  require 'rspeckled/plugins/stripe'
60
67
  end
61
68
 
62
- config.when_first_matching_example_defined(:time_mock) do
63
- require 'rspeckled/plugins/timecop'
64
- end
65
-
66
69
  config.when_first_matching_example_defined(:vcr) do
67
70
  require 'rspeckled/plugins/vcr'
68
71
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rspeckled
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
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: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - thegranddesign
metadata.gz.sig CHANGED
Binary file