fastly_nsq 0.10.0 → 0.10.1

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: e00ef3c8f9fbbd967b2e97e2621a63734cbf953b
4
- data.tar.gz: f5d6e19dbcd964481c2543b9a772ccde35c6b22f
3
+ metadata.gz: e97d45e36727661d9562ff471038e7760086e079
4
+ data.tar.gz: 3061cd5fd59e767ee80419de54260728c7a2414a
5
5
  SHA512:
6
- metadata.gz: 304ccf3b5012900f32aae93993656b5f6d5866d325b91267848b64d4c2c321e78ee40cbe812e418761f4c597827153598c5d874e7bfe0d8059cfd4ab2a4a3f6c
7
- data.tar.gz: 7aac209a0fdb90f650bd0287393a367eb16585de140bf2768635f0a0bcb39f98d6600eb5d96c4ad66ff6da5ce4d68a1236c6f20f27cde2e0889c9545706ba672
6
+ metadata.gz: 34b7cece9416006546dd8621953964e30dcb0eec305bf25979f68b1ba41557fc67ecbc99ab99455d68535db4fe2cfa398809a6dce306fe674da95a511fe3cdba
7
+ data.tar.gz: 0fa641c48320197ef521e714bb5713adcf0f98d26f17fd28ba250150b95ad65cbd9cc50ac1e4ac8c0b0bf0dfab3267cd8a453338cfa9ff99291cb5be94e005f5
@@ -85,7 +85,7 @@ module FastlyNsq
85
85
  private
86
86
 
87
87
  def log(message)
88
- @logger.info "[NSQ] Message Received: #{message}" if @logger
88
+ @logger.info "[NSQ] Message received on topic [#{@topic}]: #{message}" if @logger
89
89
  end
90
90
 
91
91
  def cleanup
@@ -1,3 +1,3 @@
1
1
  module FastlyNsq
2
- VERSION = '0.10.0'.freeze
2
+ VERSION = '0.10.1'.freeze
3
3
  end
@@ -100,7 +100,7 @@ RSpec.describe FastlyNsq::Listener do
100
100
  allow(logger).to receive(:info)
101
101
  listener.go run_once: true
102
102
 
103
- expect(logger).to have_received(:info).once.with(/\[NSQ\] Message Received: #{message.body}/)
103
+ expect(logger).to have_received(:info).once.with(/\[NSQ\] Message received on topic \[#{topic}\]: #{message.body}/)
104
104
  end
105
105
 
106
106
  context 'when preprocessor is provided' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastly_nsq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tommy O'Neil
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2017-06-09 00:00:00.000000000 Z
14
+ date: 2017-08-08 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: awesome_print