chewy_kiqqer 0.2.4 → 0.2.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be608439b57927719963a5cf2cca9ee38e76694f
4
- data.tar.gz: c5e5f3bb715c7e81015080442106aeed40fc70bb
3
+ metadata.gz: 57a459677aa86f7edb338f7b149879123b9aa357
4
+ data.tar.gz: cd1f2071502978dbe3c31b17c64e295db3af822a
5
5
  SHA512:
6
- metadata.gz: 968ef5b770f12aba5d8c6b00152deadc239c6e935bfd21f1101224f9114149148c99fb58df2632dc096b8bda2feda03fd48778a784ae7cc07cbb067cbd14014f
7
- data.tar.gz: 2ce8254e073cdd5b0796a85da4f69f10a098ed04194846872877c5c2fa7a3d12198c94ffae8070a758c577436f3ddadd8073658687dae6cf2d7e16cd30143d4f
6
+ metadata.gz: 88178bccfac963039aa8cba1e20ceefa3cd655818be986221a7ebeb398531fbd896567ccdc704c886c7b39081ca8e38047987eb3b18236d1b4e5acee8faaaae4
7
+ data.tar.gz: 5fb659d023a51a281c29bfee44de927faa777d8ac3963a1e2038594b02f1c6bb50f704606eaf73ce0dca4db0a6b14cd5420231296712f5757da8413a337ff184
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![Code Climate](https://codeclimate.com/github/averell23/chewy_kiqqer.png)](https://codeclimate.com/github/averell23/chewy_kiqqer)
5
5
  [![Test Coverage](https://codeclimate.com/github/averell23/chewy_kiqqer/coverage.png)](https://codeclimate.com/github/averell23/chewy_kiqqer)
6
6
 
7
- This is an alternative udpate/callback mechanism for [Chewy](https://github.com/toptal/chewy). It queues the updates as [Sidekiq](https://github.com/mperham/sidekiq) jobs.
7
+ This is an alternative update/callback mechanism for [Chewy](https://github.com/toptal/chewy). It queues the updates as [Sidekiq](https://github.com/mperham/sidekiq) jobs.
8
8
 
9
9
  You can pass backrefs like with the standard chewy mechanism, but the job itself will always receive an array of ids.
10
10
 
@@ -25,7 +25,6 @@ Gem::Specification.new do |spec|
25
25
 
26
26
  spec.add_development_dependency "bundler", "~> 1.3"
27
27
  spec.add_development_dependency "rake"
28
- spec.add_development_dependency "kaminari"
29
28
  spec.add_development_dependency "rspec"
30
29
  spec.add_development_dependency "codeclimate-test-reporter"
31
30
  end
@@ -29,6 +29,7 @@ module ChewyKiqqer
29
29
 
30
30
  def install_chewy_hooks
31
31
  after_commit :queue_chewy_jobs
32
+ respond_to?(:after_touch) and after_touch(:queue_chewy_jobs)
32
33
  end
33
34
  end
34
35
 
@@ -1,3 +1,3 @@
1
1
  module ChewyKiqqer
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
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.2.4
4
+ version: 0.2.5
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-10-23 00:00:00.000000000 Z
11
+ date: 2015-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -94,20 +94,6 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: kaminari
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: rspec
113
99
  requirement: !ruby/object:Gem::Requirement