opentelemetry-instrumentation-base 0.22.0 → 0.22.1

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: a5e999880772868ae1150c6520c9714e8839c8269c1112bef4a7e2650301c0c2
4
- data.tar.gz: 7bf5f8cbcf3bb02ea90510ccbef5662e7c0bce68863f1351efb58cc663aec344
3
+ metadata.gz: fe72c36bbbbd3a7e29d55ec4cb24b5b9a98b3e727cf1988c59b44916a3125b8c
4
+ data.tar.gz: 5b9b7014c4f5e7ffed20268594e4b41fc9a16192eb46f2bd270556dc700023c2
5
5
  SHA512:
6
- metadata.gz: dced79a6980465e6bc65fbadc7caac35e7f86e19b3d68a38666e34558be2611fb0b8ce70d50def17a10202161eae7a608836cd16f760ff1105b149e7972d9079
7
- data.tar.gz: 120bd74d670494dacb3f3143df982661c006234ff7173a8530fa3a5124f977dbadbfea764bc168a5cfe0661ea9e8e7e99c0fa93ecc48e39600b8b00fe8bc92a7
6
+ metadata.gz: 757b5f39197b3c40fc1be7a1fe9d61c764b848c8ce2c6b6ae26aa8da17eaa79a8b4e4f62aa9a501843932614684a7d05a5d828a76e11b157a46bce7b6448e9b5
7
+ data.tar.gz: 58139acb65095a3c16c65b0e4f44ce6123500daedeba440939b227d5fd74a4f79236691dc87471fe202d533d7a5b9e2be051ccf826cf0b32366ee527ae509046
data/CHANGELOG.md CHANGED
@@ -1,15 +1,19 @@
1
1
  # Release History: opentelemetry-instrumentation-base
2
2
 
3
+ ### v0.22.1 / 2023-06-02
4
+
5
+ * feat: make config available to compatible blocks #453
6
+
3
7
  ### v0.22.0 / 2023-04-16
4
8
 
5
9
  * BREAKING CHANGE: Drop support for EoL Ruby 2.7
6
10
 
7
- * ADDED: Drop support for EoL Ruby 2.7
11
+ * ADDED: Drop support for EoL Ruby 2.7
8
12
 
9
13
  ### v0.21.1 / 2023-01-14
10
14
 
11
- * DOCS: Fix gem homepage
12
- * DOCS: More gem documentation fixes
15
+ * DOCS: Fix gem homepage
16
+ * DOCS: More gem documentation fixes
13
17
 
14
18
  ### v0.21.0 / 2022-05-26
15
19
 
@@ -18,12 +22,12 @@
18
22
 
19
23
  ### v0.20.0 / 2022-05-02
20
24
 
21
- * ADDED: Validate Using Enums
22
- * FIXED: RubyGems Fallback
25
+ * ADDED: Validate Using Enums
26
+ * FIXED: RubyGems Fallback
23
27
 
24
28
  ### v0.19.0 / 2021-12-01
25
29
 
26
- * ADDED: Add default options config helper + env var config option support
30
+ * ADDED: Add default options config helper + env var config option support
27
31
 
28
32
  ### v0.18.3 / 2021-09-29
29
33
 
@@ -215,9 +215,10 @@ module OpenTelemetry
215
215
  # @param [Hash] config The config for this instrumentation
216
216
  def install(config = {})
217
217
  return true if installed?
218
- return false unless installable?(config)
219
218
 
220
219
  @config = config_options(config)
220
+ return false unless installable?(config)
221
+
221
222
  instance_exec(@config, &@install_blk)
222
223
  @tracer = OpenTelemetry.tracer_provider.tracer(name, version)
223
224
  @installed = true
@@ -6,6 +6,6 @@
6
6
 
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
- VERSION = '0.22.0'
9
+ VERSION = '0.22.1'
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.22.1
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-04-17 00:00:00.000000000 Z
11
+ date: 2023-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.49.0
103
+ version: 1.52.0
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: 1.49.0
110
+ version: 1.52.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -169,10 +169,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
169
169
  licenses:
170
170
  - Apache-2.0
171
171
  metadata:
172
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-base/0.22.0/file/CHANGELOG.md
172
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-base/0.22.1/file/CHANGELOG.md
173
173
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/base
174
174
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
175
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-base/0.22.0
175
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-base/0.22.1
176
176
  post_install_message:
177
177
  rdoc_options: []
178
178
  require_paths: