sunspot-queue 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Sunspot Queue Changelog
2
2
 
3
+ ## 0.11.2
4
+ * Fix an issue serializing to Sidekiq with Rails 4
5
+
3
6
  ## 0.11.1
4
7
  * Allow without_proxy to work with SessionProxy subclasses
5
8
  * Added missing requires in sidekiq jobs
@@ -11,15 +11,15 @@ module Sunspot::Queue::Sidekiq
11
11
 
12
12
  # Job needs to include Sidekiq::Worker
13
13
  def enqueue(job, klass, id)
14
- job.perform_async(klass, id)
14
+ job.perform_async(klass.to_s, id)
15
15
  end
16
16
 
17
17
  def index(klass, id)
18
- index_job.perform_async(klass, id)
18
+ enqueue(index_job, klass, id)
19
19
  end
20
20
 
21
21
  def remove(klass, id)
22
- removal_job.perform_async(klass, id)
22
+ enqueue(removal_job, klass, id)
23
23
  end
24
24
 
25
25
  private
@@ -1,5 +1,5 @@
1
1
  module Sunspot
2
2
  module Queue
3
- VERSION = "0.10.1"
3
+ VERSION = "0.10.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunspot-queue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -281,7 +281,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
281
281
  version: '0'
282
282
  segments:
283
283
  - 0
284
- hash: -2562861309914958961
284
+ hash: 220246961613267226
285
285
  required_rubygems_version: !ruby/object:Gem::Requirement
286
286
  none: false
287
287
  requirements:
@@ -290,7 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
290
290
  version: '0'
291
291
  segments:
292
292
  - 0
293
- hash: -2562861309914958961
293
+ hash: 220246961613267226
294
294
  requirements: []
295
295
  rubyforge_project:
296
296
  rubygems_version: 1.8.25