capistrano-demonz 0.0.9 → 0.0.10
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/README.md +4 -1
- data/lib/demonz/common.rb +1 -1
- data/lib/demonz/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -2,9 +2,12 @@
|
|
2
2
|
|
3
3
|
Capistrano recipes developed for use by [Demonz Media](http://demonzmedia.com).
|
4
4
|
|
5
|
-
**Current version:** 0.0.
|
5
|
+
**Current version:** 0.0.10
|
6
6
|
|
7
7
|
## Changes ##
|
8
|
+
### 0.0.10 ###
|
9
|
+
* Fixed issue where incorrect database names were being generated.
|
10
|
+
|
8
11
|
### 0.0.9 ###
|
9
12
|
* Release name is now set in a Drupal variable ('site_release_name') post-migrate.
|
10
13
|
|
data/lib/demonz/common.rb
CHANGED
@@ -62,7 +62,7 @@ end
|
|
62
62
|
|
63
63
|
# Get the database name given an application and release name
|
64
64
|
def get_db_name(application, release)
|
65
|
-
db_name = "#{application}__#{
|
65
|
+
db_name = "#{application}__#{release}"
|
66
66
|
# Remove characters that may cause MySQL issues
|
67
67
|
db_name.downcase.gsub(/([\.\-\/])/, '_')
|
68
68
|
end
|
data/lib/demonz/version.rb
CHANGED