ar_after_transaction 0.10.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27289104ed5f1702b871e65f710a437b6745e54b2df6e13c204022778aa54fc4
4
- data.tar.gz: 4d8928b86fcbb3f23253bd406d02b1b67fa3eaaf941e22ece4689b15081c2c2d
3
+ metadata.gz: 5fc6cd7ed336bb72db43fb0bf73923cf021693999f2867947039b25f316dde91
4
+ data.tar.gz: 1954616ed93343931b1063af780200b38d2927683574bfd5db75b9683928fd56
5
5
  SHA512:
6
- metadata.gz: cb0836868b43b9102ea6474e577a6e88bb9294ce2d9509facdaa0197dd676a16c3da1305f7f56365cd9e05f143df90161d1605bb7599181eac74a04a47f21e30
7
- data.tar.gz: 666fcdba724cfd8183b65f5718fa61cebafb7191b94fd0bd42c035f0287e884dda6ec2779600edf6e3a68ffeced97a464bf068e14bf62240eaab738f517b4f21
6
+ metadata.gz: b4370170bb1f2fc651bd92d40e60172d32e2a233f68616e734e15b81bc0625d7b9723b0f698315ccef3dc822d4906073eb2393ab1ccd1fcf10b1477a6b1024f4
7
+ data.tar.gz: a279c30528244c0617ff36ccb31cc1eb84d01f6689e82cbb429c8a31e624d7a3eeea58d4c9f82bc3769eaa60744dd7977687dc67e284eaea68c9bc3330bdd349
data/Readme.md CHANGED
@@ -62,15 +62,14 @@ If you use transactional fixtures you should change it in test mode.
62
62
  end
63
63
  ```
64
64
 
65
- ### Rails 3: after_commit hook can replace the first usage example:
65
+ ### Adding new rails versions
66
66
 
67
- ```ruby
68
- class User
69
- after_commit :send_an_email on: :create
70
- after_create :do_stuff, :oops
71
- ...
72
- end
73
- ```
67
+ - bump in `ar_after_transaction.gemspec`
68
+ - create a new gemfiles/<new>.gemfile
69
+ - `BUNDLE_GEMFILE=gemfiles/<new>.gemfile bundle`
70
+ - `BUNDLE_GEMFILE=gemfiles/<new>.gemfile bundle exec rake`
71
+ - update `.github/workflows/actions.yml`
72
+ - make a PR
74
73
 
75
74
  Alternative
76
75
  ===========
@@ -101,8 +100,8 @@ Authors
101
100
  - [Ben Weintraub](https://github.com/benweint)
102
101
  - [Vladimir Temnikov](https://github.com/vladimirtemnikov)
103
102
  - [Mark Gangl](https://github.com/attack)
103
+ - [Alex Vondrak](https://github.com/ajvondrak)
104
104
 
105
105
  [Michael Grosser](http://grosser.it)<br/>
106
106
  michael@grosser.it<br/>
107
107
  License: MIT<br/>
108
-
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ARAfterTransaction
4
- VERSION = '0.10.0'
4
+ VERSION = '0.13.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ar_after_transaction
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-11 00:00:00.000000000 Z
11
+ date: 2024-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.0
19
+ version: 6.1.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.2'
22
+ version: '8.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 5.2.0
29
+ version: 6.1.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.2'
32
+ version: '8.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bump
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -90,16 +90,16 @@ dependencies:
90
90
  name: sqlite3
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ">="
93
+ - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: '0'
95
+ version: '1.0'
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - ">="
100
+ - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: '0'
102
+ version: '1.0'
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: wwtd
105
105
  requirement: !ruby/object:Gem::Requirement
@@ -114,7 +114,7 @@ dependencies:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
- description:
117
+ description:
118
118
  email: michael@grosser.it
119
119
  executables: []
120
120
  extensions: []
@@ -127,7 +127,7 @@ homepage: http://github.com/grosser/ar_after_transaction
127
127
  licenses:
128
128
  - MIT
129
129
  metadata: {}
130
- post_install_message:
130
+ post_install_message:
131
131
  rdoc_options: []
132
132
  require_paths:
133
133
  - lib
@@ -135,15 +135,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: 2.6.0
138
+ version: 3.1.0
139
139
  required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  requirements:
141
141
  - - ">="
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  requirements: []
145
- rubygems_version: 3.1.6
146
- signing_key:
145
+ rubygems_version: 3.4.10
146
+ signing_key:
147
147
  specification_version: 4
148
148
  summary: Execute irreversible actions only when transactions are not rolled back
149
149
  test_files: []