fastly_nsq 1.13.0 → 1.13.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
- SHA256:
3
- metadata.gz: 8a96d39aaf8bfa8168a11523a097d7b06231d38f46f152d2b2432e07f51e7f69
4
- data.tar.gz: 5107261e47c9c8786a86aff6369868acd98895e0e04b0745e6f31da1ac85f42b
2
+ SHA1:
3
+ metadata.gz: fe5f821a6bb5bd6af76cc175f01a84b64ef9af71
4
+ data.tar.gz: 5199dbad2e9238e52bd696ef01582dc7c0d46701
5
5
  SHA512:
6
- metadata.gz: e4d4bd99d0789eafcc85826942b564d541ad760c9d7c64892cb7627a38984493b5812e02d73fe93b8ce9580a28c9f5f4abf6ac9e86f5e87823d349af87e4d493
7
- data.tar.gz: 25c21fcee5324ca0cb16be4fde1dd4cc434d90c7d0dc9da6fdb5158ced9b2d6e978b33799aff3aecb52fad67b84686637309b543f787adf7625ad7f984931931
6
+ metadata.gz: db022dcaab20d18ba13b68f1e5f8bb128883d5a94672215d920a84856f107a930b0af77f1db26de7bcfced4954b9c47c175b0834733fb872f629925e9e4a9ada
7
+ data.tar.gz: 6bae07517c8ba657b31f53c80810c8d44686c2bb3bb461ecfd359bd8b666a18dff5525f83467eff63959322c225c87a1c27cf2738808ec42af90775fff575503
@@ -1,7 +1,14 @@
1
1
  # Change Log
2
2
 
3
- ## [v1.13.0](https://github.com/fastly/fastly_nsq/tree/v1.13.0)
3
+ ## [v1.13.1](https://github.com/fastly/fastly_nsq/tree/v1.13.1)
4
4
 
5
+ [Full Changelog](https://github.com/fastly/fastly_nsq/compare/v1.13.0...v1.13.1)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Fix class\_name for NewRelic reporting [\#91](https://github.com/fastly/fastly_nsq/pull/91) ([leklund](https://github.com/leklund))
10
+
11
+ ## [v1.13.0](https://github.com/fastly/fastly_nsq/tree/v1.13.0) (2018-07-27)
5
12
  [Full Changelog](https://github.com/fastly/fastly_nsq/compare/v1.12.0...v1.13.0)
6
13
 
7
14
  **Merged pull requests:**
@@ -390,18 +397,18 @@
390
397
  - Initialize the fake queue with an empty array [\#4](https://github.com/fastly/fastly_nsq/pull/4) ([adarsh](https://github.com/adarsh))
391
398
 
392
399
  ## [v0.1.3](https://github.com/fastly/fastly_nsq/tree/v0.1.3) (2016-02-03)
393
- [Full Changelog](https://github.com/fastly/fastly_nsq/compare/v0.1.1...v0.1.3)
400
+ [Full Changelog](https://github.com/fastly/fastly_nsq/compare/v0.0.2...v0.1.3)
394
401
 
395
402
  **Merged pull requests:**
396
403
 
397
404
  - Use a more canonical way to require files [\#3](https://github.com/fastly/fastly_nsq/pull/3) ([adarsh](https://github.com/adarsh))
398
405
  - Remove dependancy on ActiveSupport [\#2](https://github.com/fastly/fastly_nsq/pull/2) ([adarsh](https://github.com/adarsh))
399
406
 
400
- ## [v0.1.1](https://github.com/fastly/fastly_nsq/tree/v0.1.1) (2016-02-03)
401
- [Full Changelog](https://github.com/fastly/fastly_nsq/compare/v0.0.2...v0.1.1)
402
-
403
407
  ## [v0.0.2](https://github.com/fastly/fastly_nsq/tree/v0.0.2) (2016-02-03)
404
- [Full Changelog](https://github.com/fastly/fastly_nsq/compare/v0.0.1...v0.0.2)
408
+ [Full Changelog](https://github.com/fastly/fastly_nsq/compare/v0.1.1...v0.0.2)
409
+
410
+ ## [v0.1.1](https://github.com/fastly/fastly_nsq/tree/v0.1.1) (2016-02-03)
411
+ [Full Changelog](https://github.com/fastly/fastly_nsq/compare/v0.0.1...v0.1.1)
405
412
 
406
413
  **Merged pull requests:**
407
414
 
@@ -129,7 +129,9 @@ class FastlyNsq::Listener
129
129
  end
130
130
  end
131
131
 
132
- FastlyNsq.tracer.trace_with_newrelic(params: msg_info, class_name: processor.class.to_s) do
132
+ class_name = processor.is_a?(Class) ? processor.name : processor.class.name
133
+
134
+ FastlyNsq.tracer.trace_with_newrelic(params: msg_info, class_name: class_name) do
133
135
  preprocessor&.call(message)
134
136
  result = processor.call(message)
135
137
  message.finish if result
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastlyNsq
4
- VERSION = '1.13.0'
4
+ VERSION = '1.13.1'
5
5
  end
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: 1.13.0
4
+ version: 1.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tommy O'Neil
@@ -270,7 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
270
270
  version: '0'
271
271
  requirements: []
272
272
  rubyforge_project:
273
- rubygems_version: 2.7.3
273
+ rubygems_version: 2.6.14
274
274
  signing_key:
275
275
  specification_version: 4
276
276
  summary: Fastly NSQ Adapter