flying-sphinx 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.3.3
@@ -5,7 +5,7 @@ class FlyingSphinx::IndexRequest
5
5
  # delayed_jobs table does not exist, this method will do nothing.
6
6
  #
7
7
  def self.cancel_jobs
8
- return unless ::Delayed::Job.table_exists?
8
+ return unless defined?(::Delayed) && ::Delayed::Job.table_exists?
9
9
 
10
10
  ::Delayed::Job.delete_all "handler LIKE '--- !ruby/object:FlyingSphinx::%'"
11
11
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flying-sphinx
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 3
10
+ version: 0.3.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pat Allan
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-06 00:00:00 +11:00
18
+ date: 2011-01-13 00:00:00 +11:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency