capistrano-demonz 0.0.21 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
- **Current version:** 0.0.21
1
+ **Current version:** 0.0.22
2
2
 
3
3
  ## Changes ##
4
+ ### 0.0.22 ###
5
+ * The settings.php file token replacement is now done with the correct permissions.
6
+
4
7
  ### 0.0.21 ###
5
8
  * The 'sites/default' directory is now created if it doesn't exist.
6
9
 
data/lib/demonz/common.rb CHANGED
@@ -127,5 +127,5 @@ end
127
127
 
128
128
  # Updates the Drupal settings file with the new database name
129
129
  def update_db_in_settings_file(settings_file, db_name)
130
- run "sed -ri \"/^[ \\t]*(#|\\*|\\/)/! s/'database' => ''/'database' => '#{db_name}'/1\" #{settings_file}"
130
+ run "#{try_sudo} sed -ri \"/^[ \\t]*(#|\\*|\\/)/! s/'database' => ''/'database' => '#{db_name}'/1\" #{settings_file}"
131
131
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Demonz
3
- VERSION = "0.0.21"
3
+ VERSION = "0.0.22"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-demonz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: