flying-sphinx 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9e14e5453c49da728c4c1a6fcd73d3bb69f9757346d389118a83f2e637f8d02
4
- data.tar.gz: a03b95890d0fbe8d5ecf8c9a4254bbb419ee06fc28f722fc1c90d4e7d3d21db3
3
+ metadata.gz: 2807e3e46524597089c220cf1a840b519296605e8e1f62cb50d91da81f825b1b
4
+ data.tar.gz: 4d7a2630b95e2ff52e3e036f3a0aaaf08a40a7ba80af077159301ed85c142a02
5
5
  SHA512:
6
- metadata.gz: d2e2893b492f73235a30acfe70c3aab0958beca8f495606e0da53f743b17bf7869c2b2178ae2cff97fa3c4cc7496d88bb2fc0472a24b3d4d81a11291f12c4763
7
- data.tar.gz: 1d7280b6f9b55632436a5665098bc77abe9f2ec859b4fe7073449953d451a8b89c9a2af6c4786a9041a6af29660b5169c2c6f36599cb12a4b4a46a06f72fe925
6
+ metadata.gz: 9e9b63714c37e6a6b978a12564e97f9c56d91a97b290c4e436a75faebe23c0498cb302b29d749a88109f1c6e13dd66056c6e42054f38d129fe1623cf994f7b85
7
+ data.tar.gz: 71fac7eeea72fb1a46406a62e8d8d756d78ac9edb70975de009b669d5f2ac4a28516caf7058dfbae7d9c5f558fd58ca61359c086ecb607b273c8bebb7d5596c8
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project (at least, from v0.4.0 onwards) are documented in this file.
4
4
 
5
+ ## 2.1.1 - 2018-04-30
6
+
7
+ ### Fixed
8
+
9
+ * Fixed clearing of Delayed Jobs to work with Rails 3+ syntax only ([#19](https://github.com/flying-sphinx/flying-sphinx/pull/19) via [Kiril Mitov](https://github.com/thebravoman)).
10
+
5
11
  ## 2.1.0 - 2018-04-20
6
12
 
7
13
  ### Added
@@ -9,7 +9,7 @@ This is all covered pretty well on "the Flying Sphinx site":http://flying-sphinx
9
9
  <pre><code>gem 'flying-sphinx',
10
10
  :git => 'git://github.com/flying-sphinx/flying-sphinx.git',
11
11
  :branch => 'master',
12
- :ref => 'da021897c6'</code></pre>
12
+ :ref => '95acb39052'</code></pre>
13
13
 
14
14
  h2. Compatibility and Limitations
15
15
 
@@ -18,9 +18,9 @@ class FlyingSphinx::Commands::IndexSQL < FlyingSphinx::Commands::Base
18
18
  end
19
19
 
20
20
  def clear_jobs
21
- ::Delayed::Job.delete_all(
22
- "handler LIKE '--- !ruby/object:FlyingSphinx::%'"
23
- ) if defined?(::Delayed) && ::Delayed::Job.table_exists?
21
+ ::Delayed::Job.
22
+ where("handler LIKE '--- !ruby/object:FlyingSphinx::%'").
23
+ delete_all if defined?(::Delayed) && ::Delayed::Job.table_exists?
24
24
  end
25
25
 
26
26
  def indexing_options
@@ -1,3 +1,3 @@
1
1
  module FlyingSphinx
2
- Version = '2.1.0'
2
+ Version = '2.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flying-sphinx
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-20 00:00:00.000000000 Z
11
+ date: 2018-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ey-hmac