iknow_view_models 3.1.7 → 3.1.8

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: 4fe858db23db9c9186535470232c20b7577700ef0a52887381c8a1eb9c5b64cf
4
- data.tar.gz: 4a583c7752a3b8b65ad269e5249bf5ab33606d752aa75c0fcdf580bbaa97c77d
3
+ metadata.gz: 5fc6b7d1f2e4c48c65f3f603d8e322afe7f26d52e08bb418dc746f9c5b6bd6c0
4
+ data.tar.gz: 39eab5e4ae3423805b3c3d931504d08c623d8fbf602b58e4d978aeb7202aee71
5
5
  SHA512:
6
- metadata.gz: 723e469b84e7aa1ecd10651235b4e4406dfc2770558310fa488cce71c575752fdcafea73d47fa428d5e5e3532df0e9ca44c0904d2bbecefc45af83b2c703f2ed
7
- data.tar.gz: 7e9eeed7f055e3197e24f54844a3456c2adca2c85ba0b2f36495543da9705886135e0e0b2df3d21047926d9f6287dc12e69eaf61ed0143f5cb3155029ec0b3d1
6
+ metadata.gz: 13f7e88bc34527984aea0d73518acb2e2fa8e2a6cc4cbb408f325afd39bfedd738be907f0922efcfacebe1802002e8f8d1c86ca9c37fc9a810df767f923d4455
7
+ data.tar.gz: 71b8b322ce29db0b042c28b40c94820433d96beade6d991c5759a7828a7ce8101fcccc47fea3545538e522355fe949fd5a03493e26b22601c22e8bc31c8b2d92
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IknowViewModels
4
- VERSION = '3.1.7'
4
+ VERSION = '3.1.8'
5
5
  end
@@ -33,7 +33,8 @@ module ViewModel::AfterTransactionRunner
33
33
  if connection.transaction_open?
34
34
  connection.add_transaction_record(self)
35
35
  else
36
- after_transaction
36
+ before_commit
37
+ after_commit
37
38
  end
38
39
  end
39
40
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iknow_view_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.7
4
+ version: 3.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - iKnow Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-18 00:00:00.000000000 Z
11
+ date: 2020-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord