opentelemetry-instrumentation-active_record 0.7.0 → 0.7.2

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: 5b8dca0decfc1ef4776e5bd5a279153ceb9ec925f6a608921f5bf4f450b08b85
4
- data.tar.gz: 52cc62d5fce5588af3292c71e9786002be84d0900064f8e2b3b8bd7d210cc64e
3
+ metadata.gz: 5d1131d4989281075576fd33667b2dfe783c5da679192b254f0ac8bd11490075
4
+ data.tar.gz: 719137b4fb014c01449240d61bb12ee0e76671e43bf6fd0b5259461904c28154
5
5
  SHA512:
6
- metadata.gz: 63c127411237a98472aa82d07c7d70155fa2773216b3efb1257aa7b7ddc45b31eca0f3840a1de12905d9bd7dd3a6f57c8020846c70efe00336adde964c22f781
7
- data.tar.gz: fd25f7c110295345bff3d82d877000e4bc75c0a440b50f8ac04dad656ce167673850bc750777ade9c515fb5130f2c90b83c88908318a3407c69d4d9c0868439a
6
+ metadata.gz: 4ee27b5a907c5b08dcf34c96ef61fed9b13a3ebe7f38c9d0a4999d9945f91a77079aca4e9e6fc8b04ce349a8bbf311d16eb9d20288613eaebcc59c270fbc7eb8
7
+ data.tar.gz: a7b2dcce676d412fe490d3177bd36c2c2bb9786f5f8791a1042ccbabff6dd5e2a083087679e2f455731094f58755f78861fb40c1b92dafeb837ec229904aa73b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release History: opentelemetry-instrumentation-active_record
2
2
 
3
+ ### v0.7.2 / 2024-04-30
4
+
5
+ * FIXED: Resolve active_record testing issue
6
+
7
+ ### v0.7.1 / 2024-04-05
8
+
9
+ * FIXED: Instrumentation/active_record: add `:allow_retry` option to `find_by_sql` patch
10
+
3
11
  ### v0.7.0 / 2023-11-22
4
12
 
5
13
  * BREAKING CHANGE: Drop Rails 6.0 EOL
@@ -51,9 +51,6 @@ module OpenTelemetry
51
51
  end
52
52
 
53
53
  def require_dependencies
54
- # Our patches depend on Ruby 2 Keyword Syntax compatability since it is decorating the existing AR API
55
- # Once we migrate to ActiveSupport Notifications based instrumentation we can remove this require statement.
56
- require 'ruby2_keywords' # rubocop:disable Lint/RedundantRequireStatement
57
54
  require_relative 'patches/querying'
58
55
  require_relative 'patches/persistence'
59
56
  require_relative 'patches/persistence_class_methods'
@@ -18,7 +18,7 @@ module OpenTelemetry
18
18
 
19
19
  # Contains ActiveRecord::Querying to be patched
20
20
  module ClassMethods
21
- def find_by_sql(sql, binds = [], preparable: nil, &block)
21
+ def find_by_sql(...)
22
22
  tracer.in_span("#{self}.find_by_sql") do
23
23
  super
24
24
  end
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module ActiveRecord
10
- VERSION = '0.7.0'
10
+ VERSION = '0.7.2'
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.0
4
+ version: 0.7.2
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-11-22 00:00:00.000000000 Z
11
+ date: 2024-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.22.1
41
- - !ruby/object:Gem::Dependency
42
- name: ruby2_keywords
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: activerecord
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +142,28 @@ dependencies:
156
142
  requirements:
157
143
  - - "~>"
158
144
  - !ruby/object:Gem::Version
159
- version: 1.56.1
145
+ version: '1.62'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '1.62'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rubocop-performance
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '1.20'
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: 1.56.1
166
+ version: '1.20'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: simplecov
169
169
  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.7.0/file/CHANGELOG.md
236
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.7.2/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.0
239
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.7.2
240
240
  post_install_message:
241
241
  rdoc_options: []
242
242
  require_paths: