opentelemetry-instrumentation-active_record 0.8.1 → 0.9.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: 6fd479327905aa64ad62d66e886697f9389430772564b740f3d10a4d47d8852a
4
- data.tar.gz: 273515e1394aa13264c51d3c27fdf3f29a1b8e2767102642adfe2dae0237f91e
3
+ metadata.gz: aec64fdf7e91b7157f92443f49767e1880cc1a9a5a9204846ca978bab42cb3c3
4
+ data.tar.gz: a8a21d3e215e50f0d87641d8d8092b8fa7f384a4e17aa3864a9b78f2839c6089
5
5
  SHA512:
6
- metadata.gz: d888e331bbe89002d5fb6cc422349935f21fb7d52ad768dd90c0882d3fe3840f033311297114e6ede1686d5a95006347be13edadb24566dd0b56bfa871684b5e
7
- data.tar.gz: 73d88c1fde3b8c42e55465bf798bbd495ff0baf227dc652cc4a5b7fd5d4f58cec9d1aaa91af8482a7707e3840578770d181cc2a6e8f785ed06505e5f431bea5a
6
+ metadata.gz: 1d5eb39173f0562992d523eb6d2c71ce67a719b3d6b56a6d27403fa4d5123a16eb07f4247eea104e84cc44f64dc8feb96d27eea15ccd2166bb6d119874278f92
7
+ data.tar.gz: 49975551a68a95c9e2f7c74165a73a0eeae428c2f0ac2b04f8d182e512983738b5a0d211283849279c7deccf2d91d48e75874578de5d6676cc22a5ad27dc79ed
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release History: opentelemetry-instrumentation-active_record
2
2
 
3
+ ### v0.9.0 / 2025-01-16
4
+
5
+ * BREAKING CHANGE: Drop Support for EoL Rails 6.1
6
+ * BREAKING CHANGE: Set minimum supported version to Ruby 3.1
7
+
8
+ * ADDED: Drop Support for EoL Rails 6.1
9
+ * ADDED: Set minimum supported version to Ruby 3.1
10
+
3
11
  ### v0.8.1 / 2024-11-21
4
12
 
5
13
  * FIXED: Pass block argument in ActiveRecord `find_by_sql` patch.
@@ -9,7 +9,7 @@ module OpenTelemetry
9
9
  module ActiveRecord
10
10
  # The Instrumentation class contains logic to detect and install the ActiveRecord instrumentation
11
11
  class Instrumentation < OpenTelemetry::Instrumentation::Base
12
- MINIMUM_VERSION = Gem::Version.new('6.1.0')
12
+ MINIMUM_VERSION = Gem::Version.new('7')
13
13
 
14
14
  install do |_config|
15
15
  require_dependencies
@@ -45,7 +45,7 @@ module OpenTelemetry
45
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
- # Example: Patches::PersistenceClassMethods refers to https://github.com/rails/rails/blob/v6.1.0/activerecord/lib/active_record/persistence.rb#L10
48
+ # Example: Patches::PersistenceClassMethods refers to https://github.com/rails/rails/blob/v7.0.0/activerecord/lib/active_record/persistence.rb#L10
49
49
  # which is included into ActiveRecord::Base in https://github.com/rails/rails/blob/914caca2d31bd753f47f9168f2a375921d9e91cc/activerecord/lib/active_record/base.rb#L283
50
50
  ::ActiveRecord::Base.prepend(Patches::Querying)
51
51
  ::ActiveRecord::Base.prepend(Patches::Persistence)
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module ActiveRecord
10
- VERSION = '0.8.1'
10
+ VERSION = '0.9.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_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-21 00:00:00.000000000 Z
11
+ date: 2025-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -30,28 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.22.1
33
+ version: 0.23.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.22.1
41
- - !ruby/object:Gem::Dependency
42
- name: activerecord
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '6.1'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '6.1'
40
+ version: 0.23.0
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: appraisal
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -142,28 +128,28 @@ dependencies:
142
128
  requirements:
143
129
  - - "~>"
144
130
  - !ruby/object:Gem::Version
145
- version: 1.68.0
131
+ version: 1.69.1
146
132
  type: :development
147
133
  prerelease: false
148
134
  version_requirements: !ruby/object:Gem::Requirement
149
135
  requirements:
150
136
  - - "~>"
151
137
  - !ruby/object:Gem::Version
152
- version: 1.68.0
138
+ version: 1.69.1
153
139
  - !ruby/object:Gem::Dependency
154
140
  name: rubocop-performance
155
141
  requirement: !ruby/object:Gem::Requirement
156
142
  requirements:
157
143
  - - "~>"
158
144
  - !ruby/object:Gem::Version
159
- version: 1.22.0
145
+ version: 1.23.0
160
146
  type: :development
161
147
  prerelease: false
162
148
  version_requirements: !ruby/object:Gem::Requirement
163
149
  requirements:
164
150
  - - "~>"
165
151
  - !ruby/object:Gem::Version
166
- version: 1.22.0
152
+ version: 1.23.0
167
153
  - !ruby/object:Gem::Dependency
168
154
  name: simplecov
169
155
  requirement: !ruby/object:Gem::Requirement
@@ -233,11 +219,11 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
233
219
  licenses:
234
220
  - Apache-2.0
235
221
  metadata:
236
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.8.1/file/CHANGELOG.md
222
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.9.0/file/CHANGELOG.md
237
223
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/active_record
238
224
  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.1
240
- post_install_message:
225
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.9.0
226
+ post_install_message:
241
227
  rdoc_options: []
242
228
  require_paths:
243
229
  - lib
@@ -245,15 +231,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
245
231
  requirements:
246
232
  - - ">="
247
233
  - !ruby/object:Gem::Version
248
- version: '3.0'
234
+ version: '3.1'
249
235
  required_rubygems_version: !ruby/object:Gem::Requirement
250
236
  requirements:
251
237
  - - ">="
252
238
  - !ruby/object:Gem::Version
253
239
  version: '0'
254
240
  requirements: []
255
- rubygems_version: 3.2.33
256
- signing_key:
241
+ rubygems_version: 3.3.27
242
+ signing_key:
257
243
  specification_version: 4
258
244
  summary: ActiveRecord instrumentation for the OpenTelemetry framework
259
245
  test_files: []