opentelemetry-instrumentation-http 0.23.1 → 0.23.2

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: 06d40229c615939acc1620b312835b4bd757f91eac70249552a5d3c2173b06d1
4
- data.tar.gz: 44f5f41884e917abf737e1decaae1be0e1b5f9019e2c0b7536991ad5ddbb3576
3
+ metadata.gz: 87d50e2075ae6f9561a3b8458ec593c400a737474fc30ce654de233d0ae879ba
4
+ data.tar.gz: 61adfe0434df410049e7c3440bfe2797e17982ee84048fbf4b9142bd6c287324
5
5
  SHA512:
6
- metadata.gz: bcc79b81402a14a87e0cc81a7ade624a1d169a33fc616de4fb980d764ecc57ca3f88a54581a340b7d4f74d584a15498dfba78cb43fb3e6227bd42266906094a5
7
- data.tar.gz: 89ddf80d2ae73d254a3607a4f68756f99575939d09232a1053063a7b86c3fd985e72ff5514355bf26fb55697e62b53eea820cdefa234ec94abeb4775b185d661
6
+ metadata.gz: 3eb6413851d2c7d092492b05c4d31469477a20c4f725787f99bacdad2925b9039b62940515abf76f12dda3b600a5e20fca6bfb810b098ec42de33bd58a873cda
7
+ data.tar.gz: 2074b8ae8840a1cff71cee5f69b0946e09e962fe1171dcf3435da652d080e606e55767dfe291fafa5414175560fa9c3bd379334f3ce40ab3a1b274bbd9ee57da
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-http
2
2
 
3
+ ### v0.23.2 / 2023-11-23
4
+
5
+ * CHANGED: Applied Rubocop Performance Recommendations [#727](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/727)
6
+
3
7
  ### v0.23.1 / 2023-06-05
4
8
 
5
9
  * FIXED: Base config options
@@ -43,7 +43,7 @@ module OpenTelemetry
43
43
 
44
44
  status_code = response.status.to_i
45
45
  span.set_attribute('http.status_code', status_code)
46
- span.status = OpenTelemetry::Trace::Status.error unless (100..399).include?(status_code.to_i)
46
+ span.status = OpenTelemetry::Trace::Status.error unless (100..399).cover?(status_code.to_i)
47
47
  end
48
48
 
49
49
  def create_request_span_name(request_method, request_path)
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module HTTP
10
- VERSION = '0.23.1'
10
+ VERSION = '0.23.2'
11
11
  end
12
12
  end
13
13
  end
@@ -15,5 +15,5 @@ module OpenTelemetry
15
15
  end
16
16
  end
17
17
 
18
- require_relative './http/instrumentation'
19
- require_relative './http/version'
18
+ require_relative 'http/instrumentation'
19
+ require_relative 'http/version'
@@ -16,4 +16,4 @@ module OpenTelemetry
16
16
  end
17
17
  end
18
18
 
19
- require_relative './instrumentation/http'
19
+ require_relative 'instrumentation/http'
@@ -4,4 +4,4 @@
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
7
- require_relative './opentelemetry/instrumentation'
7
+ require_relative 'opentelemetry/instrumentation'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.1
4
+ version: 0.23.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-05 00:00:00.000000000 Z
11
+ date: 2023-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.2.0
47
+ version: '2.5'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.2.0
54
+ version: '2.5'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -156,70 +156,70 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 1.50.2
159
+ version: 1.56.1
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 1.50.2
166
+ version: 1.56.1
167
167
  - !ruby/object:Gem::Dependency
168
- name: simplecov
168
+ name: rubocop-performance
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 0.17.1
173
+ version: 1.19.1
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 0.17.1
180
+ version: 1.19.1
181
181
  - !ruby/object:Gem::Dependency
182
- name: webmock
182
+ name: simplecov
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 3.7.6
187
+ version: 0.17.1
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 3.7.6
194
+ version: 0.17.1
195
195
  - !ruby/object:Gem::Dependency
196
- name: yard
196
+ name: webmock
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '0.9'
201
+ version: '3.19'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '0.9'
208
+ version: '3.19'
209
209
  - !ruby/object:Gem::Dependency
210
- name: yard-doctest
210
+ name: yard
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: 0.1.6
215
+ version: '0.9'
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: 0.1.6
222
+ version: '0.9'
223
223
  description: HTTP instrumentation for the OpenTelemetry framework
224
224
  email:
225
225
  - cncf-opentelemetry-contributors@lists.cncf.io
@@ -242,10 +242,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
242
242
  licenses:
243
243
  - Apache-2.0
244
244
  metadata:
245
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-http/0.23.1/file/CHANGELOG.md
245
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-http/0.23.2/file/CHANGELOG.md
246
246
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/http
247
247
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
248
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-http/0.23.1
248
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-http/0.23.2
249
249
  post_install_message:
250
250
  rdoc_options: []
251
251
  require_paths: