flying-sphinx 0.8.0 → 0.8.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.
- data/HISTORY +4 -0
- data/lib/flying_sphinx/cli.rb +2 -1
- data/lib/flying_sphinx/version.rb +1 -1
- metadata +4 -4
data/HISTORY
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
0.8.1 - 28th August 2012
|
|
2
|
+
* Load Thinking Sphinx when sending a generated configuration (as opposed to a hand-written file).
|
|
3
|
+
* Rebuild command now sends the new configuration up, as before.
|
|
4
|
+
|
|
1
5
|
0.8.0 - 25th August 2012
|
|
2
6
|
* Making the executable the main command entry point.
|
|
3
7
|
* Adding a 'flying-sphinx' executable to match Python and Node.js clients.
|
data/lib/flying_sphinx/cli.rb
CHANGED
|
@@ -6,7 +6,7 @@ class FlyingSphinx::CLI
|
|
|
6
6
|
'start' => [:start],
|
|
7
7
|
'stop' => [:stop],
|
|
8
8
|
'restart' => [:stop, :start],
|
|
9
|
-
'rebuild' => [:stop, :index, :start]
|
|
9
|
+
'rebuild' => [:stop, :configure, :index, :start]
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
def initialize(command, arguments = [])
|
|
@@ -28,6 +28,7 @@ class FlyingSphinx::CLI
|
|
|
28
28
|
|
|
29
29
|
def configure
|
|
30
30
|
if @arguments.empty?
|
|
31
|
+
require 'thinking_sphinx'
|
|
31
32
|
FlyingSphinx::SphinxConfiguration.new.upload_to configuration.api
|
|
32
33
|
FlyingSphinx::SettingFiles.new.upload_to configuration.api
|
|
33
34
|
else
|
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:
|
|
4
|
+
hash: 61
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 8
|
|
9
|
-
-
|
|
10
|
-
version: 0.8.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.8.1
|
|
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: 2012-08-
|
|
18
|
+
date: 2012-08-28 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: thinking-sphinx
|