factorylabs-fdlcap 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/fdlcap.gemspec +1 -1
- data/lib/fdlcap/recipes/thinking_sphinx.rb +12 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.7
|
data/fdlcap.gemspec
CHANGED
@@ -1,8 +1,19 @@
|
|
1
1
|
Capistrano::Configuration.instance(:must_exist).load do
|
2
|
-
|
2
|
+
# These recipies assume an engineyard configuration
|
3
|
+
|
4
|
+
# searchd assumes indexing and configuring being called directly on searchd
|
5
|
+
define_recipe :thinking_sphinx_searchd do
|
3
6
|
after "deploy:update_code", "deploy:symlink_configs"
|
4
7
|
after "deploy:symlink_configs", "thinking_sphinx:symlink"
|
5
8
|
after "thinking_sphinx:symlink", "sphinx:configure"
|
6
9
|
after "deploy:update", "sphinx:reindex"
|
7
10
|
end
|
11
|
+
|
12
|
+
# rake assumes the explicit ey cap tasks that call TS rake tasks for indexing and configuring
|
13
|
+
define_recipe :thinking_sphinx_rake do
|
14
|
+
after "deploy:update_code", "deploy:symlink_configs"
|
15
|
+
after "deploy:symlink_configs", "thinking_sphinx:symlink"
|
16
|
+
after "thinking_sphinx:symlink", "thinking_sphinx:configure"
|
17
|
+
after "deploy:update", "thinking_sphinx:reindex"
|
18
|
+
end
|
8
19
|
end
|