opentelemetry-instrumentation-restclient 0.22.2 → 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: a3943f50499129c76e76889e2116eab55d3ec7606d1c4f63b2a40b464bb457a3
4
- data.tar.gz: 2350ade621d7787dc3625b30614122de9871452a5b614a7d8836708302012b2a
3
+ metadata.gz: 3d4253a4144f14b7d3407a973e092278faba57262f5b17cac4520f5a8768c351
4
+ data.tar.gz: 54855bcad96ab1e798e85d4960ea2987aaaa9dd826dc92d4b48d348944ea0fe9
5
5
  SHA512:
6
- metadata.gz: 1d9bc0bfcea5d043c10f246d80253aabdf02d8f32c407df7df94d296e7c4cea71de5aa623878ace1f44e56a5d301d76ad54b84d317ac9e3e31a20f243c667835
7
- data.tar.gz: d7ea1392b6b43df47b852d0ea427581b19dca8711ee65dba3b0030737cc6f2b5e310ae1fb8ff4b65ab976f71167f4c9437835b9c452f26bbee0499f37319dcfd
6
+ metadata.gz: 7637496a63739bbe8c99f0a315dba2d9826486dce526fc901ae25ec4f4b95caafcebdf9f3e1acb4a5fa8dbc3aaa2e4f30331704436493104950aa404e791de7e
7
+ data.tar.gz: 6d917374ff07d6a76f6c735fce68d9da64858ba145d1670ab0d522aa3ca776226c62e07b98af2ff162b02c7e30d2d73251e2782f87c807c45cc984038ca18e95
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release History: opentelemetry-instrumentation-restclient
2
2
 
3
+ ### v0.22.4 / 2024-04-30
4
+
5
+ * FIXED: Bundler conflict warnings
6
+
7
+ ### v0.22.3 / 2023-11-23
8
+
9
+ * CHANGED: Applied Rubocop Performance Recommendations [#727](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/727)
10
+
3
11
  ### v0.22.2 / 2023-07-21
4
12
 
5
13
  * ADDED: Update `opentelemetry-common` from [0.19.3 to 0.20.0](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/537)
@@ -49,12 +49,12 @@ module OpenTelemetry
49
49
  # If so, add additional attributes.
50
50
  if response.is_a?(::RestClient::Response)
51
51
  span.set_attribute('http.status_code', response.code)
52
- span.status = OpenTelemetry::Trace::Status.error unless (100..399).include?(response.code.to_i)
52
+ span.status = OpenTelemetry::Trace::Status.error unless (100..399).cover?(response.code.to_i)
53
53
  end
54
54
  end
55
55
  rescue ::RestClient::ExceptionWithResponse => e
56
56
  span.set_attribute('http.status_code', e.http_code)
57
- span.status = OpenTelemetry::Trace::Status.error unless (100..399).include?(e.http_code.to_i)
57
+ span.status = OpenTelemetry::Trace::Status.error unless (100..399).cover?(e.http_code.to_i)
58
58
 
59
59
  raise e
60
60
  ensure
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module RestClient
10
- VERSION = '0.22.2'
10
+ VERSION = '0.22.4'
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-restclient
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.2
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-07-21 00:00:00.000000000 Z
11
+ date: 2024-04-30 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
@@ -123,33 +123,33 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0.3'
125
125
  - !ruby/object:Gem::Dependency
126
- name: rest-client
126
+ name: rubocop
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 2.1.0
131
+ version: '1.62'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 2.1.0
138
+ version: '1.62'
139
139
  - !ruby/object:Gem::Dependency
140
- name: rubocop
140
+ name: rubocop-performance
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 1.54.1
145
+ version: '1.20'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 1.54.1
152
+ version: '1.20'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: simplecov
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 3.7.6
173
+ version: '3.19'
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: 3.7.6
180
+ version: '3.19'
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: yard
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -192,20 +192,6 @@ dependencies:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0.9'
195
- - !ruby/object:Gem::Dependency
196
- name: yard-doctest
197
- requirement: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - "~>"
200
- - !ruby/object:Gem::Version
201
- version: 0.1.6
202
- type: :development
203
- prerelease: false
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - "~>"
207
- - !ruby/object:Gem::Version
208
- version: 0.1.6
209
195
  description: REST Client instrumentation for the OpenTelemetry framework
210
196
  email:
211
197
  - cncf-opentelemetry-contributors@lists.cncf.io
@@ -227,10 +213,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
227
213
  licenses:
228
214
  - Apache-2.0
229
215
  metadata:
230
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-restclient/0.22.2/file/CHANGELOG.md
216
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-restclient/0.22.4/file/CHANGELOG.md
231
217
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/restclient
232
218
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
233
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-restclient/0.22.2
219
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-restclient/0.22.4
234
220
  post_install_message:
235
221
  rdoc_options: []
236
222
  require_paths: