opentelemetry-instrumentation-faraday 0.23.3 → 0.23.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: ca84b36c9ebad6ced902a9550c982fd00cc8b3a8143860855a06057defb69191
4
- data.tar.gz: be877f3be8269fdbbc9986485e156876c50876af65072cc56d3cc436de5b28c7
3
+ metadata.gz: 8ea341848bc1aa8420217f21a2ff895fc5d9e597531808b1c572cbe4174f15e2
4
+ data.tar.gz: d1f4aa89558ca5b9d5cbf4dc46d70bf3e0cc2d10432eed3e3acab37fe8f3b540
5
5
  SHA512:
6
- metadata.gz: 44397b2ffa9dce50ecb16545bca77ce7144515a8deea0f92d769cf8948b246c4f1ac5870d43a4c05e399c3a1280c2a41081db1774c73d93c62d1f69e523e87d2
7
- data.tar.gz: db5a3d7c35c03dc581b03539c0a61773174061200be877e9a1083a9ac95507937c013e1c8f1dede0c8f80cbf8cea0c747e670a810d49c9f540a039f1a56493b0
6
+ metadata.gz: 6cbae80a960c606ad448c4360f128401a9f960ce31fbeff77242bca0d2b0acaff21cd83916c64d6c19e5453d9b579cf5552c42fb9b5576860fab83fdc071fbc0
7
+ data.tar.gz: 03aaf51ffb177103b12f4ec38ef4f4c6f79e236ba2c62b9e5b4e9ac22be68ce389f0893423dde288bdc0134a00580a3e6dac0687ac7eb1ba1d4bfab385d98688
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-faraday
2
2
 
3
+ ### v0.23.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.23.3 / 2023-10-16
4
8
 
5
9
  * FIXED: Omit `nil` `net.peer.name` attributes
@@ -60,7 +60,7 @@ module OpenTelemetry
60
60
 
61
61
  def trace_response(span, response)
62
62
  span.set_attribute('http.status_code', response.status)
63
- span.status = OpenTelemetry::Trace::Status.error unless (100..399).include?(response.status.to_i)
63
+ span.status = OpenTelemetry::Trace::Status.error unless (100..399).cover?(response.status.to_i)
64
64
  end
65
65
  end
66
66
  end
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Faraday
10
- VERSION = '0.23.3'
10
+ VERSION = '0.23.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-faraday
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.3
4
+ version: 0.23.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-10-16 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
@@ -84,16 +84,16 @@ dependencies:
84
84
  name: faraday
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 0.17.0
89
+ version: '0'
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.17.0
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: minitest
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -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
@@ -214,10 +228,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
214
228
  licenses:
215
229
  - Apache-2.0
216
230
  metadata:
217
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-faraday/0.23.3/file/CHANGELOG.md
231
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-faraday/0.23.4/file/CHANGELOG.md
218
232
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/faraday
219
233
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
220
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-faraday/0.23.3
234
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-faraday/0.23.4
221
235
  post_install_message:
222
236
  rdoc_options: []
223
237
  require_paths: