after_commit 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/after_commit/test_bypass.rb +6 -6
- metadata +2 -2
@@ -14,17 +14,17 @@ module AfterCommit::TestBypass
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def add_committed_record_on_create
|
17
|
-
|
18
|
-
|
17
|
+
callback :after_commit
|
18
|
+
callback :after_commit_on_create
|
19
19
|
end
|
20
20
|
|
21
21
|
def add_committed_record_on_update
|
22
|
-
|
23
|
-
|
22
|
+
callback :after_commit
|
23
|
+
callback :after_commit_on_update
|
24
24
|
end
|
25
25
|
|
26
26
|
def add_committed_record_on_destroy
|
27
|
-
|
28
|
-
|
27
|
+
callback :after_commit
|
28
|
+
callback :after_commit_on_destroy
|
29
29
|
end
|
30
30
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: after_commit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Muerdter
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2009-11-
|
14
|
+
date: 2009-11-11 00:00:00 +11:00
|
15
15
|
default_executable:
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|