superbolt 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/superbolt/runner/default.rb +5 -1
- data/lib/superbolt/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e462b24a497df6c415558cfc7682c61f126feda6
|
4
|
+
data.tar.gz: 2dffc2f18a47d31668fbdcf76aac1fbcc9117718
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0729d20fa444b54973bd833bf5dc5953987ac7d4d9bd892dec5cd92fcd7a1aeca38cd135af0874a134f96353ed677206dc8391a018b31aa532aa8fba8723861
|
7
|
+
data.tar.gz: 533a5c8b1049f34122d084fcb5d36602b8493a383047054034dc74fa6f96ddbf36066009151d0a13cc477bb9a317a2e7e9a5fdde079201183cf8cf885cb4cadf
|
@@ -14,7 +14,7 @@ module Superbolt
|
|
14
14
|
queue.subscribe(ack: ack) do |delivery_info, metadata, payload|
|
15
15
|
|
16
16
|
message = Superbolt::IncomingMessage.new(delivery_info, payload, channel)
|
17
|
-
processor =
|
17
|
+
processor = processor_class.new(message, logger, &block)
|
18
18
|
unless processor.perform
|
19
19
|
on_error(message.parse, processor.exception)
|
20
20
|
end
|
@@ -28,6 +28,10 @@ module Superbolt
|
|
28
28
|
|
29
29
|
def prefetch
|
30
30
|
end
|
31
|
+
|
32
|
+
def processor_class
|
33
|
+
Superbolt::Processor
|
34
|
+
end
|
31
35
|
end
|
32
36
|
end
|
33
37
|
end
|
data/lib/superbolt/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: superbolt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- socialchorus
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
199
199
|
version: '0'
|
200
200
|
requirements: []
|
201
201
|
rubyforge_project:
|
202
|
-
rubygems_version: 2.
|
202
|
+
rubygems_version: 2.0.3
|
203
203
|
signing_key:
|
204
204
|
specification_version: 4
|
205
205
|
summary: Superbolt is a gem that makes SOA intra-app communication easy, via RabbitMQ
|