opentelemetry-instrumentation-net_http 0.22.3 → 0.22.4

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: f4ef9c31fa8b905925e135c59707c8d0762eb86968455cae5398bd6553e91cbd
4
- data.tar.gz: 6551561ede8cbde5362eb53fdecde3adb27e9837d79ecc4ce728c903709d3f19
3
+ metadata.gz: 48a71b66015c1792cbec584f82deec51ae575c6613f1d55cdbc32ed0701948f8
4
+ data.tar.gz: a886783d3319cb9f5eb92a69464d6ed994fbdaca8d2b230425b8d9aeceeb23a5
5
5
  SHA512:
6
- metadata.gz: f92f833dd731fbb5030a272f6cef239016f2b57b5693480c1aacd3ec5a11d23c54b2fb148f4c3f1274cfe7994ea35ddf2f573bbddc1e2a4d21f0b3feff8b2481
7
- data.tar.gz: de8da5f98c6a52417fce3043562c4543cd7ba5fb85d2aa484fc259ce3418b0cb0add09a2c4617246a3381f5fea6a6d85bf4b5ad33ec20c98df7132f2e96acfa0
6
+ metadata.gz: fffee71130050e9c9431df0f2cb48a5278ae9f9dffded499b29e065a70b890a69348a0e2d9fd05605d394b9175499fba297cdfca83fff39f25972583544f2d36
7
+ data.tar.gz: 8e6fdc73c90757da9d40f1c6168590d855f08c0cda1a503513c9f80dbbad32957092ec5da1a549b359aa3b7777e7dd48917ecefb2b6b1eb7883a31111a032cc0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-net_http
2
2
 
3
+ ### v0.22.4 / 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.22.3 / 2023-11-22
4
8
 
5
9
  * FIXED: Update `Net::HTTP` instrumentation to no-op on untraced contexts
@@ -78,7 +78,7 @@ module OpenTelemetry
78
78
  status_code = response.code.to_i
79
79
 
80
80
  span.set_attribute(OpenTelemetry::SemanticConventions::Trace::HTTP_STATUS_CODE, status_code)
81
- span.status = OpenTelemetry::Trace::Status.error unless (100..399).include?(status_code.to_i)
81
+ span.status = OpenTelemetry::Trace::Status.error unless (100..399).cover?(status_code.to_i)
82
82
  end
83
83
 
84
84
  def tracer
@@ -8,7 +8,7 @@ module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Net
10
10
  module HTTP
11
- VERSION = '0.22.3'
11
+ VERSION = '0.22.4'
12
12
  end
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-net_http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.3
4
+ version: 0.22.4
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-11-22 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
@@ -150,6 +150,20 @@ dependencies:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
152
  version: 1.56.1
153
+ - !ruby/object:Gem::Dependency
154
+ name: rubocop-performance
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 1.19.1
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: 1.19.1
153
167
  - !ruby/object:Gem::Dependency
154
168
  name: simplecov
155
169
  requirement: !ruby/object:Gem::Requirement
@@ -213,10 +227,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
213
227
  licenses:
214
228
  - Apache-2.0
215
229
  metadata:
216
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.22.3/file/CHANGELOG.md
230
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.22.4/file/CHANGELOG.md
217
231
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/net_http
218
232
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
219
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.22.3
233
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.22.4
220
234
  post_install_message:
221
235
  rdoc_options: []
222
236
  require_paths: