flying-sphinx 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
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.
@@ -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
@@ -1,3 +1,3 @@
1
1
  module FlyingSphinx
2
- Version = '0.8.0'
2
+ Version = '0.8.1'
3
3
  end
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: 63
4
+ hash: 61
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
- - 0
10
- version: 0.8.0
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-25 00:00:00 Z
18
+ date: 2012-08-28 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: thinking-sphinx