beetle_joevandyk_extensions 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ module BeetleJoevandykExtensions
21
21
  client = Beetle::Client.new
22
22
  client.register_queue name
23
23
  client.register_handler name do |input|
24
- block.call JSON.parse(input.data)
24
+ block.call(JSON.parse(input.data).to_json
25
25
  end
26
26
  client.listen do
27
27
  puts "Started #{ name } at #{ Time.now }"
@@ -1,3 +1,3 @@
1
1
  module BeetleJoevandykExtensions
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beetle_joevandyk_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: