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 +4 -4
- data/CHANGELOG.markdown +6 -0
- data/README.textile +3 -1
- data/lib/flying_sphinx.rb +0 -3
- data/lib/flying_sphinx/railtie.rb +5 -1
- data/lib/flying_sphinx/version.rb +1 -1
- data/spec/spec_helper.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ede5850df89be920156e46226c4c1f3c9111f08f2f41c0eb140ede9c5ed55f9
|
4
|
+
data.tar.gz: 071a398ef29ba09d5fcedd14a24eb722ea7332c113f02d762c57d521bae2c9d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc841aa0121d1e48d1d40dc7e8eb42248754145011be8e41e15832fa694e7d2cb3078f4004f63a9011c33421ffa3e2869bf414dba49eaffe2301f894ea914cc0
|
7
|
+
data.tar.gz: 205df50f8e2df62f38a719c70bb17034b6b4c3af589e73b28feef69f5294d9bf67fdf3b9466b75f45676b697ce09616fd4b1be9d39f7a733596d0b194fb48600
|
data/CHANGELOG.markdown
CHANGED
@@ -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
|
data/README.textile
CHANGED
@@ -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 => '
|
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
|
|
data/lib/flying_sphinx.rb
CHANGED
@@ -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
|
data/spec/spec_helper.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2018-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ey-hmac
|