fdlcap 0.4.4 → 0.4.5
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/slice.rb +5 -3
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.5
|
data/fdlcap.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{fdlcap}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Factory Design Labs", "Gabe Varela", "Jay Zeschin"]
|
data/lib/fdlcap/recipes/slice.rb
CHANGED
@@ -48,9 +48,11 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
48
48
|
# Deploy the custom maintenance page
|
49
49
|
define_recipe :custom_maintenance_page do
|
50
50
|
|
51
|
-
|
52
|
-
|
53
|
-
|
51
|
+
namespace :slice do
|
52
|
+
desc "Copy the maintenance page from the public directory to the shared directory"
|
53
|
+
task :copy_maintenance_page, :roles => :app do
|
54
|
+
upload "public/maintenance.html","#{shared_path}/system/maintenance.html.custom", :via => :scp
|
55
|
+
end
|
54
56
|
end
|
55
57
|
|
56
58
|
before "deploy:web:disable", "slice:copy_maintenance_page"
|