alcapon 0.4.20 → 0.4.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capez.rb +1 -1
- data/lib/ezpublish5/ezpublish.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46013528bfdb7dbb82f158f6c82805c5e01bd31f
|
4
|
+
data.tar.gz: ad7c56c07116902858b07e5104a1062325fc8d38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0159a8c3f9d00416ad9e07663bf600c7281a66eb8c9723cd59cbfddaf7737dc9f5f0638c77603e0bb062de7bc899caedc6743f114b756251de98a058a080e4ef
|
7
|
+
data.tar.gz: d3f3554bf573c6312cb065c5890693a8622529b663d13f911043ceb5ae2990eb9347a8e72b2aca9b0bf1c4507bf2d29fd4cc24141da525d10d0750b7c9ecf1d9
|
data/lib/capez.rb
CHANGED
@@ -336,9 +336,9 @@ namespace :ezpublish do
|
|
336
336
|
Sync your var directory with a remote one
|
337
337
|
DESC
|
338
338
|
task :sync_to_local, :roles => :web, :only => { :primary => true } do
|
339
|
-
puts "Cluster mode : " + (fetch( :ezdfs_mount_path, nil ) == nil ? "no".red : "yes".green )
|
340
339
|
puts "You're about to sync your local storage directory FROM a remote one"
|
341
340
|
puts "Selected stage : " + "#{stage}".green
|
341
|
+
puts "Cluster mode : " + (fetch( :ezdfs_mount_path, nil ) == nil ? "no".red : "yes".green )
|
342
342
|
confirmation = Capistrano::CLI.ui.ask "Are you sure (y/N) ?"
|
343
343
|
abort "Aborted" unless confirmation.downcase == 'y'
|
344
344
|
|
data/lib/ezpublish5/ezpublish.rb
CHANGED
@@ -29,8 +29,8 @@ namespace :ezpublish do
|
|
29
29
|
DESC
|
30
30
|
task :install, :roles => :web do
|
31
31
|
print_dotted( "\n--> Generating web assets in #{fetch('ezp5_assets_path','web')}" )
|
32
|
-
run( "cd #{latest_release} && sudo -u #{fetch(:php_user,user)} php ezpublish/console assets:install --symlink #{fetch('ezp5_assets_path','web')}" )
|
33
|
-
run( "cd #{latest_release} && sudo -u #{fetch(:php_user,user)} php ezpublish/console ezpublish:legacy:assets_install --symlink #{fetch('ezp5_assets_path','web')}" )
|
32
|
+
run( "cd #{latest_release} && sudo -u #{fetch(:php_user,user)} php ezpublish/console assets:install --env=#{fetch('ezp5_env','prod')} --symlink #{fetch('ezp5_assets_path','web')}" )
|
33
|
+
run( "cd #{latest_release} && sudo -u #{fetch(:php_user,user)} php ezpublish/console ezpublish:legacy:assets_install --env=#{fetch('ezp5_env','prod')} --symlink #{fetch('ezp5_assets_path','web')}" )
|
34
34
|
capez_puts_done
|
35
35
|
end
|
36
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alcapon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arnaud Lafon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|