ElmerFudd 0.0.27 → 0.0.28

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: e2843148a1580faa5bb73307c9284a57bfb2e764
4
- data.tar.gz: 72a3ed699a197649d2b2d396af5bb9c59dae17d2
3
+ metadata.gz: ead68fdd2a7c88055137223d4f8a4a1090431918
4
+ data.tar.gz: a6aa285df35b27bb7c12521d7e35afb5a3ca54bd
5
5
  SHA512:
6
- metadata.gz: c4c6386d99be4549b7f48bc05dd734f8919cf11034cd836b657acf5a3df5cb7bc3f230bbdd8afd46d7b85e7b7d78b08177af8f210c5235973b9e3176c033ffae
7
- data.tar.gz: 359f11e19af4c4be2925dd962fa7dde6d3244baedd0f7fec94d56a398db93110382a228b3d9fa5d96be3c71c0b75b69aaf76b056b4489bb4aaedb5150a4c0425
6
+ metadata.gz: 212d15a99a833ec4c2ee0d0c18dd401ad4bc98364605ec7ef5260420844c55402e00f3f6291c75982474e21230f6298a2bf8054306779caefc67a6259963bc92
7
+ data.tar.gz: c563791441eb264c2fc8f5f96b85962e9c5ad100eef7722f383fc416b9f02d3d73be9cbafdfe3587e7620997f6b72c658ff71495f4bba686430befc88af2b913
@@ -1,7 +1,6 @@
1
1
  module ElmerFudd
2
2
  class Publisher
3
3
  def initialize(connection, uuid_service: -> { rand.to_s }, logger: Logger.new($stdout))
4
- puts "LOGGGER #{logger}"
5
4
  @connection = connection
6
5
  @logger = logger
7
6
  @uuid_service = uuid_service
@@ -1,3 +1,3 @@
1
1
  module ElmerFudd
2
- VERSION = "0.0.27"
2
+ VERSION = "0.0.28"
3
3
  end
@@ -42,7 +42,7 @@ module ElmerFudd
42
42
  def self.payload_as_kwargs(handler, only: nil)
43
43
  lambda do |_env, message|
44
44
  symbolized_payload = message.payload.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
45
- sybolized_payload = symbolized_payload.select { |k,v| Array(only).include?(k) } if only
45
+ symbolized_payload = symbolized_payload.select { |k,v| Array(only).include?(k) } if only
46
46
  handler.call(symbolized_payload)
47
47
  end
48
48
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ElmerFudd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.27
4
+ version: 0.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrzej Sliwa