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 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.9
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}__#{release_name}"
65
+ db_name = "#{application}__#{release}"
66
66
  # Remove characters that may cause MySQL issues
67
67
  db_name.downcase.gsub(/([\.\-\/])/, '_')
68
68
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Demonz
3
- VERSION = "0.0.9"
3
+ VERSION = "0.0.10"
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.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: