opentelemetry-instrumentation-httpx 0.1.0 → 0.1.2

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: 9f6a9548d885683311a3b7764ff690d6f697ab3e432c680de246c3c43be480c0
4
- data.tar.gz: 2feb48de29ab4e9fe2a7b45a34069ca4677577431761c74e582ec5c35e2ff2a2
3
+ metadata.gz: a3ddf8c790d56848a8d7e5e46760b15fd1bd7c52dfaecac1f1ea1068eacb0da7
4
+ data.tar.gz: da38c91e6f2baec70824f727871070463f5e40ecdf06f1a014b00fe799fc528d
5
5
  SHA512:
6
- metadata.gz: 65121f24e76f2e5fc80abaa99a0c8a3170e19cd284d6ea7ed7ef8969ddc956b1d87bf53f705ed3d039465cd3420ccdbf59a73d33f8a822187c81441da9f7cb35
7
- data.tar.gz: d4912b90fe9f35ddb02ca00aef8a4d2950d14d9cb16755e6425213b1bc319ac3b6d31881904d645e4b48bc99eb3dd56614422ba909dd663d02207d3f2b57a781
6
+ metadata.gz: a2793304c703ae77d1dc3dc41861b7d53935e07d271d7f0b0aa90ad88121598e586fb072f4e578feab3100e21200b01c71c8e9ddd1b53ff8b8ceb1e4858bf74f
7
+ data.tar.gz: 2eb2bcbd0a8cfd9e2c94377a9b7806b195ce52eac870f9d07ba1097059faa5b994bb312c8e7711b98ea788275151f7553618e9553f3b935cf3439d0772f3d3d7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release History: opentelemetry-instrumentation-httpx
2
2
 
3
+ ### v0.1.2 / 2024-04-30
4
+
5
+ * FIXED: Bundler conflict warnings
6
+
7
+ ### v0.1.1 / 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.1.0 / 2023-11-06
4
12
 
5
13
  * Initial Release.
@@ -16,7 +16,7 @@ module OpenTelemetry
16
16
  end
17
17
 
18
18
  def call
19
- @request.on(:response, &method(:finish))
19
+ @request.on(:response, &method(:finish)) # rubocop:disable Performance/MethodObjectAsBlock
20
20
 
21
21
  uri = @request.uri
22
22
  request_method = @request.verb
@@ -54,7 +54,7 @@ module OpenTelemetry
54
54
  @span.status = Trace::Status.error("Unhandled exception of type: #{response.error.class}")
55
55
  else
56
56
  @span.set_attribute(OpenTelemetry::SemanticConventions::Trace::HTTP_STATUS_CODE, response.status)
57
- @span.status = Trace::Status.error unless (100..399).include?(response.status)
57
+ @span.status = Trace::Status.error unless (100..399).cover?(response.status)
58
58
  end
59
59
 
60
60
  OpenTelemetry::Context.detach(@trace_token) if @trace_token
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module HTTPX
10
- VERSION = '0.1.0'
10
+ VERSION = '0.1.2'
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-httpx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
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-07 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
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2.4'
69
- - !ruby/object:Gem::Dependency
70
- name: httpx
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: minitest
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +142,28 @@ dependencies:
156
142
  requirements:
157
143
  - - "~>"
158
144
  - !ruby/object:Gem::Version
159
- version: 1.56.1
145
+ version: '1.62'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '1.62'
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.20'
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.56.1
166
+ version: '1.20'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: simplecov
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -227,10 +227,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
227
227
  licenses:
228
228
  - Apache-2.0
229
229
  metadata:
230
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-httpx/0.1.0/file/CHANGELOG.md
230
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-httpx/0.1.2/file/CHANGELOG.md
231
231
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/http
232
232
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
233
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-httpx/0.1.0
233
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-httpx/0.1.2
234
234
  post_install_message:
235
235
  rdoc_options: []
236
236
  require_paths: