heroku_migrator 0.0.2 → 0.0.3
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/lib/heroku_migrator/cli.rb +5 -0
- data/lib/heroku_migrator/version.rb +1 -1
- metadata +2 -2
data/lib/heroku_migrator/cli.rb
CHANGED
@@ -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
|
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.
|
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-
|
12
|
+
date: 2012-08-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: heroku
|