opentelemetry-instrumentation-active_record 0.8.0 → 0.8.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: 22ba7ba7bbac7675f61b490c737efe0cf694f9ae6445f4ec4489ebbea9fe3be2
4
- data.tar.gz: 234893fc8668f3f5391c17b0061d8a6a007c6b47a10e86e03e56735a7c4bed27
3
+ metadata.gz: 6fd479327905aa64ad62d66e886697f9389430772564b740f3d10a4d47d8852a
4
+ data.tar.gz: 273515e1394aa13264c51d3c27fdf3f29a1b8e2767102642adfe2dae0237f91e
5
5
  SHA512:
6
- metadata.gz: 85884d150ef6c96c1b831408d83c024db89f2682531f573f64deef4c17e1f5c79ee52d5a3f717d79434f53abcadcc61779e1aa00b2e28f1afa826f731be7c527
7
- data.tar.gz: 5c726a1fa9525a5c950b0ac50918f99acd4c2ab55b7289f5abd8af91127f237e07e1183bbf6f623e557d8710a721c44a300f0a248c49a99621ada36bd4ef7486
6
+ metadata.gz: d888e331bbe89002d5fb6cc422349935f21fb7d52ad768dd90c0882d3fe3840f033311297114e6ede1686d5a95006347be13edadb24566dd0b56bfa871684b5e
7
+ data.tar.gz: 73d88c1fde3b8c42e55465bf798bbd495ff0baf227dc652cc4a5b7fd5d4f58cec9d1aaa91af8482a7707e3840578770d181cc2a6e8f785ed06505e5f431bea5a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-active_record
2
2
 
3
+ ### v0.8.1 / 2024-11-21
4
+
5
+ * FIXED: Pass block argument in ActiveRecord `find_by_sql` patch.
6
+
3
7
  ### v0.8.0 / 2024-10-22
4
8
 
5
9
  * BREAKING CHANGE: Rename Active Record find_by_sql spans to query
@@ -20,9 +20,9 @@ module OpenTelemetry
20
20
  module ClassMethods
21
21
  method_name = ::ActiveRecord.version >= Gem::Version.new('7.0.0') ? :_query_by_sql : :find_by_sql
22
22
 
23
- define_method(method_name) do |*args, **kwargs|
23
+ define_method(method_name) do |*args, **kwargs, &block|
24
24
  tracer.in_span("#{self} query") do
25
- super(*args, **kwargs)
25
+ super(*args, **kwargs, &block)
26
26
  end
27
27
  end
28
28
 
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module ActiveRecord
10
- VERSION = '0.8.0'
10
+ VERSION = '0.8.1'
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.8.0
4
+ version: 0.8.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: 2024-10-23 00:00:00.000000000 Z
11
+ date: 2024-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 1.66.0
145
+ version: 1.68.0
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 1.66.0
152
+ version: 1.68.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rubocop-performance
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -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.8.0/file/CHANGELOG.md
236
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.8.1/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.8.0
239
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.8.1
240
240
  post_install_message:
241
241
  rdoc_options: []
242
242
  require_paths: