load_remote_db 0.1.17 → 0.1.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28128a8168032cf80e8fed61a6f4ac878441a0525ccd541630cf206a4e568d23
4
- data.tar.gz: 78c15c3521bfd0c83a15c513556bad5369f1b07c19767c072fe8b01596b3dac9
3
+ metadata.gz: 26069fbdcdad63d69073dec3b4232a111f8f49d5e0e756b8652934dd4dcce4dd
4
+ data.tar.gz: 3ddc0fc36cf34c17471f32bb3e2b793d9ba4d52f0ff2b8725d7a3b06b1bc26bb
5
5
  SHA512:
6
- metadata.gz: acfc669d70f9300b39f93ce6e64493f304734ac5a2ec6e39c9d4dcdc7ac686c8cb7161352170b0233a26d6d6f2f22e1dcd1a95a7cfa5b0acf5aacd8516e2568a
7
- data.tar.gz: d7db0d4ad853901eae47ea6b0ad2724b9ffe17b280ee9443eb3383544a550360d861b78bb7eaf8fcc018c29a873f430dec8012d1a9bffc45f43f94e05a7aa7ff
6
+ metadata.gz: d3faedf2aa6eb6c4691a38dfa46dc29801b7ea2b8ca09ea4b0bb46ba9d025c758fbb4ede5495cce8f608f56ab37e30e9c56a9470a81a1d418ccfbae8bccae63d
7
+ data.tar.gz: 0b6d7790000a47d06a0b537e7a53d4992f7bd1a94f818c33a89e1a3d688d655a863e6a96dbb5ee4c0cb5cb91b57a5b370c1272d7e8975f40c3aa2762f433392c
@@ -1,3 +1,3 @@
1
1
  module LoadRemoteDb
2
- VERSION = '0.1.17'.freeze
2
+ VERSION = '0.1.18'.freeze
3
3
  end
@@ -49,6 +49,8 @@ class RemoteDbLoader
49
49
  remote_db_config = eval `#{get_db_info_command}`
50
50
  remote_db_host = remote_db_config["host"] || 'localhost'
51
51
  remote_db_name = remote_db_config["database"]
52
+ remote_db_username = remote_db_config["username"] || 'root'
53
+ remote_db_password = remote_db_config["password"]
52
54
 
53
55
  ## run the real backup
54
56
  puts 'Running the remote backup...'
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.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Huynh