capistrano-ash 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.2
1
+ 1.1.3
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{capistrano-ash}
8
- s.version = "1.1.1"
8
+ s.version = "1.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["August Ash"]
data/lib/ash/drupal.rb CHANGED
@@ -95,11 +95,9 @@ configuration.load do
95
95
  desc "Symlink shared directories"
96
96
  task :symlink, :except => { :no_release => true } do
97
97
  multisites.each_pair do |folder, url|
98
- run<<-CMD
99
- ln -nfs #{shared_path}/#{url}/files #{latest_release}/sites/#{url}/files &&
100
- ln -nfs #{latest_release}/sites/#{url}/settings.php.#{stage} #{latest_release}/sites/#{url}/settings.php &&
101
- #{drush_bin} -l #{url} -r #{current_path} vset --yes file_directory_path sites/#{url}/files
102
- CMD
98
+ run "ln -nfs #{shared_path}/#{url}/files #{latest_release}/sites/#{url}/files"
99
+ run "ln -nfs #{latest_release}/sites/#{url}/settings.php.#{stage} #{latest_release}/sites/#{url}/settings.php"
100
+ run "#{drush_bin} -l #{url} -r #{current_path} vset --yes file_directory_path sites/#{url}/files"
103
101
  end
104
102
  end
105
103
 
data/lib/ash/wordpress.rb CHANGED
@@ -60,7 +60,6 @@ namespace :wordpress do
60
60
  run "ln -nfs #{shared_path}/uploads #{current_release}/#{uploads_path}"
61
61
  run "ln -nfs #{shared_path}/cache #{current_release}/wp-content/cache"
62
62
  run "ln -nfs #{latest_release}/wp-config.php.#{stage} #{latest_release}/wp-config.php"
63
- CMD
64
63
  end
65
64
 
66
65
  desc "Set URL in database"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: capistrano-ash
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.2
5
+ version: 1.1.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - August Ash