ninja-deploy 1.3.2 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +9 -0
- data/VERSION +1 -1
- data/lib/ninja_deploy/recipes/thinking_sphinx.rb +6 -3
- data/ninja-deploy.gemspec +2 -2
- metadata +5 -5
data/README.rdoc
CHANGED
@@ -186,6 +186,15 @@ As Callback:
|
|
186
186
|
|
187
187
|
after "deploy:update_code", "thinking_sphinx:stop"
|
188
188
|
|
189
|
+
=== stop_using_previous_config
|
190
|
+
|
191
|
+
Stops thinking sphinx using the config file in the previous release. Useful when there is not a
|
192
|
+
configuration file in the current release yet.
|
193
|
+
|
194
|
+
As Callback:
|
195
|
+
|
196
|
+
after "deploy:update_code", "thinking_sphinx:stop_using_previous_config"
|
197
|
+
|
189
198
|
=== restart
|
190
199
|
|
191
200
|
Stops and starts the Sphinx searchd daemon.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.4.0
|
@@ -25,6 +25,11 @@ Capistrano::Configuration.instance( :must_exist ).load do
|
|
25
25
|
rake "thinking_sphinx:stop"
|
26
26
|
end
|
27
27
|
|
28
|
+
desc "Stops thinking sphinx using the config file in the previous release (as there is not one configured in this release yet)."
|
29
|
+
task :stop_using_previous_config do
|
30
|
+
run "cd #{previous_release} && bundle exec rake RAILS_ENV=#{rails_env} thinking_sphinx:stop"
|
31
|
+
end
|
32
|
+
|
28
33
|
desc "Stop and then start the Sphinx daemon"
|
29
34
|
task :restart do
|
30
35
|
stop
|
@@ -33,9 +38,7 @@ Capistrano::Configuration.instance( :must_exist ).load do
|
|
33
38
|
|
34
39
|
desc "Stop, re-index and then start the Sphinx daemon"
|
35
40
|
task :rebuild do
|
36
|
-
|
37
|
-
index
|
38
|
-
start
|
41
|
+
rake "thinking_sphinx:rebuild"
|
39
42
|
end
|
40
43
|
|
41
44
|
desc "Add the shared folder for sphinx files for the production environment"
|
data/ninja-deploy.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ninja-deploy}
|
8
|
-
s.version = "1.
|
8
|
+
s.version = "1.4.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ninja Loss"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-09-15}
|
13
13
|
s.description = %q{Common shared deployment recipes for your pleasure.}
|
14
14
|
s.email = %q{ninja.loss@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ninja-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 1.
|
8
|
+
- 4
|
9
|
+
- 0
|
10
|
+
version: 1.4.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ninja Loss
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-09-15 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|