gruf-newrelic 1.2.0 → 1.2.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
  SHA256:
3
- metadata.gz: deba735ffe98ebe35b2ab3fa056221a61066e6843e51f43b97790c4ae257348b
4
- data.tar.gz: 52775f8d3b4d26328c62dcb4254678701a711fe5407a625d2b49261218e24e41
3
+ metadata.gz: 7ab80ebcfd5880aba1f38f4e0589234a047cd02bfc822213868141e82d402e43
4
+ data.tar.gz: 39455e9867111371ca4cfe8470296da6acec9ba420ac8dddb99f3200798a7889
5
5
  SHA512:
6
- metadata.gz: 3f3bceaf7121734f7d3712c569212a93fc75ba42c6efd6d4aa10c17b24dc6efeb0dcfa64fcaf4aab94204a5aeb6d894d028bf178064875c86590b23b0277527a
7
- data.tar.gz: 9a5b38372d1883c2e28e4861a5957da9c48049ff5baceaf681343b2488432ceaa1475857ad449aa7e3d8db8b947c9d369572810e0c1e36bc744c20f2db9ba391
6
+ metadata.gz: 39895f2daff34bf36d327e5fdcd9adf1a237f5ee4d10cf2795eee584c01716d34a683643e472a90aad942ec786f23bd2bf5159955cd2572996704b6c8578333b
7
+ data.tar.gz: 8701b10ddcdc8c200a7642bd19a20ac08df95c840696f830c98af5d6abbfe5102ee3642514e711f6396332b7df4a0fd9f4e36e522084acf4a97edd888211b626
data/CHANGELOG.md CHANGED
@@ -1,18 +1,22 @@
1
1
  Changelog for the gruf-newrelic gem.
2
2
 
3
- h3. Pending Release
3
+ ### Pending Release
4
4
 
5
- h3. 1.2.0
5
+ ### 1.2.1
6
+
7
+ - Fix issue with NewRelic trace headers when they are arrays
8
+
9
+ ### 1.2.0
6
10
 
7
11
  - Added ClientInterceptor with New Relic Distributed tracing support
8
12
  - Refactored ServerInterceptor with New Relic Distributed tracing support
9
13
 
10
- h3. 1.1.0
14
+ ### 1.1.0
11
15
 
12
16
  - Bump newrelic gem dependency to ~> 6
13
17
  - Drop Ruby 2.2 support
14
18
  - Update bundler support
15
19
 
16
- h3. 1.0.0
20
+ ### 1.0.0
17
21
 
18
22
  - Initial public release
@@ -44,6 +44,7 @@ module Gruf
44
44
 
45
45
  def accept_distributed_tracing
46
46
  payload = request.active_call.metadata[NEWRELIC_TRACE_HEADER]
47
+ payload = payload.first if payload.is_a?(Enumerable)
47
48
  ::NewRelic::Agent::DistributedTracing.accept_distributed_trace_payload(payload)
48
49
  end
49
50
  end
@@ -17,6 +17,6 @@
17
17
  #
18
18
  module Gruf
19
19
  module Newrelic
20
- VERSION = '1.2.0'
20
+ VERSION = '1.2.1'
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,29 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gruf-newrelic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shaun McCormick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-02 00:00:00.000000000 Z
11
+ date: 2020-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "<"
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3'
19
+ version: '1.11'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "<"
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3'
26
+ version: '1.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler-audit
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.6'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.6'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rake
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -44,28 +58,84 @@ dependencies:
44
58
  requirements:
45
59
  - - "~>"
46
60
  - !ruby/object:Gem::Version
47
- version: '3.7'
61
+ version: '3.8'
48
62
  type: :development
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
66
  - - "~>"
53
67
  - !ruby/object:Gem::Version
54
- version: '3.7'
68
+ version: '3.8'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec_junit_formatter
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.4'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.4'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.79'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.79'
97
+ - !ruby/object:Gem::Dependency
98
+ name: simplecov
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.15'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.15'
55
111
  - !ruby/object:Gem::Dependency
56
112
  name: pry
57
113
  requirement: !ruby/object:Gem::Requirement
58
114
  requirements:
59
115
  - - ">="
60
116
  - !ruby/object:Gem::Version
61
- version: '0'
117
+ version: '0.12'
62
118
  type: :development
63
119
  prerelease: false
64
120
  version_requirements: !ruby/object:Gem::Requirement
65
121
  requirements:
66
122
  - - ">="
67
123
  - !ruby/object:Gem::Version
68
- version: '0'
124
+ version: '0.12'
125
+ - !ruby/object:Gem::Dependency
126
+ name: gruf
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '2.6'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '2.6'
69
139
  - !ruby/object:Gem::Dependency
70
140
  name: newrelic_rpm
71
141
  requirement: !ruby/object:Gem::Requirement