test_after_commit 0.4.0 → 0.4.1
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
- data/Readme.md +2 -0
- data/lib/test_after_commit.rb +1 -0
- data/lib/test_after_commit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1608cb8ff6912879949fa15813e2c0ddf8ed3842
|
|
4
|
+
data.tar.gz: 45d98ac0898d38149343f214660d6aff700ab199
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a86d361057e8211f964d23e68e93d369213b6dc1939dad62ffde1a246ea1e99c3c125b7a42eca1a4ccbc176bca19048db80dba6e2295b2c2c979b71fba7adfa0
|
|
7
|
+
data.tar.gz: 938b6410eb30165805607c930b150884080337b344bd106e488b59cea85dc1ea252321adaa43228ffa8efbc6b814910af223a9d9be9805c67197730e34dcd7ea
|
data/Readme.md
CHANGED
data/lib/test_after_commit.rb
CHANGED
|
@@ -54,6 +54,7 @@ if ActiveRecord::VERSION::MAJOR >= 4
|
|
|
54
54
|
ActiveRecord::Base.class_eval do
|
|
55
55
|
alias_method :sync_with_transaction_state_with_state, :sync_with_transaction_state
|
|
56
56
|
def sync_with_transaction_state
|
|
57
|
+
@reflects_state ||= []
|
|
57
58
|
@reflects_state[0] = true
|
|
58
59
|
sync_with_transaction_state_with_state
|
|
59
60
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: test_after_commit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.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:
|
|
11
|
+
date: 2015-03-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|