trx_ext 2.0.0 → 2.0.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 +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/trx_ext/version.rb +1 -1
- data/trx_ext.gemspec +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b300fb55d7310a3e3f4d3a8860044f48deec84791caf6303d7a6b01a2e2728b7
|
4
|
+
data.tar.gz: 2e6d704c74c209b515dfc3a04d06ca549322a0e33d1037a414d779df1c063afd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45c7190466168fe05b18ad69f084152b638235f9fab14edaa0eb6962449a2012b71e6e2b991fb319f73080cd7e3aba2f6700203a362cd86483d91f8ca606b66c
|
7
|
+
data.tar.gz: ce496ee423f04d12b9f92af4373e460edc31048d90908333f8449d98d70eb61053fd675c94f2345e767c5a43ae5535fa6b0e964f179dce604513aa782a8466e4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [2.0.1] - 2024-09-20
|
4
|
+
- Restrict rails version to `< 7.2`. Rails v7.2 has suddenly released its own transaction callbacks which interferes with `trx_ext` transaction callbacks. Example of rails v7.2 transaction callbacks:
|
5
|
+
|
6
|
+
```ruby
|
7
|
+
Article.transaction do |transaction|
|
8
|
+
article.update(published: true)
|
9
|
+
transaction.after_commit do
|
10
|
+
PublishNotificationMailer.with(article: article).deliver_later
|
11
|
+
end
|
12
|
+
end
|
13
|
+
```
|
14
|
+
|
15
|
+
Next major version of `trx_ext` will drop its own transaction callbacks implementation and will start relying on rails' transaction callbacks.
|
16
|
+
|
3
17
|
## [2.0.0] - 2024-04-14
|
4
18
|
|
5
19
|
- `trx_ext` now supports any adapter(except `mysql`; `mysql2` is supported though), supported by rails
|
data/lib/trx_ext/version.rb
CHANGED
data/trx_ext.gemspec
CHANGED
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: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Dzyzenko
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -17,6 +17,9 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '7.1'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '7.2'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -24,6 +27,9 @@ dependencies:
|
|
24
27
|
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '7.1'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '7.2'
|
27
33
|
description: Allow you to retry deadlocks, serialization errors, non-unique errors.
|
28
34
|
email:
|
29
35
|
- ivan.dzyzenko@gmail.com
|
@@ -103,8 +109,8 @@ licenses:
|
|
103
109
|
metadata:
|
104
110
|
allowed_push_host: https://rubygems.org
|
105
111
|
homepage_uri: https://github.com/intale/trx_ext
|
106
|
-
source_code_uri: https://github.com/intale/trx_ext/tree/v2.0.
|
107
|
-
changelog_uri: https://github.com/intale/trx_ext/blob/v2.0.
|
112
|
+
source_code_uri: https://github.com/intale/trx_ext/tree/v2.0.1
|
113
|
+
changelog_uri: https://github.com/intale/trx_ext/blob/v2.0.1/CHANGELOG.md
|
108
114
|
post_install_message:
|
109
115
|
rdoc_options: []
|
110
116
|
require_paths:
|