ar_after_transaction 0.6.0 → 0.6.1

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: bf5d560ce5e740098dc988f9c26e0e4249bdb145764bc55f2be7b366b16874ed
4
- data.tar.gz: 3e66f5bd4b0c3813d5207bbea7352762a221cf976045d61a9ac880f217806d77
3
+ metadata.gz: ca30487c699cc7613223724f89d5ab79cf7dc882b529d8864cb62b3fe8a4e236
4
+ data.tar.gz: a4e3f03ae30f349acd3193a8f9aedcf23f3c15715d3dc8fc345ed7c43210471e
5
5
  SHA512:
6
- metadata.gz: e617a27237863a22b51fc80fade6c08c87ff74fa2939fc8578368a80f70a07dbfd1e5d097ff1bc57b016cb991b671207f8df30a26b818e839bce15bdd55e207f
7
- data.tar.gz: a27f4b2c6e0b83d4c1dac84201fcbe70370abf947bd27ec523dfa052ffcfdc2eb3b542f0665e945b479ff37408a8d4caeb7042574061f49845595e3556302de6
6
+ metadata.gz: 88dbdac2ce6163067a3f1b33427fbade19b0ec4d3310ca15a3a37db686a701cc81cf79fc2ffb4f513a5b6de7aca34d75067576df3ebc968a09fbfd885a11a1e7
7
+ data.tar.gz: 7e15342f954edfb228ce60991bb15b3227d8e0ed85b5d5241b8301e57da1a70cf82cc9cf8167b39e167b71355bb54331d1f9aeff570979e2330299d98360a696
@@ -12,9 +12,9 @@ module ARAfterTransaction
12
12
  end
13
13
  end
14
14
 
15
- def transaction_with_after(*args)
15
+ def transaction_with_after(**args)
16
16
  clean = true
17
- transaction_without_after(*args) do
17
+ transaction_without_after(**args) do
18
18
  begin
19
19
  yield
20
20
  rescue ActiveRecord::Rollback
@@ -1,3 +1,3 @@
1
1
  module ARAfterTransaction
2
- VERSION = Version = '0.6.0'
2
+ VERSION = Version = '0.6.1'
3
3
  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.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-19 00:00:00.000000000 Z
11
+ date: 2020-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  requirements: []
145
- rubygems_version: 3.0.3
145
+ rubygems_version: 3.1.3
146
146
  signing_key:
147
147
  specification_version: 4
148
148
  summary: Execute irreversible actions only when transactions are not rolled back