opentelemetry-instrumentation-ethon 0.21.2 → 0.21.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: 0c011ab80a14831f4c7a69333afe718c1d58d0a02fbefcdb5bf5d8c689799b2e
4
- data.tar.gz: d95ebd484d6ce28dd334ec922084d4f55d15fa86f7f87f14b38a5ab1cbf260e7
3
+ metadata.gz: 957218ee497eee0174e9dbd773a4403010696fbc6d507e6dd8efbbd78cf2dc08
4
+ data.tar.gz: 17b0cf67075726c7abedc69d3e2c21c4bbc855ba928e17d9cf7e96ebd07db02d
5
5
  SHA512:
6
- metadata.gz: 146f22ddc1cb11d012f53cf84af71e70973cf3fbc820b2f3072c3e01c12b16c34cdb2e9d19470868941b33a2bdcd66dd5a5662d6ae9dcfafadaef2dd2de451c9
7
- data.tar.gz: aa5e36eccdbef502b61d49cb1044fef413adb0786a886d04cb7aa78ea3857d585252ad7b942576c7a4024db2880deb9e478e07f627e5cbb71b3c3fe7de5d5445
6
+ metadata.gz: c8d6ff29578ba37268b3d45d2ca6d98c0d935a6f8e0b913851db1c507d9c7bc57dd459d23daf37eee6403e28f9cfdc9dd2fda6da2471c28ac19f1eb3b5c57413
7
+ data.tar.gz: b35b099392c708379200e65dce7d8f852ade4f630f1f2868cc9113d8bc35f58e23b2120405e791c10c17b24ec9ffb0fe001fb0a34c7ad73d33acede4c2c4f1c2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-ethon
2
2
 
3
+ ### v0.21.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.21.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
  @otel_span.status = OpenTelemetry::Trace::Status.error("Request has failed: #{message}")
43
43
  else
44
44
  @otel_span.set_attribute('http.status_code', response_code)
45
- @otel_span.status = OpenTelemetry::Trace::Status.error unless (100..399).include?(response_code.to_i)
45
+ @otel_span.status = OpenTelemetry::Trace::Status.error unless (100..399).cover?(response_code.to_i)
46
46
  end
47
47
  ensure
48
48
  @otel_span&.finish
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Ethon
10
- VERSION = '0.21.2'
10
+ VERSION = '0.21.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-ethon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.2
4
+ version: 0.21.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
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.12.0
89
+ version: '0.11'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.12.0
96
+ version: '0.11'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: minitest
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -142,56 +142,56 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 1.54.1
145
+ version: 1.56.1
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.56.1
153
153
  - !ruby/object:Gem::Dependency
154
- name: simplecov
154
+ name: rubocop-performance
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 0.17.1
159
+ version: 1.19.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: 0.17.1
166
+ version: 1.19.1
167
167
  - !ruby/object:Gem::Dependency
168
- name: yard
168
+ name: simplecov
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '0.9'
173
+ version: 0.17.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.9'
180
+ version: 0.17.1
181
181
  - !ruby/object:Gem::Dependency
182
- name: yard-doctest
182
+ name: yard
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 0.1.6
187
+ version: '0.9'
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: 0.1.6
194
+ version: '0.9'
195
195
  description: Ethon instrumentation for the OpenTelemetry framework
196
196
  email:
197
197
  - cncf-opentelemetry-contributors@lists.cncf.io
@@ -214,10 +214,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
214
214
  licenses:
215
215
  - Apache-2.0
216
216
  metadata:
217
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-ethon/0.21.2/file/CHANGELOG.md
217
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-ethon/0.21.3/file/CHANGELOG.md
218
218
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/ethon
219
219
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
220
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-ethon/0.21.2
220
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-ethon/0.21.3
221
221
  post_install_message:
222
222
  rdoc_options: []
223
223
  require_paths: