flying-sphinx 2.1.1 → 2.1.2

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: 2807e3e46524597089c220cf1a840b519296605e8e1f62cb50d91da81f825b1b
4
- data.tar.gz: 4d7a2630b95e2ff52e3e036f3a0aaaf08a40a7ba80af077159301ed85c142a02
3
+ metadata.gz: 3ede5850df89be920156e46226c4c1f3c9111f08f2f41c0eb140ede9c5ed55f9
4
+ data.tar.gz: 071a398ef29ba09d5fcedd14a24eb722ea7332c113f02d762c57d521bae2c9d5
5
5
  SHA512:
6
- metadata.gz: 9e9b63714c37e6a6b978a12564e97f9c56d91a97b290c4e436a75faebe23c0498cb302b29d749a88109f1c6e13dd66056c6e42054f38d129fe1623cf994f7b85
7
- data.tar.gz: 71fac7eeea72fb1a46406a62e8d8d756d78ac9edb70975de009b669d5f2ac4a28516caf7058dfbae7d9c5f558fd58ca61359c086ecb607b273c8bebb7d5596c8
6
+ metadata.gz: dc841aa0121d1e48d1d40dc7e8eb42248754145011be8e41e15832fa694e7d2cb3078f4004f63a9011c33421ffa3e2869bf414dba49eaffe2301f894ea914cc0
7
+ data.tar.gz: 205df50f8e2df62f38a719c70bb17034b6b4c3af589e73b28feef69f5294d9bf67fdf3b9466b75f45676b697ce09616fd4b1be9d39f7a733596d0b194fb48600
@@ -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.2 - 2018-06-09
6
+
7
+ ### Fixed
8
+
9
+ * Does not override Thinking Sphinx rake tasks when in a non-Flying Sphinx environment (as determined by the presence of the FLYING_SPHINX_IDENTIFIER environment variable). This fixed behaviour is the same as pre-v2.0 releases.
10
+
5
11
  ## 2.1.1 - 2018-04-30
6
12
 
7
13
  ### Fixed
@@ -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 => '95acb39052'</code></pre>
12
+ :ref => 'e8a4aa6b1d'</code></pre>
13
13
 
14
14
  h2. Compatibility and Limitations
15
15
 
@@ -35,6 +35,8 @@ h2. Contributors
35
35
 
36
36
  * "Josh Kalderimis":http://blog.cookiestack.com/ for switching the API calls to Faraday, improving the specs, a ton of debugging, and encouraging a versioned API.
37
37
  * "Paolo Perrotta":http://ducktypo.blogspot.com/ and "Matthew Zikherman":https://github.com/mzikherman for updating dependencies for faraday_middleware.
38
+ * "David Nix":https://github.com/DavidNix for an improvement to consistent configuration data.
39
+ * "Kiril Mitov":https://github.com/thebravoman for fixing deletion syntax with Delayed Job.
38
40
 
39
41
  h2. Licence
40
42
 
@@ -35,7 +35,6 @@ require 'flying_sphinx/version'
35
35
  require 'flying_sphinx/action'
36
36
  require 'flying_sphinx/api'
37
37
  require 'flying_sphinx/cli'
38
- require 'flying_sphinx/commands'
39
38
  require 'flying_sphinx/configuration'
40
39
  require 'flying_sphinx/configuration_options'
41
40
  require 'flying_sphinx/configurer'
@@ -50,5 +49,3 @@ require 'flying_sphinx/response/logger'
50
49
  if defined?(Rails) && defined?(Rails::Railtie)
51
50
  require 'flying_sphinx/railtie'
52
51
  end
53
-
54
- ThinkingSphinx.rake_interface = FlyingSphinx::RakeInterface
@@ -1,7 +1,11 @@
1
1
  class FlyingSphinx::Railtie < Rails::Railtie
2
2
  rake_tasks do
3
+ require 'flying_sphinx/commands'
4
+
5
+ ThinkingSphinx.rake_interface = FlyingSphinx::RakeInterface
6
+
3
7
  load File.expand_path('../tasks.rb', __FILE__)
4
- end
8
+ end if ENV['FLYING_SPHINX_IDENTIFIER'] || ENV['STAGED_SPHINX_IDENTIFIER']
5
9
 
6
10
  initializer "flying_sphinx.set_sphinx_host_and_port" do |app|
7
11
  configuration = FlyingSphinx::Configuration.new
@@ -1,3 +1,3 @@
1
1
  module FlyingSphinx
2
- Version = '2.1.1'
2
+ Version = '2.1.2'
3
3
  end
@@ -12,6 +12,9 @@ WebMock.disable_net_connect!
12
12
  require 'thinking_sphinx'
13
13
  require 'flying_sphinx'
14
14
 
15
+ require 'flying_sphinx/commands'
16
+ ThinkingSphinx.rake_interface = FlyingSphinx::RakeInterface
17
+
15
18
  unless FlyingSphinx.logger.level == Logger::DEBUG
16
19
  FlyingSphinx.logger.level = Logger::WARN
17
20
  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.1
4
+ version: 2.1.2
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-30 00:00:00.000000000 Z
11
+ date: 2018-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ey-hmac