opentelemetry-instrumentation-active_support 0.4.4 → 0.5.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: dd1430bbbad917c43fabd403d83bdf2f5793051541d041b371d9445d347f93d9
4
- data.tar.gz: '0269241b82d9ba154bf96b0b5d8a39a71de8f1b28024d4dffadd082008c07c5c'
3
+ metadata.gz: 784fbb07990a41ac4fad92ed2b8a45b6d6236cb6d0bcdea44aad3cf233488bd4
4
+ data.tar.gz: 4a0184651ff5ea35c5ed4aae3ec84dfbd803420a2f29f5dc4c0e7c5e8f7bcce3
5
5
  SHA512:
6
- metadata.gz: 762d4ef7a1e5bcadee12e4f2b9b681ec2576d63fdfa34946615cdfb413c1d16d8ecf03c5ff2bc24db42bad01142b0788678f2095ac80012c12afab20e1028561
7
- data.tar.gz: 6e392af0651f3fb26ddde4542bdded890b2be435e9804dffebfc2aafc6fde53e273f410ee8002c20f4495b8d04fa435d7f575629276a69199e833c298944ce2b
6
+ metadata.gz: 91ff0b5e837e6814f8fc629215fe3136bc573eb372117a7f4a7315a999e88a4e17708e19a857250d1418fdbc9c4b1ff296359e4d16dae5170cdc667eda592ab0
7
+ data.tar.gz: c26e24b857f5bc1b8c0d1ef0a0cae1da19582ff9b66633cb7d2cdd045b96d478dd3080563e4bae4b0736119e2785755d30a6ed73b97587be2c53d7d8ec0b7b1a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History: opentelemetry-instrumentation-active_support
2
2
 
3
+ ### v0.5.0 / 2023-11-22
4
+
5
+ * BREAKING CHANGE: Drop Rails 6.0 EOL
6
+
7
+ * ADDED: Drop Rails 6.0 EOL
8
+
3
9
  ### v0.4.4 / 2023-10-31
4
10
 
5
11
  * FIXED: Remove call to ActiveSupport::Notifications.notifier#synchronize deprecated in Rails 7.2
@@ -9,6 +9,8 @@ module OpenTelemetry
9
9
  module ActiveSupport
10
10
  # The Instrumentation class contains logic to detect and install the ActiveSupport instrumentation
11
11
  class Instrumentation < OpenTelemetry::Instrumentation::Base
12
+ MINIMUM_VERSION = Gem::Version.new('6.1.0')
13
+
12
14
  install do |_config|
13
15
  require_dependencies
14
16
  end
@@ -17,8 +19,16 @@ module OpenTelemetry
17
19
  defined?(::ActiveSupport)
18
20
  end
19
21
 
22
+ compatible do
23
+ gem_version >= MINIMUM_VERSION
24
+ end
25
+
20
26
  private
21
27
 
28
+ def gem_version
29
+ ::ActiveSupport.version
30
+ end
31
+
22
32
  def require_dependencies
23
33
  require_relative 'span_subscriber'
24
34
  end
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module ActiveSupport
10
- VERSION = '0.4.4'
10
+ VERSION = '0.5.0'
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-active_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.5.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: 2023-10-31 00:00:00.000000000 Z
11
+ date: 2023-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - ">="
158
158
  - !ruby/object:Gem::Version
159
- version: '6'
159
+ version: '6.1'
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: '6'
166
+ version: '6.1'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rake
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -255,10 +255,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
255
255
  licenses:
256
256
  - Apache-2.0
257
257
  metadata:
258
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_support/0.4.4/file/CHANGELOG.md
258
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_support/0.5.0/file/CHANGELOG.md
259
259
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/active_support
260
260
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
261
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_support/0.4.4
261
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_support/0.5.0
262
262
  post_install_message:
263
263
  rdoc_options: []
264
264
  require_paths: