engineyard-eycap 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.4.7 / 2009-05-12
2
+ * fixed bug in clone_prod_to_staging and clone_to_local db tasks for postgres
3
+ where the regex matching the password prompt for the restore was wrong
4
+
1
5
  == 0.4.6 / 2009-03-24
2
6
  * fixed bug to restore clone_prod_to_staging using the compressed file
3
7
 
@@ -33,7 +33,7 @@ Capistrano::Configuration.instance(:must_exist).load do
33
33
  ch.send_data "#{dbpass}\n" if out=~ /^Password:/
34
34
  end
35
35
  run "bzcat #{backup_file}.bz2 | psql -W -U #{dbuser} -h #{staging_dbhost} #{staging_database}" do |ch, stream, out|
36
- ch.send_data "#{dbpass}\n" if out=~ /^Password:/
36
+ ch.send_data "#{dbpass}\n" if out=~ /^Password/
37
37
  end
38
38
  end
39
39
  run "rm -f #{backup_file}"
@@ -68,7 +68,7 @@ Capistrano::Configuration.instance(:must_exist).load do
68
68
  end
69
69
  else
70
70
  run "bzcat /tmp/#{application}.sql.gz | psql -W -U #{development_info['username']} -h #{development_info['host']} #{development_info['database']}" do |ch, stream, out |
71
- ch.send_data "#{development_info['password']}\n" if out=~ /^Password:/
71
+ ch.send_data "#{development_info['password']}\n" if out=~ /^Password/
72
72
  end
73
73
  end
74
74
  end
data/lib/eycap.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eycap
2
- VERSION = '0.4.6'
2
+ VERSION = '0.4.7'
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.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Engine Yard