clockwork-mocks 1.1.0 → 1.1.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 +4 -4
- data/README.md +3 -3
- data/lib/clockwork_mocks/clockwork_task.rb +1 -1
- data/lib/clockwork_mocks/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b436d9635aa6860b72e5bac1b000a593d4ef227
|
|
4
|
+
data.tar.gz: 7b83532781c99ab48aa9fbc5fc779edbfb6250c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 33323cf68d95c4adca58d2f829ae6a6ec0e18564944abec53c941cb369f57ce2d6e3a570c345246420239a7db1495240399e3daacb273f3cd1da21b2c5adde46
|
|
7
|
+
data.tar.gz: 0106ded73688114d79879b0a9b5a315af1dc292fd614de25d98c6d80c7921d790823882786694d439116d600e069d23988d3c3b564c819290e673de6b5e8797b
|
data/README.md
CHANGED
|
@@ -39,7 +39,7 @@ RSpec.describe ... do
|
|
|
39
39
|
clockwork_scheduler = nil
|
|
40
40
|
|
|
41
41
|
before do
|
|
42
|
-
clockwork_scheduler ||= ClockworkMocks::Scheduler.init_rspec(
|
|
42
|
+
clockwork_scheduler ||= ClockworkMocks::Scheduler.init_rspec(metod(:allow), method(:receive), 'path/to/clock.rb')
|
|
43
43
|
clockwork_scheduler.reset!
|
|
44
44
|
end
|
|
45
45
|
end
|
|
@@ -112,8 +112,8 @@ This project is intended to be a safe, welcoming space for collaboration, and co
|
|
|
112
112
|
|
|
113
113
|
### TODO
|
|
114
114
|
|
|
115
|
-
[x] Basic support for tasks with block
|
|
116
|
-
[x] Support for `Clockwork.handler`
|
|
115
|
+
- [x] Basic support for tasks with block
|
|
116
|
+
- [x] Support for `Clockwork.handler`
|
|
117
117
|
|
|
118
118
|
## License
|
|
119
119
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: clockwork-mocks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Poetzsch-Heffter
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-09-
|
|
11
|
+
date: 2017-09-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: clockwork
|