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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 415111f64ddbfb854cc45718278e4d04dcc9629d
4
- data.tar.gz: 1c5b6f516d6b51a2b217d9288f64281ed40098d2
3
+ metadata.gz: e462b24a497df6c415558cfc7682c61f126feda6
4
+ data.tar.gz: 2dffc2f18a47d31668fbdcf76aac1fbcc9117718
5
5
  SHA512:
6
- metadata.gz: b007c47e99e43af1d766eb72ae36c64c9dd0a95d85b3702551151253e1f7ac3c50f1a2fd7d0c39e4ed61e999fd2106ce3585e24ee0e410a764bda42f257b2c19
7
- data.tar.gz: 5de3ea41e8724daf828d2038137ab7840c73ccaf3235da65c91d06560f4167a477714929935b61f35eb15c16249863e5c4521de5e72dac18b0d9446fac84f840
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 = Superbolt::Processor.new(message, logger, &block)
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
@@ -1,3 +1,3 @@
1
1
  module Superbolt
2
- VERSION = "0.5.6"
2
+ VERSION = "0.5.7" #possibly broken for file transfer :(
3
3
  end
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.6
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-03-13 00:00:00.000000000 Z
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.2.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