chewy_kiqqer 0.1.3 → 0.1.4
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/lib/chewy_kiqqer/mixin.rb +1 -2
- data/lib/chewy_kiqqer/version.rb +1 -1
- data/spec/mixin_spec.rb +2 -4
- 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: cb3f4ba0613a2a7aaf26d0420b24b04b71e4e7d8
|
4
|
+
data.tar.gz: eb448452aea67e4fd1cdc10abd2994730b9313e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc1e952e7d5563ba29a3c66062dd3b60b530b97e6a0bd0823b21f480ab21e2dc1028d0890c3940dbb198e234ef5e492d05b394c369564a99170599a39c3495e5
|
7
|
+
data.tar.gz: 58781a4e0677d625b432a733b46cd741f6ba9fd647d6d72350c0aca3824563d62c2e8a3249f8eec2acfdc34fa85d0b660266f43e86ca2513609d6e5e75ab3207
|
data/lib/chewy_kiqqer/mixin.rb
CHANGED
data/lib/chewy_kiqqer/version.rb
CHANGED
data/spec/mixin_spec.rb
CHANGED
@@ -3,8 +3,7 @@ require 'chewy_kiqqer'
|
|
3
3
|
class Gummi
|
4
4
|
include ChewyKiqqer::Mixin
|
5
5
|
|
6
|
-
def self.
|
7
|
-
def self.after_destroy(*args) ; end
|
6
|
+
def self.after_commit(*args) ; end
|
8
7
|
|
9
8
|
end
|
10
9
|
|
@@ -38,8 +37,7 @@ describe ChewyKiqqer::Mixin do
|
|
38
37
|
context '#install hooks' do
|
39
38
|
|
40
39
|
it 'installs the hooks' do
|
41
|
-
Gummi.should_receive(:
|
42
|
-
Gummi.should_receive(:after_destroy).with(:queue_chewy_jobs)
|
40
|
+
Gummi.should_receive(:after_commit).with(:queue_chewy_jobs)
|
43
41
|
Gummi.install_chewy_hooks
|
44
42
|
end
|
45
43
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chewy_kiqqer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Hahn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|