opentelemetry-instrumentation-http 0.16.1 → 0.16.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: 26064d202a86a178a7401e0e250253d1a41eddf237babb3e08316d75b1af254c
4
- data.tar.gz: b86b6a1b9274d1e0e3b7efb4d8c5e1ee734004da60c9e0667e83e0df925e8b7e
3
+ metadata.gz: ac6414f83a025de5b5ba0c25802cf6794d283dd80b84b80709c2a9022057ec19
4
+ data.tar.gz: 2c6c6fb43b55c93c13cdd3e0d8a23acf36ef5a83a355cf59012c2ef6ca6f423c
5
5
  SHA512:
6
- metadata.gz: feae835e1faa6ef559c1a3afdd15313f4e6e5840a954dc96e23bb0df4646d018ea0b902618dbc6d16cf2f34bef0b176b458abc5d3314a44f81b1cdee7e746849
7
- data.tar.gz: 45f388dbdd145ae1118ffda58e47b888c5c21f6a22e13580592f0580c52af6d9a2c3a062fae07d16e18c76b857073223f8ec4e634c780f1383256d5cdf0d778c
6
+ metadata.gz: 57c245ab9619f24b0602df10019661c13f4cb40b1bb2c6154328b031b5ec6f186077ef44ec2320515e148262ce1ae17286da6d3770f338564fc230e370e9a142
7
+ data.tar.gz: 2cad2267cd14f5dbd80866f08db8aebd0879c8fc6e452ce51444c18a2b9568cad4aab3a4f32aa9d2971c7601dc69ca444c32d54e706d3eb0ba27affcb1c0c798
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-http
2
2
 
3
+ ### v0.16.2 / 2021-03-29
4
+
5
+ * FIXED: HTTP instrumenter should check for gem presence
6
+
3
7
  ### v0.16.1 / 2021-03-25
4
8
 
5
9
  * FIXED: HTTP instrumentation missing require
@@ -17,7 +17,7 @@ module OpenTelemetry
17
17
  end
18
18
 
19
19
  present do
20
- defined?(::HTTP)
20
+ !(defined?(::HTTP) && Gem.loaded_specs['http']).nil?
21
21
  end
22
22
 
23
23
  def patch
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module HTTP
10
- VERSION = '0.16.1'
10
+ VERSION = '0.16.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-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.1
4
+ version: 0.16.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: 2021-03-25 00:00:00.000000000 Z
11
+ date: 2021-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: 12.3.3
111
+ - !ruby/object:Gem::Dependency
112
+ name: rspec-mocks
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: rubocop
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -200,10 +214,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
200
214
  licenses:
201
215
  - Apache-2.0
202
216
  metadata:
203
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http/v0.16.1/file.CHANGELOG.html
217
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http/v0.16.2/file.CHANGELOG.html
204
218
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/http
205
219
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
206
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http/v0.16.1
220
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http/v0.16.2
207
221
  post_install_message:
208
222
  rdoc_options: []
209
223
  require_paths: