cf_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/cf_heroku_migrator.rb +1 -1
- data/lib/cf_heroku_migrator/version.rb +1 -1
- metadata +1 -1
data/lib/cf_heroku_migrator.rb
CHANGED
|
@@ -21,7 +21,7 @@ class CfMigrator
|
|
|
21
21
|
config_vars_to_exclude = %w(PGBACKUPS_URL BUNDLE_WITHOUT LOGGING_EXPANDED_UPGRADE DATABASE_URL APP_NAME COMMIT_HASH URL HEROKU_POSTGRESQL_SILVER_URL LAST_GIT_BY RACK_ENV LANG CONSOLE_AUTH STACK)
|
|
22
22
|
config_vars.delete_if { |key, value| config_vars_to_exclude.include? key }
|
|
23
23
|
|
|
24
|
-
config_vars_keys_to_import = ask("Which config vars do you want to import? Space separate them, or press Enter to select all.
|
|
24
|
+
config_vars_keys_to_import = ask("Which config vars do you want to import? Space separate them, or press Enter to select all: ") { |q| q.default = config_vars.keys.join(" ") }
|
|
25
25
|
if config_vars_keys_to_import.length > 0
|
|
26
26
|
keys_to_keep = config_vars_keys_to_import.downcase.split(" ")
|
|
27
27
|
config_vars.select! { |key, value| keys_to_keep.include? key.downcase }
|