opentelemetry-instrumentation-active_record 0.7.3 → 0.7.4

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: a1ddaea29d71120e402d121369f632b92fc9a48dfb33c5d60bdc38e3becadeec
4
- data.tar.gz: 5bb2301384011e58bab8c96b96bbacb3c61f6f34c35a7222031d784858bda89e
3
+ metadata.gz: 46f36a9998d7174b196a3bbc46c1b9c8d72e3aa594aebccd6f8052f134eeece2
4
+ data.tar.gz: 226b218eb33118b707fb2bd623a72dc10411212600d6bee038cc6da39da9e8ad
5
5
  SHA512:
6
- metadata.gz: 62c14304ace8d9730b7c12fc67a8a7aa99c052172ea71d8cd4499e39f0a37ee6e87678804f55453d734798c6ad2032a6b0c32c211e091f2050d6c03970da1595
7
- data.tar.gz: 8f119bd04db09a6477487c14945ecb8c201dcab6a487b39f6344b734c9068a3741cac1bd6034ba249dfcae81e9a94c0fffaa58e1024484ecb57802ca25c53ee6
6
+ metadata.gz: 9e5ffff33914202650b7cbe8eaf0674b096ca52681e0872b9e1cd30597e285929fc446853c088f9bd2179b263f55ac27d7b1c4ac07aca8a831985d239e568307
7
+ data.tar.gz: 15f31cebcd7c3619b7ebaa7f9e2b7efd0cab6ab85249f381607e09836853c9ff75bf7233b9bf25cd3fa3a18e573b144588ec4dc7cb133dd6acb333da0c394d8f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-active_record
2
2
 
3
+ ### v0.7.4 / 2024-08-19
4
+
5
+ * FIXED: Use ActiveSupport from top-level namespace (NoMethodError on_load)
6
+
3
7
  ### v0.7.3 / 2024-08-15
4
8
 
5
9
  * FIXED: Use Active Support Lazy Load Hooks to avoid prematurely initializing ActiveRecord::Base and ActiveJob::Base
@@ -42,7 +42,7 @@ module OpenTelemetry
42
42
  end
43
43
 
44
44
  def patch_activerecord
45
- ActiveSupport.on_load(:active_record) do
45
+ ::ActiveSupport.on_load(:active_record) do
46
46
  # Modules to prepend to ActiveRecord::Base are grouped by the source
47
47
  # module that they are defined in as they are included into ActiveRecord::Base
48
48
  # Example: Patches::PersistenceClassMethods refers to https://github.com/rails/rails/blob/v6.1.0/activerecord/lib/active_record/persistence.rb#L10
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module ActiveRecord
10
- VERSION = '0.7.3'
10
+ VERSION = '0.7.4'
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_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-15 00:00:00.000000000 Z
11
+ date: 2024-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -233,10 +233,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
233
233
  licenses:
234
234
  - Apache-2.0
235
235
  metadata:
236
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.7.3/file/CHANGELOG.md
236
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.7.4/file/CHANGELOG.md
237
237
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/active_record
238
238
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
239
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.7.3
239
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.7.4
240
240
  post_install_message:
241
241
  rdoc_options: []
242
242
  require_paths: