alcapon 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/bin/capezit +2 -2
  2. data/lib/ezpublish5.rb +4 -4
  3. metadata +3 -3
data/bin/capezit CHANGED
@@ -55,7 +55,7 @@ files = {
55
55
  "#{alcapon_path}/config/deploy.rb" => unindent(<<-FILE),
56
56
  # Comment this if you don't want to use a multistage setup
57
57
  set :stages, %w(devel production )
58
- set :default_stage, "devel"
58
+ #set :default_stage, "devel"
59
59
  require 'capistrano/ext/multistage'
60
60
 
61
61
  set :application, "myapp"
@@ -137,7 +137,7 @@ files = {
137
137
 
138
138
  # Changes the group of shared_children items (by default, webserver_group is used)
139
139
  # If not set, permissions remain unchanged
140
- #set :shared_children_group, "#{webserver_group}"
140
+ #set :shared_children_group, "\#{webserver_group}"
141
141
 
142
142
  # eZ Publish 5 only
143
143
 
data/lib/ezpublish5.rb CHANGED
@@ -42,10 +42,10 @@ namespace :capez do
42
42
  Install assets (ezp5 only)
43
43
  DESC
44
44
  task :install do
45
-
45
+ print_dotted( "\n--> Generating web assets in #{fetch('ezp5_assets_path','web')}" )
46
46
  capture( "cd #{latest_release} && sudo -u #{webserver_user} php ezpublish/console assets:install --symlink #{fetch('ezp5_assets_path','web')}" )
47
47
  capture( "cd #{latest_release} && sudo -u #{webserver_user} php ezpublish/console ezpublish:legacy:assets_install --symlink #{fetch('ezp5_assets_path','web')}" )
48
-
48
+ capez_puts_done
49
49
  end
50
50
  end
51
51
 
@@ -54,13 +54,13 @@ namespace :capez do
54
54
  Generate yml (ezp5) based on ini (ezp4)
55
55
  DESC
56
56
  task :configure do
57
-
57
+ print_dotted( "\n--> Generating ezp5 configuration files from ezp4 ones" )
58
58
  if( fetch('ezp5_siteaccess_groupname',false) != false && fetch('ezp5_admin_siteaccess',false) != false )
59
59
  capture( "cd #{latest_release} && sudo -u #{webserver_user} php ezpublish/console ezpublish:configure --env=#{fetch('ezp5_env','prod')} #{ezp5_siteaccess_groupname} #{ezp5_admin_siteaccess}" )
60
60
  else
61
61
  abort( "Since version 0.4.3, you need to set ezp5_siteaccess_groupname & ezp5_admin_siteaccess".red )
62
62
  end
63
-
63
+ capez_puts_done
64
64
  end
65
65
 
66
66
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 3
9
- version: 0.4.3
8
+ - 4
9
+ version: 0.4.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Arnaud Lafon
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2012-12-11 00:00:00 +01:00
17
+ date: 2012-12-14 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency