heroku_migrator 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -59,6 +59,11 @@ module HerokuMigrator
59
59
  def provision_new_database
60
60
  add_addon options[:database_type]
61
61
  add_addon 'pgbackups'
62
+
63
+ # Development instances are provisioned instantly, but paid instances
64
+ # take 3-5 minutes to become available. The `pg:wait` command will block
65
+ # until the database instance comes up.
66
+ tell_heroku 'pg:wait'
62
67
  end
63
68
 
64
69
  def copy_database_contents
@@ -1,3 +1,3 @@
1
1
  module HerokuMigrator
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku_migrator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-03 00:00:00.000000000 Z
12
+ date: 2012-08-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: heroku