activerecord-transactionable 3.0.3 → 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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +133 -0
- data/LICENSE.md +11 -0
- data/README.md +394 -246
- data/lib/activerecord/transactionable/result.rb +2 -2
- data/lib/activerecord/transactionable/version.rb +5 -1
- data/lib/activerecord/transactionable.rb +9 -9
- data/sig/activerecord/transactionable.rbs +8 -0
- data.tar.gz.sig +0 -0
- metadata +231 -60
- metadata.gz.sig +0 -0
- data/CODE_OF_CONDUCT.md +0 -84
- data/CONTRIBUTING.md +0 -47
- data/LICENSE.txt +0 -21
- data/SECURITY.md +0 -16
data/CONTRIBUTING.md
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
## Contributing
|
|
2
|
-
|
|
3
|
-
Bug reports and pull requests are welcome on GitHub at [https://github.com/pboling/activerecord-transactionable][🚎src-main]
|
|
4
|
-
. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
|
|
5
|
-
the [code of conduct][🤝conduct].
|
|
6
|
-
|
|
7
|
-
To submit a patch, please fork the project and create a patch with tests. Once you're happy with it send a pull request
|
|
8
|
-
and post a message to the [gitter chat][🏘chat].
|
|
9
|
-
|
|
10
|
-
## Release
|
|
11
|
-
|
|
12
|
-
To release a new version:
|
|
13
|
-
|
|
14
|
-
1. Run `bin/setup && bin/rake` as a tests, coverage, & linting sanity check
|
|
15
|
-
2. Update the version number in `version.rb`
|
|
16
|
-
3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
|
|
17
|
-
4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
|
|
18
|
-
5. Run `git push` to trigger the final CI pipeline before release, & merge PRs
|
|
19
|
-
a. NOTE: Remember to [check the build][🧪build]!
|
|
20
|
-
6. Run `git checkout main` (Or whichever branch is considered `trunk`, e.g. `master`)
|
|
21
|
-
7. Run `git pull origin main` to ensure you will release the latest trunk code.
|
|
22
|
-
8. Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use same timestamp, and generate same checksums
|
|
23
|
-
a. Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS`
|
|
24
|
-
9. Run `bundle exec rake build`
|
|
25
|
-
10. Run [`bin/checksums`](https://github.com/rubygems/guides/pull/325) to create SHA-256 and SHA-512 checksums
|
|
26
|
-
a. Checksums will be committed automatically by the script, but not pushed
|
|
27
|
-
11. Run `bundle exec rake release` which will create a git tag for the version,
|
|
28
|
-
push git commits and tags, and push the `.gem` file to [rubygems.org][💎rubygems]
|
|
29
|
-
|
|
30
|
-
NOTE: You will need to have a public key in `certs/`, and list your cert in the
|
|
31
|
-
`gemspec`, in order to sign the new release.
|
|
32
|
-
See: [RubyGems Security Guide][🔒️rubygems-security-guide]
|
|
33
|
-
|
|
34
|
-
## Contributors
|
|
35
|
-
|
|
36
|
-
[][🖐contributors]
|
|
37
|
-
|
|
38
|
-
Made with [contributors-img][🖐contrib-rocks].
|
|
39
|
-
|
|
40
|
-
[🧪build]: https://github.com/pboling/activerecord-transactionable/actions
|
|
41
|
-
[🏘chat]: https://matrix.to/#/#pboling_activerecord-transactionable:gitter.im
|
|
42
|
-
[🤝conduct]: https://github.com/pboling/activerecord-transactionable/blob/main/CODE_OF_CONDUCT.md
|
|
43
|
-
[🖐contrib-rocks]: https://contrib.rocks
|
|
44
|
-
[🖐contributors]: https://github.com/pboling/activerecord-transactionable/graphs/contributors
|
|
45
|
-
[💎rubygems]: https://rubygems.org
|
|
46
|
-
[🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
|
|
47
|
-
[🚎src-main]: https://github.com/pboling/activerecord-transactionable
|
data/LICENSE.txt
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2016-2018, 2021-2022, 2024 Peter H. Boling (railsbling.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
data/SECURITY.md
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# Security Policy
|
|
2
|
-
|
|
3
|
-
## Supported Versions
|
|
4
|
-
|
|
5
|
-
| Version | Supported |
|
|
6
|
-
|---------|-----------|
|
|
7
|
-
| 3.0.x | ✅ |
|
|
8
|
-
| 2.0.x | ❌ |
|
|
9
|
-
| 1.0.x | ❌ |
|
|
10
|
-
| 0.0.x | ❌ |
|
|
11
|
-
|
|
12
|
-
## Reporting a Vulnerability
|
|
13
|
-
|
|
14
|
-
Peter Boling is the primary maintainer of this gem. Please find a way
|
|
15
|
-
to [contact him directly](https://railsbling.com/contact) to report the issue. Include as much relevant information as
|
|
16
|
-
possible.
|