protobuf-activerecord 7.1.0 → 7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7bc4240e3a09e5096128e31fa18dbd04aae1f3a053e1b77928a446c74ffa97c9
4
- data.tar.gz: 1f27900848c3d25372398cf6faa872056f528ec2c871cf8cc1e9da460cc0b895
3
+ metadata.gz: 6fb4cc53fbe843cf0a71898d80048d4681bfe29749fc80c9da363146a2e25504
4
+ data.tar.gz: 9351a73dd2ca55ae571d6998c00aa0fe850412d0dce923aa9125427f785cc119
5
5
  SHA512:
6
- metadata.gz: b72e52b18db91e69b455418fe3063cd073b988b89832077cba73fc6fce72e860cd4b5e8f3034e1276ef495669a1b2128060457416719b69301e928cf56106214
7
- data.tar.gz: d299f498ef5d6cea450d0e4e0bbfdb48c4d755f6edfd9536b3f6823823817921a9db70c000b07e1a5ee283e489800c49a118c550ac9047d2443351e992f1cc3c
6
+ metadata.gz: b0125957cefb24915fb1c68382a94349cf0c3c2237d13b13c643517127db580ce70d29e94e31e28623ab88772195012089374b677be238dd9bb674e77ae4fc91
7
+ data.tar.gz: 501e0f3f4eec0b3121bb479d3bb59b72b52909477e5fdbc1abb9bb55f3ddd10a5e2da825c97875442e9d97bdd3a42f721597f6fe4e96ab43a0faf9fbfa0d3e29
@@ -9,7 +9,7 @@ module Protobuf
9
9
  def call(env)
10
10
  @app.call(env)
11
11
  ensure
12
- ::ActiveRecord::Base.clear_active_connections!
12
+ ::ActiveRecord::Base.connection_handler.clear_active_connections!
13
13
  end
14
14
  end
15
15
  end
@@ -16,7 +16,7 @@ module Protobuf
16
16
  timeout_interval: ::Protobuf::ActiveRecord.config.connection_reaping_timeout_interval
17
17
  }
18
18
  timed_task = ::Concurrent::TimerTask.new(args) do
19
- ::ActiveRecord::Base.clear_active_connections!
19
+ ::ActiveRecord::Base.connection_handler.clear_active_connections!
20
20
  end
21
21
 
22
22
  timed_task.execute
@@ -120,7 +120,7 @@ module Protobuf
120
120
 
121
121
  if options[:nullify_on]
122
122
  field = protobuf_message.get_field(:nullify)
123
- unless field&.is_a?(::Protobuf::Field::StringField) && field&.repeated?
123
+ unless field&.is_a?(::Protobuf::Field::StringField) && field.repeated?
124
124
  ::Protobuf::Logging.logger.warn "Message: #{protobuf_message} is not compatible with :nullify_on option"
125
125
  end
126
126
  end
@@ -1,5 +1,5 @@
1
1
  module Protobuf
2
2
  module ActiveRecord
3
- VERSION = "7.1.0"
3
+ VERSION = "7.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protobuf-activerecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.0
4
+ version: 7.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Hutchison
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-03-25 00:00:00.000000000 Z
11
+ date: 2026-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -121,7 +121,7 @@ metadata:
121
121
  homepage_uri: http://github.com/liveh2o/protobuf-activerecord
122
122
  source_code_uri: http://github.com/liveh2o/protobuf-activerecord
123
123
  changelog_uri: http://github.com/liveh2o/protobuf-activerecord/blob/main/CHANGELOG.md
124
- post_install_message:
124
+ post_install_message:
125
125
  rdoc_options: []
126
126
  require_paths:
127
127
  - lib
@@ -136,8 +136,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
- rubygems_version: 3.4.22
140
- signing_key:
139
+ rubygems_version: 3.3.27
140
+ signing_key:
141
141
  specification_version: 4
142
142
  summary: Google Protocol Buffers integration for Active Record
143
143
  test_files: []