trx_ext 1.0.4 → 1.0.5
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 +4 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +4 -0
- data/lib/trx_ext/version.rb +2 -2
- data/lib/trx_ext.rb +3 -3
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 489053db9c987c891db8ef10bc7ce8d513c49193c99b543a5d9610dc80cfe18b
|
|
4
|
+
data.tar.gz: a964c8bbf189217897b61237ac6be0fb8c35ba669efae9b65a24f7a5323a7789
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b09b5eb4644c73a3717d27808b6d9fc7c570b9447a0cfb038952ed862ee240ff880d3650e9688482ea9084c28d429b86663a3e39f55950a179c9b870b33cec00
|
|
7
|
+
data.tar.gz: 74bcdd9e164756cfcdf97132a32d3c08d0cc19785261e4ae827a7f73732db504171494eb52bdea994848aaffa6b25675ba7a7395f76297ae9718e06f0b27cb24
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.2.2
|
data/CHANGELOG.md
CHANGED
data/lib/trx_ext/version.rb
CHANGED
data/lib/trx_ext.rb
CHANGED
|
@@ -14,12 +14,12 @@ module TrxExt
|
|
|
14
14
|
|
|
15
15
|
# @return [void]
|
|
16
16
|
def integrate!
|
|
17
|
+
# Allow to use #wrap_in_trx and #trx methods everywhere
|
|
18
|
+
Object.prepend(TrxExt::ObjectExt)
|
|
19
|
+
|
|
17
20
|
ActiveSupport.on_load(:active_record) do
|
|
18
21
|
require 'active_record/connection_adapters/postgresql_adapter'
|
|
19
22
|
|
|
20
|
-
# Allow to use #wrap_in_trx and #trx methods everywhere
|
|
21
|
-
Object.prepend(TrxExt::ObjectExt)
|
|
22
|
-
|
|
23
23
|
# Patch #transaction
|
|
24
24
|
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.prepend(TrxExt::Transaction)
|
|
25
25
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trx_ext
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Dzyzenko
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-05-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
@@ -143,8 +143,8 @@ licenses:
|
|
|
143
143
|
metadata:
|
|
144
144
|
allowed_push_host: https://rubygems.org
|
|
145
145
|
homepage_uri: https://github.com/intale/trx_ext
|
|
146
|
-
source_code_uri: https://github.com/intale/trx_ext/tree/v1.0.
|
|
147
|
-
changelog_uri: https://github.com/intale/trx_ext/blob/v1.0.
|
|
146
|
+
source_code_uri: https://github.com/intale/trx_ext/tree/v1.0.5
|
|
147
|
+
changelog_uri: https://github.com/intale/trx_ext/blob/v1.0.5/CHANGELOG.md
|
|
148
148
|
post_install_message:
|
|
149
149
|
rdoc_options: []
|
|
150
150
|
require_paths:
|
|
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
160
160
|
- !ruby/object:Gem::Version
|
|
161
161
|
version: '0'
|
|
162
162
|
requirements: []
|
|
163
|
-
rubygems_version: 3.
|
|
163
|
+
rubygems_version: 3.4.10
|
|
164
164
|
signing_key:
|
|
165
165
|
specification_version: 4
|
|
166
166
|
summary: ActiveRecord's transaction extension
|