capistrano-demonz 0.0.21 → 0.0.22
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.
- data/CHANGELOG.md +4 -1
- data/lib/demonz/common.rb +1 -1
- data/lib/demonz/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
**Current version:** 0.0.
|
|
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
|
data/lib/demonz/version.rb
CHANGED