activerecord-transactionable 3.0.2 → 3.0.4

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.
data/README.md CHANGED
@@ -1,77 +1,120 @@
1
- # Activerecord::Transactionable
1
+ <a href="https://github.com/galtzo-floss"><img alt="galtzo-floss Logo by GitHub" src="https://github.com/galtzo-floss.png?size=192" width="14%" align="right"/></a>
2
2
 
3
- Provides a method, `transaction_wrapper` at the class and instance levels that can be used instead of `ActiveRecord#transaction`. Enables you to do transactions properly, with custom rescues and retry, including with or without locking.
3
+ # 💱 Activerecord::Transactionable
4
4
 
5
- | Project | Activerecord::Transactionable |
6
- |--------------------------- |--------------------------- |
7
- | name, license, docs | [`activerecord-transactionable`][rubygems] [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)][license-ref] [![RubyDoc.info](https://img.shields.io/badge/documentation-rubydoc-brightgreen.svg?style=flat)][documentation] |
8
- | version & downloads | [![Version](https://img.shields.io/gem/v/activerecord-transactionable.svg)][rubygems] [![Total Downloads](https://img.shields.io/gem/dt/activerecord-transactionable.svg)][rubygems] [![Downloads Today](https://img.shields.io/gem/rd/activerecord-transactionable.svg)][rubygems] [![Homepage](https://img.shields.io/badge/source-github-brightgreen.svg?style=flat)][source] |
9
- | dependencies & linting | [![Depfu](https://badges.depfu.com/badges/d570491bac0ad3b0b65deb3c82028327/count.svg)][depfu] [![lint status](https://github.com/pboling/activerecord-transactionable/actions/workflows/style.yml/badge.svg)][actions] |
10
- | unit tests | [![supported rubies](https://github.com/pboling/activerecord-transactionable/actions/workflows/supported.yml/badge.svg)][actions] [![unsupported status](https://github.com/pboling/activerecord-transactionable/actions/workflows/unsupported.yml/badge.svg)][actions] |
11
- | coverage & maintainability | [![Test Coverage](https://api.codeclimate.com/v1/badges/41fa99881cfe6d45e7e5/test_coverage)][climate_coverage] [![codecov](https://codecov.io/gh/pboling/activerecord-transactionable/branch/master/graph/badge.svg?token=4ZNAWNxrf9)][codecov_coverage] [![Maintainability](https://api.codeclimate.com/v1/badges/41fa99881cfe6d45e7e5/maintainability)][climate_maintainability] [![Security Policy](https://img.shields.io/badge/security-policy-brightgreen.svg?style=flat)][security] |
12
- | resources | [![Discussion](https://img.shields.io/badge/discussions-github-brightgreen.svg?style=flat)][gh_discussions] [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github) [![Join the chat at https://gitter.im/pboling/activerecord-transactionable](https://badges.gitter.im/Join%20Chat.svg)][chat] [![Blog](https://img.shields.io/badge/blog-railsbling-brightgreen.svg?style=flat)][blogpage] |
13
- | Spread ~♡ⓛⓞⓥⓔ♡~ | [![Open Source Helpers](https://www.codetriage.com/pboling/activerecord-transactionable/badges/users.svg)][code_triage] [![Liberapay Patrons](https://img.shields.io/liberapay/patrons/pboling.svg?logo=liberapay)][liberapay_donate] [![Sponsor Me](https://img.shields.io/badge/sponsor-pboling.svg?style=social&logo=github)][gh_sponsors] [🌏][aboutme] [👼][angelme] [💻][coderme] [🌹][politicme] [![Tweet @ Peter][followme-img]][tweetme] |
5
+ [![Version][👽versioni]][👽version] [![Ruby Users Forum][✉️ruby-forum-top-img]][✉️ruby-forum] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄license-img]][📄license] [![Total downloads][👽dl-ranki]][👽dl-rank] [![CodeCov Test Coverage][🏀codecovi]][🏀codecov] [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls] [![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov] [![QLTY Maintainability][🏀qlty-mnti]][🏀qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf] [![Apache SkyWalking Eyes License Compatibility Check][🚎15-🪪-wfi]][🚎15-🪪-wf]
14
6
 
15
- Useful as an example of correct behavior for wrapping transactions.
7
+ `if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know on Discord][✉️discord-invite] or [RubyForum][✉️ruby-forum], as I may have missed the notification.
16
8
 
17
- NOTE: Rails' transactions are per-database connection, not per-model, nor per-instance,
18
- see: http://api.rubyonrails.org/classes/ActiveRecord/Transactions/ClassMethods.html
9
+ ---
19
10
 
20
- ## Upgrading to Version 2
11
+ `if ci_badges.map(&:color).all? { it == "green"}` 👇️ send money so I can do more of this. FLOSS maintenance is now my full-time job.
21
12
 
22
- In version 1 the `transaction_wrapper` returned `true` or `false`. In version 2 it returns an instance of `Activerecord::Transactionable::Result`, which has a `value`, and three methods:
23
- ```ruby
24
- args = {}
25
- result = transaction_wrapper(**args) do
26
- something
27
- end
28
- result.fail?
29
- result.success?
30
- result.to_h # => a hash with diagnostic information, particularly useful when things go wrong
31
- ```
32
- Where you used to have:
33
- ```ruby
34
- if result
35
- # ...
36
- end
37
- ```
38
- You must update to:
39
- ```ruby
40
- if result.success?
41
- # ...
42
- end
43
- ```
13
+ [![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate at ko-fi.com][🖇kofi-img]][🖇kofi]
44
14
 
45
- ## Installation
15
+ <details markdown="1">
16
+ <summary>👣 How will this project approach the September 2025 hostile takeover of RubyGems? 🚑️</summary>
46
17
 
47
- Add this line to your application's Gemfile:
18
+ I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-takeover-of-rubygems-my-thoughts-5hlo).
48
19
 
49
- ```ruby
50
- gem "activerecord-transactionable"
51
- ```
20
+ </details>
21
+
22
+ ## 🌻 Synopsis <a href="https://discord.gg/3qme4XHNKN"><img alt="Galtzo FLOSS Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/galtzo-floss/avatar-128px.svg" width="8%" align="right"/></a> <a href="https://ruby-toolbox.com"><img alt="ruby-lang Logo, Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5" src="https://logos.galtzo.com/assets/images/ruby-lang/avatar-128px.svg" width="8%" align="right"/></a>
23
+
24
+ Activerecord::Transactionable wraps ActiveRecord work in transactions while
25
+ handling retries, nested transactions, optional row locking, and useful result
26
+ objects for callers that need to inspect success or failure.
27
+
28
+ ## 💡 Info you can shake a stick at
29
+
30
+ | Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
31
+ |-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
32
+ | Works with JRuby | [![JRuby 10.0 Compat][💎jruby-10.0i]][🚎jruby-10.0-wf] [![JRuby current Compat][💎jruby-c-i]][🚎10-j-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
33
+ | Works with Truffle Ruby | [![Truffle Ruby 33.0 Compat][💎truby-33.0i]][🚎truby-33.0-wf] [![Truffle Ruby current Compat][💎truby-c-i]][🚎9-t-wf]|
34
+ | Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
35
+ | Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎ruby-3.0-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎ruby-3.1-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎ruby-3.2-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎ruby-3.3-wf] [![Ruby 3.4 Compat][💎ruby-3.4i]][🚎ruby-3.4-wf]|
36
+ | Works with MRI Ruby 2 | [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎ruby-2.5-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎ruby-2.6-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎ruby-2.7-wf]|
37
+ | Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Get help from RubyForum][✉️ruby-forum-img]][✉️ruby-forum] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼‍🏫expsup-upwork-img]][👨🏼‍🏫expsup-upwork] [![Get help from me on Codementor][👨🏼‍🏫expsup-codementor-img]][👨🏼‍🏫expsup-codementor] |
38
+ | Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on GitHub.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
39
+ | Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![Maintainer Blog][🚂maint-blog-img]][🚂maint-blog] [![GitLab Wiki][📜gl-wiki-img]][📜gl-wiki] [![GitHub Wiki][📜gh-wiki-img]][📜gh-wiki] |
40
+ | Compliance | [![License: MIT][📄license-img]][📄license] [![Apache license compatibility: Category A][📄license-compat-img]][📄license-compat] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
41
+ | Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] [![Compatibility appraised by: appraisal2][💎appraisal2-img]][💎appraisal2] |
42
+ | Maintainer 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact] [![My technical writing][💖💁🏼‍♂️devto-img]][💖💁🏼‍♂️devto] |
43
+ | `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼‍♂️aboutme-img]][💖💁🏼‍♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
44
+
45
+ ### Compatibility
46
+
47
+ The gem's declared runtime compatibility floor is MRI Ruby 2.5.0+, with concordant releases of JRuby and TruffleRuby.
48
+ CI workflows and Appraisals are generated for MRI Ruby 2.5.0+.
49
+ The current MRI CI lane runs on Linux and macOS.
50
+ The test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml`.
51
+ When it is higher than the runtime floor, older runtime-compatible Rubies are
52
+ not covered by the generated CI or Appraisal matrix.
53
+
54
+ <a href="https://github.com/kettle-dev"><img alt="kettle-dev Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/kettle-dev/avatar-128px.svg" width="14%" align="right"/></a>
55
+
56
+ The _amazing_ test matrix is powered by the kettle-dev stack.
52
57
 
53
- And then execute:
58
+ <details markdown="1">
59
+ <summary>How kettle-dev manages complexity in tests</summary>
54
60
 
55
- $ bundle
61
+ | Gem | Source | Role | Total downloads |
62
+ |-----|--------|------|---------------------|
63
+ | [appraisal2](https://clickgems.clickhouse.com/dashboard/appraisal2) | [GitHub](https://github.com/appraisal-rb/appraisal2) | multi-dependency Appraisal matrix generation | [![Total downloads for appraisal2](https://img.shields.io/gem/dt/appraisal2.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/appraisal2) |
64
+ | [appraisal2-rubocop](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) | [GitHub](https://github.com/appraisal-rb/appraisal2-rubocop) | RuboCop Appraisal generator integration | [![Total downloads for appraisal2-rubocop](https://img.shields.io/gem/dt/appraisal2-rubocop.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) |
65
+ | [kettle-dev](https://clickgems.clickhouse.com/dashboard/kettle-dev) | [GitHub](https://github.com/kettle-dev/kettle-dev) | development, release, and CI workflow tooling | [![Total downloads for kettle-dev](https://img.shields.io/gem/dt/kettle-dev.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/kettle-dev) |
66
+ | [kettle-jem](https://clickgems.clickhouse.com/dashboard/kettle-jem) | [GitHub](https://github.com/kettle-dev/kettle-jem) | Appraisals & CI workflow templates | [![Total downloads for kettle-jem](https://img.shields.io/gem/dt/kettle-jem.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/kettle-jem) |
67
+ | [kettle-soup-cover](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) | [GitHub](https://github.com/kettle-dev/kettle-soup-cover) | SimpleCov coverage policy and reporting | [![Total downloads for kettle-soup-cover](https://img.shields.io/gem/dt/kettle-soup-cover.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) |
68
+ | [kettle-test](https://clickgems.clickhouse.com/dashboard/kettle-test) | [GitHub](https://github.com/kettle-dev/kettle-test) | standard test runner and coverage harness | [![Total downloads for kettle-test](https://img.shields.io/gem/dt/kettle-test.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/kettle-test) |
69
+ | [rubocop-lts](https://clickgems.clickhouse.com/dashboard/rubocop-lts) | [GitHub](https://github.com/rubocop-lts/rubocop-lts) | Ruby-version-aware linting | [![Total downloads for rubocop-lts](https://img.shields.io/gem/dt/rubocop-lts.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/rubocop-lts) |
70
+ | [turbo_tests2](https://clickgems.clickhouse.com/dashboard/turbo_tests2) | [GitHub](https://github.com/galtzo-floss/turbo_tests2) | parallel test execution | [![Total downloads for turbo_tests2](https://img.shields.io/gem/dt/turbo_tests2.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/turbo_tests2) |
56
71
 
57
- Or install it yourself as:
72
+ </details>
58
73
 
59
- $ gem install activerecord-transactionable
74
+ ### Federated DVCS
60
75
 
61
- ## Compatibility
76
+ <details markdown="1">
77
+ <summary>Find this repo on federated forges (Coming soon!)</summary>
62
78
 
63
- Targeted ruby compatibility is non-EOL versions of Ruby, currently 2.6, 2.7, and
64
- 3.0. Ruby is limited to 2.5+ in the gemspec, and when it changes there will be a major release.
65
- The `master` branch currently targets 3.0.x releases.
79
+ | Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
80
+ |-------------------------------------------------|-------------------------------------------|-------------------|------------------|-----------------|----------------|
81
+ | 🧪 [galtzo-floss/activerecord-transactionable on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
82
+ | 🧊 [galtzo-floss/activerecord-transactionable on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
83
+ | 🐙 [galtzo-floss/activerecord-transactionable on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
66
84
 
67
- | Ruby OAuth Version | Maintenance Branch | Officially Supported Rubies | Unofficially Supported Rubies |
68
- |--------------------- | ------------------ | ------------------------------------------- | ----------------------------- |
69
- | 3.0.x | `master` | 2.6, 2.7, 3.0 | 2.5 |
70
- | 2.0.x | `v2-maintenance` | 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 3.0 | |
85
+ </details>
71
86
 
72
- NOTE: 2.0.5 is anticipated as last release of the 2.x series.
87
+ ### Enterprise Support
73
88
 
74
- ## Usage
89
+ For enterprise support from the maintainer, use [Upwork][👨🏼‍🏫expsup-upwork] or [CodeMentor][👨🏼‍🏫expsup-codementor].
90
+
91
+ Other support channels:
92
+
93
+ - [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
94
+ - [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
95
+
96
+ ## ✨ Installation
97
+
98
+ Install the gem and add to the application's Gemfile by executing:
99
+
100
+ ```console
101
+ bundle add activerecord-transactionable
102
+ ```
103
+
104
+ If bundler is not being used to manage dependencies, install the gem by executing:
105
+
106
+ ```console
107
+ gem install activerecord-transactionable
108
+ ```
109
+
110
+ ## ⚙️ Configuration
111
+
112
+ Include `Activerecord::Transactionable` in the model or service object that owns
113
+ the operation. Configure a call with `transaction_wrapper` options such as
114
+ `lock: true`, `requires_new: true`, retry settings, and the error-handling
115
+ options supported by the wrapper. There is no global initializer.
116
+
117
+ ## 🔧 Basic Usage
75
118
 
76
119
  ```ruby
77
120
  class Car < ActiveRecord::Base
@@ -124,220 +167,374 @@ If you need to know if the transaction succeeded:
124
167
  ```ruby
125
168
  car = Car.new(name: nil)
126
169
  result = car.transaction_wrapper(lock: true) do # uses ActiveRecord's with_lock
127
- car.save!
170
+ car.save!
128
171
  end
129
172
  result # => an instance of Activerecord::Transactionable::Result
130
173
  result.success? # => true or false
131
174
  ```
132
175
 
133
- ## Update Example
176
+ ## 🦷 FLOSS Funding
134
177
 
135
- ```ruby
136
- @client = Client.find(params[:id])
137
- transaction_result = @client.transaction_wrapper(lock: true) do
138
- @client.assign_attributes(client_params)
139
- @client.save!
140
- end
141
- if transaction_result.success?
142
- render :show, locals: { client: @client }, status: :ok
143
- else
144
- # Something prevented update, transaction_result.to_h will have all the available details
145
- render json: { record_errors: @client.errors, transaction_result: transaction_result.to_h }, status: :unprocessable_entity
146
- end
147
- ```
178
+ While galtzo-floss tools are free software and will always be, the project would benefit immensely from some funding.
179
+ Raising a monthly budget of... "dollars" would make the project more sustainable.
148
180
 
149
- ## Find or create
181
+ We welcome both individual and corporate sponsors! We also offer a
182
+ wide array of funding channels to account for your preferences.
183
+ Currently, [Open Collective][🖇osc] is our preferred funding platform.
150
184
 
151
- NOTE: The `is_retry` is passed to the block by the gem, and indicates whether the block is running for the first time or the second, or nth, time.
152
- The block will never be retried more than once.
185
+ ### Corporate Sponsorship
153
186
 
154
- ```ruby
155
- Car.transaction_wrapper(outside_retriable_errors: ActivRecord::RecordNotFound, outside_num_retry_attempts: 3) do |is_retry|
156
- # is_retry will be falsey on first attempt, thereafter will be the integer number of the attempt
157
- if is_retry
158
- Car.create!(vin: vin)
159
- else
160
- Car.find_by!(vin: vin)
161
- end
162
- end
163
- ```
164
-
165
- ## Create or find
187
+ **If you're working in a company that's making significant use of galtzo-floss tools we'd
188
+ appreciate it if you suggest to your company to become a galtzo-floss sponsor.**
166
189
 
167
- NOTE: The `is_retry` is passed to the block by the gem, and indicates whether the block is running for the first time or the second time.
168
- The block will never be retried more than once.
190
+ ### Individual Support
169
191
 
170
- ```ruby
171
- Car.transaction_wrapper(outside_retriable_errors: ActivRecord::RecordNotUnique) do |is_retry|
172
- # is_retry will be falsey on first attempt, thereafter will be the integer number of the attempt
173
- if is_retry
174
- Car.find_by!(vin: vin)
175
- else
176
- Car.create!(vin: vin)
177
- end
178
- end
179
- ```
192
+ You can support the development of galtzo-floss tools via
193
+ [GitHub Sponsors][🖇sponsor],
194
+ [Liberapay][⛳liberapay],
195
+ [Open Collective][🖇osc],
196
+ and [PayPal][🖇paypal].
180
197
 
181
- ## Reporting to SAAS Error Tools (like Raygun, etc)
198
+ ### Open Collective for Individuals
182
199
 
183
- Hopefully there will be a better integration at some point, but for now, somewhere in your code do:
200
+ Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/galtzo-floss#backer)]
184
201
 
185
- ```ruby
186
- module SendToRaygun
187
- def transaction_error_logger(**args)
188
- super
189
- if args[:error]
190
- begin
191
- Raygun.track_exception(args[:error])
192
- Rails.logger.debug("Sent Error to Raygun: #{args[:error].class}: #{args[:error].message}")
193
- rescue StandardError => e
194
- Rails.logger.error("Sending Error #{args[:error].class}: #{args[:error].message} to Raygun Failed with: #{e.class}: #{e.message}")
195
- end
196
- end
197
- end
198
- end
202
+ NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day, automatically.
199
203
 
200
- Activerecord::Transactionable::ClassMethods.class_eval do
201
- prepend SendToRaygun
202
- end
203
- ```
204
+ <!-- OPENCOLLECTIVE-INDIVIDUALS:START -->
205
+ No backers yet. Be the first!
206
+ <!-- OPENCOLLECTIVE-INDIVIDUALS:END -->
204
207
 
205
- ## More Information
208
+ ### Open Collective for Organizations
206
209
 
207
- * RubyDoc Documentation: [![RubyDoc.info](https://img.shields.io/badge/documentation-rubydoc-brightgreen.svg?style=flat)][documentation]
208
- * GitHub Discussions: [![Discussion](https://img.shields.io/badge/discussions-github-brightgreen.svg?style=flat)][gh_discussions]
209
- * Live Chat on Gitter: [![Join the chat at https://gitter.im/pboling/activerecord-transactionable](https://badges.gitter.im/Join%20Chat.svg)][chat]
210
- * Maintainer's Blog: [![Blog](https://img.shields.io/badge/blog-railsbling-brightgreen.svg?style=flat)][blogpage]
210
+ Become a sponsor and get your logo on our README on GitHub with a link to your site. [[Become a sponsor](https://opencollective.com/galtzo-floss#sponsor)]
211
211
 
212
- ## Code of Conduct
212
+ NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day, automatically.
213
213
 
214
- Everyone interacting with this project's code, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/pboling/activerecord-transactionable/blob/master/CODE_OF_CONDUCT.md).
214
+ <!-- OPENCOLLECTIVE-ORGANIZATIONS:START -->
215
+ No sponsors yet. Be the first!
216
+ <!-- OPENCOLLECTIVE-ORGANIZATIONS:END -->
215
217
 
216
- ## Development
218
+ [kettle-readme-backers]: https://github.com/galtzo-floss/activerecord-transactionable/blob/main/bin/kettle-readme-backers
217
219
 
218
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
220
+ ### Another way to support open-source
219
221
 
220
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
222
+ I’m driven by a passion to foster a thriving open-source community – a space where people can tackle complex problems, no matter how small. Revitalizing libraries that have fallen into disrepair, and building new libraries focused on solving real-world challenges, are my passions. I was recently affected by layoffs, and the tech jobs market is unwelcoming. I’m reaching out here because your support would significantly aid my efforts to provide for my family, and my farm (11 🐔 chickens, 2 🐶 dogs, 3 🐰 rabbits, 8 🐈‍ cats).
221
223
 
222
- ## Contributing
224
+ If you work at a company that uses my work, please encourage them to support me as a corporate sponsor. My work on gems you use might show up in `bundle fund`.
223
225
 
224
- See [CONTRIBUTING.md][contributing]
226
+ I’m developing a new library, [floss_funding][🖇floss-funding-gem], designed to empower open-source developers like myself to get paid for the work we do, in a sustainable way. Please give it a look.
225
227
 
226
- ## Contributors
228
+ **[Floss-Funding.dev][🖇floss-funding.dev]: 👉️ No network calls. 👉️ No tracking. 👉️ No oversight. 👉️ Minimal crypto hashing. 💡 Easily disabled nags**
227
229
 
228
- [![Contributors](https://contrib.rocks/image?repo=pboling/activerecord-transactionable)][contributors]
230
+ [![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate to my FLOSS efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
229
231
 
230
- Made with [contributors-img](https://contrib.rocks).
232
+ ## 🔐 Security
231
233
 
232
- ## Versioning
234
+ See [SECURITY.md][🔐security].
233
235
 
234
- This library aims to adhere to [Semantic Versioning 2.0.0][semver].
235
- Violations of this scheme should be reported as bugs. Specifically,
236
- if a minor or patch version is released that breaks backward
237
- compatibility, a new version should be immediately released that
238
- restores compatibility. Breaking changes to the public API will
239
- only be introduced with new major versions.
236
+ ## 🤝 Contributing
240
237
 
241
- As a result of this policy, you can (and should) specify a
242
- dependency on this gem using the [Pessimistic Version Constraint][pvc] with two digits of precision.
238
+ If you need some ideas of where to help, you could work on adding more code coverage,
239
+ check [issues][🤝gh-issues] or [PRs][🤝gh-pulls], or use the gem and think about how it could be better.
243
240
 
244
- For example:
245
-
246
- ```ruby
247
- spec.add_dependency "activerecord-transactionable", "~> 2.0"
248
- ```
249
- ## Contact
250
-
251
- Author and maintainer is Peter Boling ([@pboling][gh_sponsors]).
252
-
253
- Comments are welcome in the [GitHub Discussions][gh_discussions] board.
254
-
255
- For security-related issues see [SECURITY][security].
256
-
257
- ## License
258
-
259
- The gem is available as open source under the terms of
260
- the [MIT License][license] [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)][license-ref].
261
- See [LICENSE][license] for the official [Copyright Notice][copyright-notice-explainer].
241
+ We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
262
242
 
263
- * Copyright (c) 2016 - 2018, 2021 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
243
+ See [CONTRIBUTING.md][🤝contributing] for more detailed instructions.
264
244
 
265
- [copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
245
+ ### 🚀 Release Instructions
266
246
 
267
- [license]: https://github.com/pboling/activerecord-transactionable/blob/master/LICENSE
247
+ See [CONTRIBUTING.md][🤝contributing].
268
248
 
269
- [conduct]: https://github.com/pboling/activerecord-transactionable/blob/master/CODE_OF_CONDUCT.md
249
+ ### Code Coverage
270
250
 
271
- [security]: https://github.com/pboling/activerecord-transactionable/blob/master/SECURITY.md
251
+ <details markdown="1">
252
+ <summary>Coverage service badges</summary>
272
253
 
273
- [semver]: http://semver.org/
254
+ [![Coverage Graph][🏀codecov-g]][🏀codecov]
274
255
 
275
- [pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
256
+ [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls]
276
257
 
277
- [railsbling]: http://www.railsbling.com
258
+ [![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov]
278
259
 
279
- [peterboling]: http://www.peterboling.com
260
+ </details>
280
261
 
281
- [issues]: https://github.com/pboling/activerecord-transactionable/issues
262
+ ### 🪇 Code of Conduct
282
263
 
283
- [contributing]: https://github.com/pboling/activerecord-transactionable/blob/master/CONTRIBUTING.md
264
+ Everyone interacting with this project's codebases, issue trackers,
265
+ chat rooms and mailing lists agrees to follow the [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct].
284
266
 
285
- [comment]: <> (Following links are used by README, CONTRIBUTING)
267
+ ## 🌈 Contributors
286
268
 
287
- [contributors]: https://github.com/pboling/activerecord-transactionable/graphs/contributors
269
+ [![Contributors][🖐contributors-img]][🖐contributors]
288
270
 
289
- [comment]: <> (Following links are used by README, CONTRIBUTING, Homepage)
271
+ Made with [contributors-img][🖐contrib-rocks].
290
272
 
291
- [mailinglist]: http://groups.google.com/group/activerecord-transactionable-ruby
273
+ Also see GitLab Contributors: [https://gitlab.com/galtzo-floss/activerecord-transactionable/-/graphs/main][🚎contributors-gl]
292
274
 
293
- [source]: https://github.com/pboling/activerecord-transactionable/
275
+ ## 📌 Versioning
294
276
 
295
- [comment]: <> (Following links are used by Homepage)
277
+ This library follows [![Semantic Versioning 2.0.0][📌semver-img]][📌semver] for its public API where practical.
278
+ For most applications, prefer the [Pessimistic Version Constraint][📌pvc] with two digits of precision.
296
279
 
297
- [network]: https://github.com/pboling/activerecord-transactionable/network
298
-
299
- [stargazers]: https://github.com/pboling/activerecord-transactionable/stargazers
300
-
301
- [comment]: <> (Following links are used by README, Homepage)
302
-
303
- [rubygems]: https://rubygems.org/gems/activerecord-transactionable
304
-
305
- [depfu]: https://depfu.com/github/pboling/activerecord-transactionable?project_id=2653
306
-
307
- [actions]: https://github.com/pboling/activerecord-transactionable/actions
308
-
309
- [climate_coverage]: https://codeclimate.com/github/pboling/activerecord-transactionable/test_coverage
310
-
311
- [gh_discussions]: https://github.com/pboling/activerecord-transactionable/discussions
312
-
313
- [code_triage]: https://www.codetriage.com/pboling/activerecord-transactionable
314
-
315
- [license-ref]: https://opensource.org/licenses/MIT
316
-
317
- [codecov_coverage]: https://codecov.io/gh/pboling/activerecord-transactionable
318
-
319
- [liberapay_donate]: https://liberapay.com/pboling/donate
320
-
321
- [aboutme]: https://about.me/peter.boling
322
-
323
- [angelme]: https://angel.co/peter-boling
324
-
325
- [coderme]:http://coderwall.com/pboling
280
+ For example:
326
281
 
327
- [politicme]: https://nationalprogressiveparty.org
282
+ ```ruby
283
+ spec.add_dependency("activerecord-transactionable", "~> 3.0")
284
+ ```
328
285
 
329
- [followme-img]: https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow
286
+ <details markdown="1">
287
+ <summary>📌 Is "Platform Support" part of the public API? More details inside.</summary>
330
288
 
331
- [tweetme]: http://twitter.com/galtzo
289
+ Dropping support for a platform can be a breaking change for affected users.
290
+ If a release changes supported platforms, it should be called out clearly in the changelog and versioned with that impact in mind.
332
291
 
333
- [documentation]: https://rubydoc.info/github/pboling/activerecord-transactionable
292
+ To get a better understanding of how SemVer is intended to work over a project's lifetime,
293
+ read this article from the creator of SemVer:
334
294
 
335
- [climate_maintainability]: https://codeclimate.com/github/pboling/activerecord-transactionable/maintainability
295
+ - ["Major Version Numbers are Not Sacred"][📌major-versions-not-sacred]
336
296
 
337
- [chat]: https://gitter.im/pboling/activerecord-transactionable?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
297
+ </details>
338
298
 
339
- [blogpage]: http://www.railsbling.com/tags/activerecord-transactionable/
299
+ See [CHANGELOG.md][📌changelog] for a list of releases.
340
300
 
341
- [maintenancee_policy]: https://guides.rubyonrails.org/maintenance_policy.html#security-issues
301
+ ## 📄 License
342
302
 
343
- [gh_sponsors]: https://github.com/sponsors/pboling
303
+ The gem is available as open source under the terms of
304
+ the [MIT](https://github.com/galtzo-floss/activerecord-transactionable/blob/main/MIT.md) [![License: MIT][📄license-img]][📄license-ref].
305
+
306
+ ### © Copyright
307
+
308
+ See [LICENSE.md][📄license] for the official copyright notice.
309
+
310
+ <details markdown="1">
311
+ <summary>Copyright holders</summary>
312
+
313
+ - Copyright (c) 2016-2018, 2021, 2024, 2026 Peter H. Boling
314
+ - Copyright (c) 2024-2025 Annibelle Boling
315
+
316
+ </details>
317
+
318
+ ## 🤑 A request for help
319
+
320
+ Maintainers have teeth and need to pay their dentists.
321
+ After getting laid off in an RIF in March, and encountering difficulty finding a new one,
322
+ I began spending most of my time building open source tools.
323
+ I'm hoping to be able to pay for my kids' health insurance this month,
324
+ so if you value the work I am doing, I need your support.
325
+ Please consider sponsoring me or the project.
326
+
327
+ To join the community or get help, use the RubyForum or Discord.
328
+
329
+ [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
330
+ [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
331
+
332
+ To say "thanks!" ☝️ Join the community or 👇️ send money.
333
+
334
+ [![Sponsor galtzo-floss/activerecord-transactionable on Open Source Collective][🖇osc-all-bottom-img]][🖇osc] 💌 [![Sponsor me on GitHub Sponsors][🖇sponsor-bottom-img]][🖇sponsor] 💌 [![Sponsor me on Liberapay][⛳liberapay-bottom-img]][⛳liberapay] 💌 [![Donate on PayPal][🖇paypal-bottom-img]][🖇paypal]
335
+
336
+ ### Please give the project a star ⭐ ♥.
337
+
338
+ Many parts of this project are actively managed by a [kettle-jem](https://github.com/structuredmerge/structuredmerge-ruby/tree/main/gems/kettle-jem) smart template utilizing [StructuredMerge.org](https://structuredmerge.org) merge contracts.
339
+
340
+ Thanks for RTFM. ☺️
341
+
342
+ [⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611&style=flat
343
+ [⛳liberapay-bottom-img]: https://img.shields.io/liberapay/goal/pboling.svg?style=for-the-badge&logo=liberapay&color=a51611
344
+ [⛳liberapay]: https://liberapay.com/pboling/donate
345
+ [🖇osc-all-img]: https://img.shields.io/opencollective/all/galtzo-floss
346
+ [🖇osc-sponsors-img]: https://img.shields.io/opencollective/sponsors/galtzo-floss
347
+ [🖇osc-backers-img]: https://img.shields.io/opencollective/backers/galtzo-floss
348
+ [🖇osc-backers]: https://opencollective.com/galtzo-floss#backer
349
+ [🖇osc-backers-i]: https://opencollective.com/galtzo-floss/backers/badge.svg?style=flat
350
+ [🖇osc-sponsors]: https://opencollective.com/galtzo-floss#sponsor
351
+ [🖇osc-sponsors-i]: https://opencollective.com/galtzo-floss/sponsors/badge.svg?style=flat
352
+ [🖇osc-all-bottom-img]: https://img.shields.io/opencollective/all/galtzo-floss?style=for-the-badge
353
+ [🖇osc-sponsors-bottom-img]: https://img.shields.io/opencollective/sponsors/galtzo-floss?style=for-the-badge
354
+ [🖇osc-backers-bottom-img]: https://img.shields.io/opencollective/backers/galtzo-floss?style=for-the-badge
355
+ [🖇osc]: https://opencollective.com/galtzo-floss
356
+ [🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
357
+ [🖇sponsor-bottom-img]: https://img.shields.io/badge/Sponsor_Me!-pboling-blue?style=for-the-badge&logo=github
358
+ [🖇sponsor]: https://github.com/sponsors/pboling
359
+ [🖇kofi-img]: https://img.shields.io/badge/ko--fi-%E2%9C%93-a51611.svg?style=flat
360
+ [🖇kofi]: https://ko-fi.com/pboling
361
+ [🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-%E2%9C%93-a51611.svg?style=flat
362
+ [🖇buyme-img]: https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20latte&emoji=&slug=pboling&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff
363
+ [🖇buyme]: https://www.buymeacoffee.com/pboling
364
+ [🖇paypal-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=flat&logo=paypal
365
+ [🖇paypal-bottom-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=for-the-badge&logo=paypal&color=0A0A0A
366
+ [🖇paypal]: https://www.paypal.com/paypalme/peterboling
367
+ [🖇floss-funding.dev]: https://floss-funding.dev
368
+ [🖇floss-funding-gem]: https://github.com/galtzo-floss/floss_funding
369
+ [✉️discord-invite]: https://discord.gg/3qme4XHNKN
370
+ [✉️discord-invite-img-ftb]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge&logo=discord
371
+ [✉️ruby-friends-img]: https://img.shields.io/badge/daily.dev-%F0%9F%92%8E_Ruby_Friends-0A0A0A?style=for-the-badge&logo=dailydotdev&logoColor=white
372
+ [✉️ruby-friends]: https://app.daily.dev/squads/rubyfriends
373
+ [✉️ruby-forum-top-img]: https://img.shields.io/discourse/topics?server=https%3A%2F%2Fwww.rubyforum.org&style=flat&logo=discourse&label=Ruby%20Users%20Forum
374
+ [✉️ruby-forum-img]: https://img.shields.io/discourse/topics?server=https%3A%2F%2Fwww.rubyforum.org&style=for-the-badge&logo=discourse&label=Ruby%20Users%20Forum
375
+ [✉️ruby-forum]: https://www.rubyforum.org/tag/galtzo-floss
376
+
377
+ [✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
378
+ [⛳️gem-namespace]: https://github.com/galtzo-floss/activerecord-transactionable
379
+ [⛳️namespace-img]: https://img.shields.io/badge/namespace-Activerecord::Transactionable-3C2D2D.svg?style=square&logo=ruby&logoColor=white
380
+ [⛳️gem-name]: https://clickgems.clickhouse.com/dashboard/activerecord-transactionable
381
+ [⛳️name-img]: https://img.shields.io/badge/name-activerecord--transactionable-3C2D2D.svg?style=square&logo=rubygems&logoColor=red
382
+ [⛳️tag-img]: https://img.shields.io/github/tag/galtzo-floss/activerecord-transactionable.svg
383
+ [⛳️tag]: https://github.com/galtzo-floss/activerecord-transactionable/releases
384
+ [🚂maint-blog]: http://www.railsbling.com/tags/activerecord-transactionable
385
+ [🚂maint-blog-img]: https://img.shields.io/badge/blog-railsbling-0093D0.svg?style=for-the-badge&logo=rubyonrails&logoColor=orange
386
+ [🚂maint-contact]: http://www.railsbling.com/contact
387
+ [🚂maint-contact-img]: https://img.shields.io/badge/Contact-Maintainer-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red
388
+ [💖🖇linkedin]: http://www.linkedin.com/in/peterboling
389
+ [💖🖇linkedin-img]: https://img.shields.io/badge/LinkedIn-Profile-0B66C2?style=flat&logo=newjapanprowrestling
390
+ [💖✌️wellfound]: https://wellfound.com/u/peter-boling
391
+ [💖✌️wellfound-img]: https://img.shields.io/badge/peter--boling-orange?style=flat&logo=wellfound
392
+ [💖💲crunchbase]: https://www.crunchbase.com/person/peter-boling
393
+ [💖💲crunchbase-img]: https://img.shields.io/badge/peter--boling-purple?style=flat&logo=crunchbase
394
+ [💖🐘ruby-mast]: https://ruby.social/@galtzo
395
+ [💖🐘ruby-mast-img]: https://img.shields.io/mastodon/follow/109447111526622197?domain=https://ruby.social&style=flat&logo=mastodon&label=Ruby%20@galtzo
396
+ [💖🦋bluesky]: https://bsky.app/profile/galtzo.com
397
+ [💖🦋bluesky-img]: https://img.shields.io/badge/@galtzo.com-0285FF?style=flat&logo=bluesky&logoColor=white
398
+ [💖🌳linktree]: https://linktr.ee/galtzo
399
+ [💖🌳linktree-img]: https://img.shields.io/badge/galtzo-purple?style=flat&logo=linktree
400
+ [💖💁🏼‍♂️devto]: https://dev.to/galtzo
401
+ [💖💁🏼‍♂️devto-img]: https://img.shields.io/badge/dev.to-0A0A0A?style=flat&logo=devdotto&logoColor=white
402
+ [💖💁🏼‍♂️aboutme]: https://about.me/peter.boling
403
+ [💖💁🏼‍♂️aboutme-img]: https://img.shields.io/badge/about.me-0A0A0A?style=flat&logo=aboutme&logoColor=white
404
+ [💖🧊berg]: https://codeberg.org/pboling
405
+ [💖🐙hub]: https://github.org/pboling
406
+ [💖🛖hut]: https://sr.ht/~galtzo/
407
+ [💖🧪lab]: https://gitlab.com/pboling
408
+ [👨🏼‍🏫expsup-upwork]: https://www.upwork.com/freelancers/~014942e9b056abdf86?mp_source=share
409
+ [👨🏼‍🏫expsup-upwork-img]: https://img.shields.io/badge/UpWork-13544E?style=for-the-badge&logo=Upwork&logoColor=white
410
+ [👨🏼‍🏫expsup-codementor]: https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github
411
+ [👨🏼‍🏫expsup-codementor-img]: https://img.shields.io/badge/CodeMentor-Get_Help-1abc9c?style=for-the-badge&logo=CodeMentor&logoColor=white
412
+ [💁🏼‍♂️peterboling]: http://www.peterboling.com
413
+ [🚂railsbling]: http://www.railsbling.com
414
+ [📜src-gl-img]: https://img.shields.io/badge/GitLab-FBA326?style=for-the-badge&logo=Gitlab&logoColor=orange
415
+ [📜src-gl]: https://gitlab.com/galtzo-floss/activerecord-transactionable
416
+ [📜src-cb-img]: https://img.shields.io/badge/CodeBerg-4893CC?style=for-the-badge&logo=CodeBerg&logoColor=blue
417
+ [📜src-cb]: https://codeberg.org/galtzo-floss/activerecord-transactionable
418
+ [📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=GitHub&logoColor=green
419
+ [📜src-gh]: https://github.com/galtzo-floss/activerecord-transactionable
420
+ [📜docs-cr-rd-img]: https://img.shields.io/badge/RubyDoc-Current_Release-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
421
+ [📜docs-head-rd-img]: https://img.shields.io/badge/YARD_on_Galtzo.com-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
422
+ [📜gl-wiki]: https://gitlab.com/galtzo-floss/activerecord-transactionable/-/wikis/home
423
+ [📜gh-wiki]: https://github.com/galtzo-floss/activerecord-transactionable/wiki
424
+ [📜gl-wiki-img]: https://img.shields.io/badge/wiki-gitlab-943CD2.svg?style=for-the-badge&logo=gitlab&logoColor=white
425
+ [📜gh-wiki-img]: https://img.shields.io/badge/wiki-github-943CD2.svg?style=for-the-badge&logo=github&logoColor=white
426
+ [👽dl-rank]: https://clickgems.clickhouse.com/dashboard/activerecord-transactionable
427
+ [👽dl-ranki]: https://img.shields.io/gem/dt/activerecord-transactionable.svg
428
+ [👽version]: https://clickgems.clickhouse.com/dashboard/activerecord-transactionable
429
+ [👽versioni]: https://img.shields.io/gem/v/activerecord-transactionable.svg
430
+ [🏀qlty-mnt]: https://qlty.sh/gh/galtzo-floss/projects/activerecord-transactionable
431
+ [🏀qlty-mnti]: https://qlty.sh/gh/galtzo-floss/projects/activerecord-transactionable/maintainability.svg
432
+ [🏀qlty-cov]: https://qlty.sh/gh/galtzo-floss/projects/activerecord-transactionable/metrics/code?sort=coverageRating
433
+ [🏀qlty-covi]: https://qlty.sh/gh/galtzo-floss/projects/activerecord-transactionable/coverage.svg
434
+ [🏀codecov]: https://codecov.io/gh/galtzo-floss/activerecord-transactionable
435
+ [🏀codecovi]: https://codecov.io/gh/galtzo-floss/activerecord-transactionable/graph/badge.svg
436
+ [🏀coveralls]: https://coveralls.io/github/galtzo-floss/activerecord-transactionable?branch=main
437
+ [🏀coveralls-img]: https://coveralls.io/repos/github/galtzo-floss/activerecord-transactionable/badge.svg?branch=main
438
+ [🚎ruby-2.5-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/ruby-2.5.yml
439
+ [🚎ruby-2.6-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/ruby-2.6.yml
440
+ [🚎ruby-2.7-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/ruby-2.7.yml
441
+ [🚎ruby-3.0-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/ruby-3.0.yml
442
+ [🚎ruby-3.1-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/ruby-3.1.yml
443
+ [🚎ruby-3.2-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/ruby-3.2.yml
444
+ [🚎ruby-3.3-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/ruby-3.3.yml
445
+ [🚎ruby-3.4-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/ruby-3.4.yml
446
+ [🚎jruby-10.0-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/jruby-10.0.yml
447
+ [🚎truby-33.0-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/truffleruby-33.0.yml
448
+ [🚎2-cov-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/coverage.yml
449
+ [🚎2-cov-wfi]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/coverage.yml/badge.svg
450
+ [🚎3-hd-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/heads.yml
451
+ [🚎3-hd-wfi]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/heads.yml/badge.svg
452
+ [🚎5-st-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/style.yml
453
+ [🚎5-st-wfi]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/style.yml/badge.svg
454
+ [🚎9-t-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/truffle.yml
455
+ [🚎9-t-wfi]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/truffle.yml/badge.svg
456
+ [🚎10-j-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/jruby.yml
457
+ [🚎10-j-wfi]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/jruby.yml/badge.svg
458
+ [🚎11-c-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/current.yml
459
+ [🚎11-c-wfi]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/current.yml/badge.svg
460
+ [🚎12-crh-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/dep-heads.yml
461
+ [🚎12-crh-wfi]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/dep-heads.yml/badge.svg
462
+ [🚎13-🔒️-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/locked_deps.yml
463
+ [🚎13-🔒️-wfi]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/locked_deps.yml/badge.svg
464
+ [🚎14-🔓️-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/unlocked_deps.yml
465
+ [🚎14-🔓️-wfi]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/unlocked_deps.yml/badge.svg
466
+ [🚎15-🪪-wf]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/license-eye.yml
467
+ [🚎15-🪪-wfi]: https://github.com/galtzo-floss/activerecord-transactionable/actions/workflows/license-eye.yml/badge.svg
468
+ [💎ruby-2.5i]: https://img.shields.io/badge/Ruby-2.5-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
469
+ [💎ruby-2.6i]: https://img.shields.io/badge/Ruby-2.6-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
470
+ [💎ruby-2.7i]: https://img.shields.io/badge/Ruby-2.7-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
471
+ [💎ruby-3.0i]: https://img.shields.io/badge/Ruby-3.0-CC342D?style=for-the-badge&logo=ruby&logoColor=white
472
+ [💎ruby-3.1i]: https://img.shields.io/badge/Ruby-3.1-CC342D?style=for-the-badge&logo=ruby&logoColor=white
473
+ [💎ruby-3.2i]: https://img.shields.io/badge/Ruby-3.2-CC342D?style=for-the-badge&logo=ruby&logoColor=white
474
+ [💎ruby-3.3i]: https://img.shields.io/badge/Ruby-3.3-CC342D?style=for-the-badge&logo=ruby&logoColor=white
475
+ [💎ruby-3.4i]: https://img.shields.io/badge/Ruby-3.4-CC342D?style=for-the-badge&logo=ruby&logoColor=white
476
+ [💎ruby-c-i]: https://img.shields.io/badge/Ruby-current-CC342D?style=for-the-badge&logo=ruby&logoColor=green
477
+ [💎ruby-headi]: https://img.shields.io/badge/Ruby-HEAD-CC342D?style=for-the-badge&logo=ruby&logoColor=blue
478
+ [💎truby-33.0i]: https://img.shields.io/badge/Truffle_Ruby-33.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
479
+ [💎truby-c-i]: https://img.shields.io/badge/Truffle_Ruby-current-34BCB1?style=for-the-badge&logo=ruby&logoColor=green
480
+ [💎jruby-10.0i]: https://img.shields.io/badge/JRuby-10.0-FBE742?style=for-the-badge&logo=ruby&logoColor=red
481
+ [💎jruby-c-i]: https://img.shields.io/badge/JRuby-current-FBE742?style=for-the-badge&logo=ruby&logoColor=green
482
+ [💎jruby-headi]: https://img.shields.io/badge/JRuby-HEAD-FBE742?style=for-the-badge&logo=ruby&logoColor=blue
483
+ [🤝gh-issues]: https://github.com/galtzo-floss/activerecord-transactionable/issues
484
+ [🤝gh-pulls]: https://github.com/galtzo-floss/activerecord-transactionable/pulls
485
+ [🤝gl-issues]: https://gitlab.com/galtzo-floss/activerecord-transactionable/-/issues
486
+ [🤝gl-pulls]: https://gitlab.com/galtzo-floss/activerecord-transactionable/-/merge_requests
487
+ [🤝cb-issues]: https://codeberg.org/galtzo-floss/activerecord-transactionable/issues
488
+ [🤝cb-pulls]: https://codeberg.org/galtzo-floss/activerecord-transactionable/pulls
489
+ [🤝cb-donate]: https://donate.codeberg.org/
490
+ [🤝contributing]: https://github.com/galtzo-floss/activerecord-transactionable/blob/main/CONTRIBUTING.md
491
+ [🏀codecov-g]: https://codecov.io/gh/galtzo-floss/activerecord-transactionable/graph/badge.svg
492
+ [🖐contrib-rocks]: https://contrib.rocks
493
+ [🖐contributors]: https://github.com/galtzo-floss/activerecord-transactionable/graphs/contributors
494
+ [🖐contributors-img]: https://contrib.rocks/image?repo=galtzo-floss/activerecord-transactionable
495
+ [🚎contributors-gl]: https://gitlab.com/galtzo-floss/activerecord-transactionable/-/graphs/main
496
+ [🪇conduct]: https://github.com/galtzo-floss/activerecord-transactionable/blob/main/CODE_OF_CONDUCT.md
497
+ [🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-2.1-259D6C.svg
498
+ [📌pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
499
+ [📌semver]: https://semver.org/spec/v2.0.0.html
500
+ [📌semver-img]: https://img.shields.io/badge/semver-2.0.0-259D6C.svg?style=flat
501
+ [📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
502
+ [📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
503
+ [📌changelog]: https://github.com/galtzo-floss/activerecord-transactionable/blob/main/CHANGELOG.md
504
+ [📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
505
+ [📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-34495e.svg?style=flat
506
+ [📌gitmoji]: https://gitmoji.dev
507
+ [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
508
+ [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
509
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.145-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
510
+ [🔐security]: https://github.com/galtzo-floss/activerecord-transactionable/blob/main/SECURITY.md
511
+ [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
512
+ [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
513
+ [📄license]: LICENSE.md
514
+ [📄license-ref]: https://github.com/galtzo-floss/activerecord-transactionable/blob/main/MIT.md
515
+ [📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
516
+ [📄license-compat]: https://www.apache.org/legal/resolved.html#category-a
517
+ [📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-%E2%9C%93-259D6C.svg?style=flat&logo=Apache
518
+
519
+ [📄ilo-declaration]: https://www.ilo.org/declaration/lang--en/index.htm
520
+ [📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-259D6C.svg?style=flat
521
+ [🚎yard-current]: http://rubydoc.info/gems/activerecord-transactionable
522
+ [🚎yard-head]: https://activerecord-transactionable.galtzo.com
523
+ [💎stone_checksums]: https://github.com/galtzo-floss/stone_checksums
524
+ [💎SHA_checksums]: https://gitlab.com/galtzo-floss/activerecord-transactionable/-/tree/main/checksums
525
+ [💎rlts]: https://github.com/rubocop-lts/rubocop-lts
526
+ [💎rlts-img]: https://img.shields.io/badge/code_style_&_linting-rubocop--lts-34495e.svg?plastic&logo=ruby&logoColor=white
527
+ [💎appraisal2]: https://github.com/appraisal-rb/appraisal2
528
+ [💎appraisal2-img]: https://img.shields.io/badge/appraised_by-appraisal2-34495e.svg?plastic&logo=ruby&logoColor=white
529
+ [💎d-in-dvcs]: https://railsbling.com/posts/dvcs/put_the_d_in_dvcs/
530
+
531
+ <!-- kettle-jem:metadata:start -->
532
+ | Field | Value |
533
+ |---|---|
534
+ | Package | activerecord-transactionable |
535
+ | Description | 💱 Getting transactions right is hard, and this gem makes it easier. |
536
+ | Homepage | https://github.com/galtzo-floss/activerecord-transactionable |
537
+ | Source | https://github.com/galtzo-floss/activerecord-transactionable |
538
+ | License | `MIT` |
539
+ | Funding | https://github.com/sponsors/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/galtzo-floss, https://thanks.dev/gh/pboling, https://www.buymeacoffee.com/pboling |
540
+ <!-- kettle-jem:metadata:end -->