flying-sphinx 0.0.9 → 0.1.0

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.9
1
+ 0.1.0
@@ -26,6 +26,14 @@ class FlyingSphinx::IndexRequest
26
26
 
27
27
  riddle_config = ts_config.configuration
28
28
 
29
+ base_path = "/mnt/sphinx/flying-sphinx/#{app_name}"
30
+ ts_config.searchd_file_path = "#{base_path}/indexes"
31
+ riddle_config.searchd.pid_file = "#{base_path}/searchd.pid"
32
+ riddle_config.searchd.log = "#{base_path}/log/searchd.log"
33
+ riddle_config.searchd.query_log = "#{base_path}/log/searchd.query.log"
34
+
35
+ riddle_config.indexes.clear
36
+
29
37
  ThinkingSphinx.context.indexed_models.each do |model|
30
38
  model = model.constantize
31
39
  model.define_indexes
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: 13
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 9
10
- version: 0.0.9
10
+ version: 0.1.0
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: 2010-12-11 00:00:00 +11:00
18
+ date: 2010-12-12 00:00:00 +11:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency