opentelemetry-test-helpers 0.3.0 → 0.4.0

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: 004b4b32010f297002452903941d889f42122d31a38d7b6a010f79b1753682ec
4
- data.tar.gz: 245145b11f04bd297da424bcff6d7b863ebdb30d9ef0485200d20a9b777dc945
3
+ metadata.gz: c2d3ac50ec54c723aa4343b0330fd8a72c68f5782cc794294221e38c927a49cf
4
+ data.tar.gz: 1199953f27ed30dd1a0e4d21153e5f434b251dd17b0b71eecada9a487c6cafec
5
5
  SHA512:
6
- metadata.gz: 89f57cfe1552dfab50710456112f2fe168c4e44a3140ddb326b9b5ae1a8a21d21fa2b3255a1df4b33f938f22c6a87ec3b23761dab474c0e8fe9ff37e77a4b5fb
7
- data.tar.gz: a79ca35ef8dbd2272a7a0071388f5d29a2bf798fefc4d373e3ae54fdf2598155d19d94f4f00ee805e4ba38295546d091f50854a9265b12053202b7f43dbd905b
6
+ metadata.gz: d7966b7303ded467313e57a68fb2397fe824baebee4fb1ad87a3c37252e75eb1586f43e757dd193f104375a050a47e0e5b3821907bf89f0e42a2a5a1da15eb39
7
+ data.tar.gz: a6bd874dcf7a7b7d4a0867cbbefbbddb300a1f25f6c5bc8ea5f7fce68b4b60a73c1f468d3a1eaec5bf07cb4c174d1e6f52dd04fa7f8ebf22a4b54139803f3948
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History: opentelemetry-test-helpers
2
2
 
3
+ ### v0.4.0 / 2023-06-08
4
+
5
+ * BREAKING CHANGE: Remove support for EoL Ruby 2.7
6
+
7
+ * ADDED: Remove support for EoL Ruby 2.7
8
+
3
9
  ### v0.3.0 / 2022-09-14
4
10
 
5
11
  * ADDED: Support InstrumentationScope, and update OTLP proto to 0.18.0
@@ -7,6 +7,6 @@
7
7
  module OpenTelemetry
8
8
  ## Current OpenTelemetry Test Helpers version
9
9
  module TestHelpers
10
- VERSION = '0.3.0'
10
+ VERSION = '0.4.0'
11
11
  end
12
12
  end
@@ -55,11 +55,9 @@ module OpenTelemetry
55
55
  keys_to_delete.each { |k| ENV.delete(k) }
56
56
  end
57
57
 
58
- def with_ids(trace_id, span_id)
58
+ def with_ids(trace_id, span_id, &block)
59
59
  OpenTelemetry::Trace.stub(:generate_trace_id, trace_id) do
60
- OpenTelemetry::Trace.stub(:generate_span_id, span_id) do
61
- yield
62
- end
60
+ OpenTelemetry::Trace.stub(:generate_span_id, span_id, &block)
63
61
  end
64
62
  end
65
63
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-test-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-14 00:00:00.000000000 Z
11
+ date: 2023-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.73.0
103
+ version: '1.3'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.73.0
110
+ version: '1.3'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -168,10 +168,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
168
168
  licenses:
169
169
  - Apache-2.0
170
170
  metadata:
171
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-test-helpers/v0.3.0/file.CHANGELOG.html
171
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-test-helpers/v0.4.0/file.CHANGELOG.html
172
172
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/test_helpers
173
173
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
174
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-test-helpers/v0.3.0
174
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-test-helpers/v0.4.0
175
175
  post_install_message:
176
176
  rdoc_options: []
177
177
  require_paths:
@@ -180,14 +180,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
180
180
  requirements:
181
181
  - - ">="
182
182
  - !ruby/object:Gem::Version
183
- version: 2.6.0
183
+ version: '3.0'
184
184
  required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  requirements:
186
186
  - - ">="
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0'
189
189
  requirements: []
190
- rubygems_version: 3.1.6
190
+ rubygems_version: 3.2.33
191
191
  signing_key:
192
192
  specification_version: 4
193
193
  summary: A collection of helpers for testing OpenTelemetry Ruby