kelredd-useful 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/useful/cap_tasks/passenger_deploy.rb +10 -10
- data/lib/useful/version.rb +1 -1
- metadata +2 -2
@@ -27,18 +27,18 @@ Capistrano::Configuration.instance.load do
|
|
27
27
|
run "touch #{current_path}/tmp/restart.txt"
|
28
28
|
end
|
29
29
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
30
|
+
namespace :web do
|
31
|
+
desc "_: (#{application}) Enable app and remove down page."
|
32
|
+
task :enable, :roles => :app, :except => { :no_release => true } do
|
33
|
+
run "rm #{current_path}/public/#{down_html}.html"
|
34
|
+
end
|
35
|
+
|
36
|
+
desc "_: (#{application}) Put up down page and disable app"
|
37
|
+
task :disable, :roles => :app, :except => { :no_release => true } do
|
38
|
+
run "cp #{shared_path}/#{down_html}.html #{current_path}/public/#{down_html}.html"
|
39
|
+
end
|
36
40
|
end
|
37
41
|
|
38
|
-
desc "_: (#{application}) Put up down page and disable app"
|
39
|
-
task :disable, :roles => :app, :except => { :no_release => true } do
|
40
|
-
run "cp #{shared_path}/#{down_html}.html #{current_path}/public/#{down_html}.html"
|
41
|
-
end
|
42
42
|
end
|
43
43
|
|
44
44
|
end
|
data/lib/useful/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kelredd-useful
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kelly Redding
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-11-
|
12
|
+
date: 2009-11-07 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|