opentelemetry-instrumentation-http_client 0.22.2 → 0.22.3

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: daca46b8d75128f942d99b4e84a137eb470487a237b72c8b99f9604dbbb4b5b9
4
- data.tar.gz: ebe65753f70821f2521dc332c97ff6a73824f523338551cd22c3defad607b39d
3
+ metadata.gz: f44f34ff74be889f745ce888431ce6acd2d9fd446089256d88da68dc9c1459d4
4
+ data.tar.gz: 720c67d55667095ee906b003c69ac82986ae251d1551cb5e4f06abfecef09204
5
5
  SHA512:
6
- metadata.gz: ab4fbbcc38c5168e4d9c3013daa2734bb08537e86c8fb9392d629cf787c4515d434e6ad64dc34f13cef57af9d0e189ec1ef05e1dbe8de2b5675dd2dd42e6f71c
7
- data.tar.gz: cc40e83826d616d57389f4c669cb480d66a03582934885739feb96840033598ed4d6e92272e4bf4435a9d447bc50dbde3c5fab8b74d13a57ec5c3c2e2ef76927
6
+ metadata.gz: 0d4861871a3d27e88d62605b924195353a7928fefb53ed52d34ee41320c7758663c268679c560e7945c959198925726611b7dd76e750d8a0029f3d82b9c055a5
7
+ data.tar.gz: 2bfa6f2f7b81d8bf8c60983c2dd18c1d838795de09e7e0264be2d2e804232a405aaf2d6186ee0ec02047286bb775f45504dabc1c03714cc5ad427869b1c41112
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-http_client
2
2
 
3
+ ### v0.22.3 / 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.2 / 2023-07-21
4
8
 
5
9
  * ADDED: Update `opentelemetry-common` from [0.19.3 to 0.20.0](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/537)
@@ -42,7 +42,7 @@ module OpenTelemetry
42
42
  status_code = response.status_code.to_i
43
43
 
44
44
  span.set_attribute('http.status_code', status_code)
45
- span.status = OpenTelemetry::Trace::Status.error unless (100..399).include?(status_code.to_i)
45
+ span.status = OpenTelemetry::Trace::Status.error unless (100..399).cover?(status_code.to_i)
46
46
  end
47
47
 
48
48
  def tracer
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module HttpClient
10
- VERSION = '0.22.2'
10
+ VERSION = '0.22.3'
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-http_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.2
4
+ version: 0.22.3
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-07-21 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
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 2.2.0
61
+ version: '2.5'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 2.2.0
68
+ version: '2.5'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -156,70 +156,70 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 1.54.1
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.54.1
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: HttpClient 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_client/0.22.2/file/CHANGELOG.md
245
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-http_client/0.22.3/file/CHANGELOG.md
246
246
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/http_client
247
247
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
248
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-http_client/0.22.2
248
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-http_client/0.22.3
249
249
  post_install_message:
250
250
  rdoc_options: []
251
251
  require_paths: