newrelic-infinite_tracing 8.5.0 → 8.8.0

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: 778a643e338f9e071370ad113cfc123245ac09b7b79beaaa060e15fa3655480f
4
- data.tar.gz: 105a97a9dfa5389cf3e29696c15d27768dcd9c6712c7a5a50b706ab8b6fc212b
3
+ metadata.gz: 35dbf54384abafc02dbfd6161424cf47437b9025de2c63f657e9a7dcb2de7d70
4
+ data.tar.gz: 3be9f3d81e1e1c2945d5441fdd83e116ce0e1419659819e50139d3c1e547b20a
5
5
  SHA512:
6
- metadata.gz: 9ccd3df96cddef57c563bc7878246d105ad3b081acfc40b40263e5b329f0ebfea6cacc3147d0db954adce4d36b1706d7047dd3675ee2036cdba408f53079456f
7
- data.tar.gz: 3c187f54642964eba93f5e441b2d2bbfaa563c82d07c13ce4aaa0bfaf43eec8828a51a66fd4f4e4466f600ae3f62fcc4f64708aebea8f3a12e8ee36786d88891
6
+ metadata.gz: 40b5e1b54794edbe83e9fdc4fd3ca22ad7a1728e7ebfe381aa080ec9dd36e8b397fe18766c36edeeb9adf1e186ce65addde5235684cc8fdcbdef9a4aba6e40b2
7
+ data.tar.gz: 1b5965084b3e5834513b9bb12a6bb4f54496bc00ac2a9d73d0f61899862ca09d539879c0c73c5a23ca1fe1b9ed2e461b1914ffb81620141ba9322a6edd926654
data/LICENSE CHANGED
@@ -175,10 +175,6 @@
175
175
 
176
176
  END OF TERMS AND CONDITIONS
177
177
 
178
- Versions 6.12.0 and above for this project are licensed under
179
- Apache 2.0. For prior versions of this project, please see the
180
- LICENSE file in the root directory of that version for more information.
181
-
182
178
  APPENDIX: How to apply the Apache License to your work.
183
179
 
184
180
  To apply the Apache License to your work, attach the following
@@ -204,5 +200,3 @@
204
200
  See the License for the specific language governing permissions and
205
201
  limitations under the License.
206
202
 
207
-
208
-
@@ -20,12 +20,8 @@ module NewRelic::Agent
20
20
  end
21
21
 
22
22
  def credentials
23
- if Config.local?
24
- :this_channel_is_insecure
25
- else
26
- # Uses system configured certificates by default
27
- GRPC::Core::ChannelCredentials.new
28
- end
23
+ # Uses system configured certificates by default
24
+ GRPC::Core::ChannelCredentials.new
29
25
  end
30
26
 
31
27
  def host_and_port
@@ -52,7 +52,7 @@ module NewRelic::Agent
52
52
  # Turns camelcase base class name into upper snake case version of the name.
53
53
  def formatted_class_name class_name
54
54
  class_name = class_name.split(":")[-1]
55
- formatted_class_name = (class_name.gsub!(/(.)([A-Z])/, '\1_\2') || class_name).upcase
55
+ (class_name.gsub!(/(.)([A-Z])/, '\1_\2') || class_name).upcase
56
56
  end
57
57
 
58
58
  # Literal codes are all mapped to unique class names, so we can deduce the
@@ -114,7 +114,7 @@ module NewRelic::Agent
114
114
  @agent_connected = true
115
115
  @agent_started.signal
116
116
  end
117
- @active_clients.each_value(&:restart)
117
+ @active_clients.values.each(&:restart)
118
118
  end
119
119
 
120
120
  private
@@ -43,8 +43,7 @@ module NewRelic::Agent
43
43
  begin
44
44
  [key, AttributeValue.new(safe_param_name(value) => value)]
45
45
  rescue => e
46
- puts e.inspect
47
- puts [key, value].inspect
46
+ NewRelic::Agent.logger.debug("Infinite tracing transformer error: #{e.inspect}")
48
47
  nil
49
48
  end
50
49
  end.to_h
@@ -33,7 +33,7 @@ Gem::Specification.new do |s|
33
33
  s.version = NewRelic::VERSION::STRING
34
34
  s.required_ruby_version = '>= 2.5.0'
35
35
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
36
- s.authors = ["Tanna McClure", "Kayla Reopelle", "James Bunch"]
36
+ s.authors = ["Tanna McClure", "Kayla Reopelle", "James Bunch", "Hannah Ramadan"]
37
37
  s.licenses = ['Apache-2.0']
38
38
  s.description = <<-EOS
39
39
  The New Relic Ruby agent requires the gem newrelic_rpm, and it includes distributed
@@ -85,7 +85,6 @@ Gem or plugin, hosted on https://github.com/newrelic/newrelic-ruby-agent/
85
85
  s.add_development_dependency 'pry-stack_explorer', '~> 0.4.9'
86
86
  s.add_development_dependency 'guard', '~> 2.16.0'
87
87
  s.add_development_dependency 'guard-minitest', '~> 2.4.0'
88
- s.add_development_dependency 'hometown', '~> 0.2.5'
89
88
  s.add_development_dependency 'bundler'
90
89
 
91
90
  s.add_development_dependency 'grpc-tools', "~> 1.14"
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic-infinite_tracing
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.5.0
4
+ version: 8.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanna McClure
8
8
  - Kayla Reopelle
9
9
  - James Bunch
10
+ - Hannah Ramadan
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2022-02-24 00:00:00.000000000 Z
14
+ date: 2022-06-02 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: newrelic_rpm
@@ -18,14 +19,14 @@ dependencies:
18
19
  requirements:
19
20
  - - '='
20
21
  - !ruby/object:Gem::Version
21
- version: 8.5.0
22
+ version: 8.8.0
22
23
  type: :runtime
23
24
  prerelease: false
24
25
  version_requirements: !ruby/object:Gem::Requirement
25
26
  requirements:
26
27
  - - '='
27
28
  - !ruby/object:Gem::Version
28
- version: 8.5.0
29
+ version: 8.8.0
29
30
  - !ruby/object:Gem::Dependency
30
31
  name: grpc
31
32
  requirement: !ruby/object:Gem::Requirement
@@ -166,20 +167,6 @@ dependencies:
166
167
  - - "~>"
167
168
  - !ruby/object:Gem::Version
168
169
  version: 2.4.0
169
- - !ruby/object:Gem::Dependency
170
- name: hometown
171
- requirement: !ruby/object:Gem::Requirement
172
- requirements:
173
- - - "~>"
174
- - !ruby/object:Gem::Version
175
- version: 0.2.5
176
- type: :development
177
- prerelease: false
178
- version_requirements: !ruby/object:Gem::Requirement
179
- requirements:
180
- - - "~>"
181
- - !ruby/object:Gem::Version
182
- version: 0.2.5
183
170
  - !ruby/object:Gem::Dependency
184
171
  name: bundler
185
172
  requirement: !ruby/object:Gem::Requirement