load_remote_db 0.1.22 → 0.1.23

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 274263f5777ca72ddd1a884ebee14d2ae8650ac26ae9f8e40f3ec2c9b8ddbc37
4
- data.tar.gz: 0346c9fb594f65fde7615dfc8b9cb8b017565d7c052e8c9962826c3b2af459a2
3
+ metadata.gz: fc44f89b663b861ea0343ca1f3136cca1730f30d419f6d8a5ed2e13fb0c9b75d
4
+ data.tar.gz: b697109282f915a0195ab358838cf733948067f523a090eba1d48d3259a68fa6
5
5
  SHA512:
6
- metadata.gz: 16087a6c18d11924d2532c64111565a392174b74f134fef527c502a81696680ee9d79da718393c939fcc32ab3f957a3b1bcc1e2917e3676e351ee858f8936824
7
- data.tar.gz: 0e2e80f62ce9094f29e72d09c77edb2f27d6539eaffb5dcdc03b5a2b5977b227d880e0b8b223981e77e23d7b6cbeede522911c1cc46a38798d22b2849f4da2cc
6
+ metadata.gz: fab27a1b21e4294cf5b47b8e164781d804cc8a019c3335b2d227dca03cfe2dca7483dcb0d3e20bfcb72bb28a768193fb8a0b63c1950c166f37bd60c4d2120b7d
7
+ data.tar.gz: 2edc68f1bc602bf17cc7b711d7f95d6988665cc7e0b209e7a8465ffcbfab4c29f291b9785d1ffc2d077d8b82c8eff43a2b10376d0b0f3a188e6bbee81377601e
@@ -1,3 +1,3 @@
1
1
  module LoadRemoteDb
2
- VERSION = '0.1.22'.freeze
2
+ VERSION = '0.1.23'.freeze
3
3
  end
@@ -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}`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: load_remote_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.22
4
+ version: 0.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Huynh