load_remote_db 0.1.22 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/load_remote_db/version.rb +1 -1
- data/lib/tasks/load_remote_db.rake +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc44f89b663b861ea0343ca1f3136cca1730f30d419f6d8a5ed2e13fb0c9b75d
|
4
|
+
data.tar.gz: b697109282f915a0195ab358838cf733948067f523a090eba1d48d3259a68fa6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fab27a1b21e4294cf5b47b8e164781d804cc8a019c3335b2d227dca03cfe2dca7483dcb0d3e20bfcb72bb28a768193fb8a0b63c1950c166f37bd60c4d2120b7d
|
7
|
+
data.tar.gz: 2edc68f1bc602bf17cc7b711d7f95d6988665cc7e0b209e7a8465ffcbfab4c29f291b9785d1ffc2d077d8b82c8eff43a2b10376d0b0f3a188e6bbee81377601e
|
@@ -43,7 +43,7 @@ class RemoteDbLoader
|
|
43
43
|
\\"require 'yaml'; \
|
44
44
|
puts YAML.load_file('#{@deploy_to}/shared/config/database.yml')['#{env}']\\""}
|
45
45
|
|
46
|
-
shared_path = "#{@deploy_to}/shared"
|
46
|
+
shared_path = ENV['TEMP_STORED_FOLDER'] || "#{@deploy_to}/shared"
|
47
47
|
|
48
48
|
puts get_db_info_command
|
49
49
|
remote_db_config = eval `#{get_db_info_command}`
|