bumbleworks 0.0.82 → 0.0.83
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/lib/bumbleworks/version.rb +1 -1
- data/lib/bumbleworks/worker.rb +1 -0
- data/spec/lib/bumbleworks/worker_spec.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bbe5633b5e019dd963d0fd388f304e1805749ed2
|
|
4
|
+
data.tar.gz: cc10cc123580d14e05df088b012d0c989555d5fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7bdb8d8622de7bc9c31134407c538bd7b6a980f38c3cdd9d9f06acab52069c795967be856817cd662e648aee0f7ea3093e5284c54f5682f0faa6e5ab8a5c215b
|
|
7
|
+
data.tar.gz: 43fc6230d31fe63671d94d9bdf8166f9ac81210fe4a267958fab676f3aea5046f5476776eada5969234d1ea1bbb7bf296309a8b91b6b3653979d42b2a04647fa
|
data/lib/bumbleworks/version.rb
CHANGED
data/lib/bumbleworks/worker.rb
CHANGED
|
@@ -119,8 +119,9 @@ describe Bumbleworks::Worker do
|
|
|
119
119
|
end
|
|
120
120
|
|
|
121
121
|
describe '.shutdown_all' do
|
|
122
|
-
it 'changes
|
|
123
|
-
expect(described_class).to receive(:change_worker_state).with('stopped', {})
|
|
122
|
+
it 'changes worker states to stopped, then resets to running' do
|
|
123
|
+
expect(described_class).to receive(:change_worker_state).with('stopped', {}).ordered
|
|
124
|
+
expect(described_class).to receive(:change_worker_state).with('running', {}).ordered
|
|
124
125
|
described_class.shutdown_all
|
|
125
126
|
end
|
|
126
127
|
end
|