distribot 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/distribot.gemspec +1 -1
- data/lib/distribot/flow_finished_handler.rb +1 -0
- data/spec/distribot/flow_finished_handler_spec.rb +1 -0
- 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: e0867d9bba2ffe8c165f034542f35fbb64ff4595
|
4
|
+
data.tar.gz: 574293a4f9baba41247e37a22050d29b6beea446
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80f9d8ad43d0645059bbe1a951ed2b581d232d4411acf56236f01e1e0667273c5560b97a91e972518cb9c7c776de7f0d688cbd2a7cf196c03444519e093fd507
|
7
|
+
data.tar.gz: b51057543f9ad2ee0bb89ecf14f8f39f24c507c679bb5ec05a247dc637e8945537ee2ea3535673c3eb993a2ce3773307d63ba9aecef0fb1acd8fccf5fda21047
|
data/Gemfile.lock
CHANGED
data/distribot.gemspec
CHANGED
@@ -24,6 +24,7 @@ describe Distribot::FlowFinishedHandler do
|
|
24
24
|
expect(redis).to receive(:srem).with('distribot.flows.active', @message[:flow_id])
|
25
25
|
expect(Distribot).to receive(:redis).exactly(2).times{ redis }
|
26
26
|
expect(Distribot).to receive(:subscribe)
|
27
|
+
expect(Distribot).to receive(:broadcast!).with('distribot.flow.finished', flow_id: @message[:flow_id])
|
27
28
|
end
|
28
29
|
it 'decrements the running tally of how many flows are currently in process' do
|
29
30
|
described_class.new.callback(@message)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: distribot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Drago
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|