freelancing-god-thinking-sphinx 1.1.0 → 1.1.1

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.
@@ -6,7 +6,9 @@ module ThinkingSphinx
6
6
  end
7
7
 
8
8
  def self.cancel_thinking_sphinx_jobs
9
- delete_all("handler LIKE '--- !ruby/object:ThinkingSphinx::Deltas::%'")
9
+ if connection.tables.include?("delayed_jobs")
10
+ delete_all("handler LIKE '--- !ruby/object:ThinkingSphinx::Deltas::%'")
11
+ end
10
12
  end
11
13
 
12
14
  private
@@ -31,7 +31,7 @@ module ThinkingSphinx
31
31
  module Version #:nodoc:
32
32
  Major = 1
33
33
  Minor = 1
34
- Tiny = 0
34
+ Tiny = 1
35
35
 
36
36
  String = [Major, Minor, Tiny].join('.')
37
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freelancing-god-thinking-sphinx
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan