mondupe 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mondupe.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd6bc5b74e4059e0720b1048f5b81ec9de2fb61c
4
- data.tar.gz: c8a7021092a1c4535ec5410d8486d3a18f0966eb
3
+ metadata.gz: c7bd82b5e38bcd4ccdc4f1c2110bcea2aaddd853
4
+ data.tar.gz: 81f9a63605df74324c63cabed95eb41776805390
5
5
  SHA512:
6
- metadata.gz: b1eca51806020bb5a7d8841d3e8d98d44c45f8fafdc2cec3561e9a841b8bf3deeb8ee2b00ffdc060f7484cd4773a0fe4496844955edaeb08f92f210df2b0e6ea
7
- data.tar.gz: be3129b05ce82e43f93fadd271733d41965ebcd677a4641b3a31ac8177a2b1b30b7e0bcb03aae538f9a542b697fa19cdba9e22d80911b2f56113fafa7960f5f8
6
+ metadata.gz: b8f9171ce1be254227644766c2fde97783bb7f7052bc676496b71b5240f8c6238d5dabcb3d1867c4c4ef46cf7603be36aef0a88204f98e365c86dc46d426cabe
7
+ data.tar.gz: d9cb455399e34591ab97a2373d02ef4fc4c236a8f8fad1f946098b9416d2fc596c1c8df2575b61d7ef6ff9ca068463e1956a80a9fa17bd75f24471b96be159fe
data/lib/mondupe.rb CHANGED
@@ -112,7 +112,7 @@ class Mondupe
112
112
  puts "Download URL: #{download_url}"
113
113
  puts "#{Time.now.to_s} - Starting download."
114
114
  puts " Please wait..."
115
- `ssh -i ~/.ssh/DevOps.pem #{ssh_user}@#{instance_ip} "sudo mkdir -p #{dump_tmp_path} && cd #{dump_tmp_path} && sudo wget '#{download_url}' -O #{File.join(dump_tmp_path, dump_file_name)} 2&>1"`
115
+ `ssh -i ~/.ssh/DevOps.pem #{ssh_user}@#{instance_ip} "sudo mkdir -p #{dump_tmp_path} && sudo chown -R #{ssh_user} #{dump_tmp_path} && cd #{dump_tmp_path} && wget '#{download_url}' -O #{File.join(dump_tmp_path, dump_file_name)} 2&>1"`
116
116
  puts "#{Time.now.to_s} - Download completed"
117
117
  end
118
118
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mondupe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Hutchins