engineyard-eycap 0.4.11 → 0.4.12

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.4.12 / 2009-06-26
2
+ * removed condition for dbhost that was useless and tested db:clone_prod_to_staging
3
+
1
4
  == 0.4.11 / 2009-06-25
2
5
  * changed nginx start and restart to give output to cap
3
6
  * fixed db:clone_to_local task
@@ -21,7 +21,7 @@ Capistrano::Configuration.instance(:must_exist).load do
21
21
 
22
22
  if @environment_info['adapter'] == 'mysql'
23
23
  dbhost = @environment_info['host']
24
- dbhost = environment_dbhost.sub('-master', '') + '-replica' if dbhost != 'localhost' # added for Solo offering, which uses localhost
24
+ dbhost = environment_dbhost.sub('-master', '') + '-replica'
25
25
  run "mysqldump --add-drop-table -u #{dbuser} -h #{dbhost} -p #{environment_database} | bzip2 -c > #{backup_file}.bz2" do |ch, stream, out |
26
26
  ch.send_data "#{dbpass}\n" if out=~ /^Enter password:/
27
27
  end
data/lib/eycap.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eycap
2
- VERSION = '0.4.11'
2
+ VERSION = '0.4.12'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: engineyard-eycap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.11
4
+ version: 0.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Engine Yard