capistrano_evrone_recipes 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,7 @@ namespace :deploy do
|
|
17
17
|
for efficiency. If you customize the assets path prefix, override the \
|
18
18
|
:assets_prefix variable to match.
|
19
19
|
DESC
|
20
|
-
task :symlink, :roles => assets_role, :except => { :no_release => true } do
|
20
|
+
task :symlink, :on_no_matching_servers => :continue, :roles => assets_role, :except => { :no_release => true } do
|
21
21
|
run <<-CMD
|
22
22
|
rm -rf #{latest_release}/public/#{assets_prefix} &&
|
23
23
|
mkdir -p #{latest_release}/public &&
|
@@ -36,7 +36,7 @@ namespace :deploy do
|
|
36
36
|
set :rails_env, "production"
|
37
37
|
set :asset_env, "RAILS_GROUPS=assets"
|
38
38
|
DESC
|
39
|
-
task :precompile, :roles => assets_role, :except => { :no_release => true } do
|
39
|
+
task :precompile, :on_no_matching_servers => :continue, :roles => assets_role, :except => { :no_release => true } do
|
40
40
|
CapistranoEvroneRecipes::Util.ensure_changed_remote_dirs(self, "app/assets") do
|
41
41
|
run "cd #{latest_release} && #{rake} RAILS_ENV=#{rails_env} #{asset_env} assets:precompile"
|
42
42
|
end
|
@@ -53,7 +53,7 @@ namespace :deploy do
|
|
53
53
|
set :rails_env, "production"
|
54
54
|
set :asset_env, "RAILS_GROUPS=assets"
|
55
55
|
DESC
|
56
|
-
task :clean, :roles => assets_role, :except => { :no_release => true } do
|
56
|
+
task :clean, :on_no_matching_servers => :continue, :roles => assets_role, :except => { :no_release => true } do
|
57
57
|
run "cd #{latest_release} && #{rake} RAILS_ENV=#{rails_env} #{asset_env} assets:clean"
|
58
58
|
end
|
59
59
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano_evrone_recipes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|