cloudler 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cloudler.rb +4 -6
- metadata +2 -2
data/lib/cloudler.rb
CHANGED
@@ -3,7 +3,7 @@ require 'net/scp'
|
|
3
3
|
|
4
4
|
class Cloudler
|
5
5
|
|
6
|
-
VERSION = '0.1.
|
6
|
+
VERSION = '0.1.4'
|
7
7
|
|
8
8
|
def self.hosts= hosts
|
9
9
|
@hosts = hosts
|
@@ -54,13 +54,11 @@ class Cloudler
|
|
54
54
|
ssh.exec! "rm -rf #{@path}"
|
55
55
|
ssh.exec! "mkdir #{@path}"
|
56
56
|
if @files.length > 0
|
57
|
-
|
58
|
-
ssh.scp.upload(file, "#{@path}", :recursive => true)
|
59
|
-
end
|
57
|
+
ssh.scp.upload!(@files.join(' '), @path, :recursive => true)
|
60
58
|
else
|
61
|
-
|
59
|
+
ssh.scp.upload!('.', @path, :recursive => true)
|
62
60
|
end
|
63
|
-
|
61
|
+
|
64
62
|
puts "Files uploaded."
|
65
63
|
|
66
64
|
if @gems.length > 0
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: cloudler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Bruce Spang
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-02-
|
13
|
+
date: 2011-02-23 00:00:00 -05:00
|
14
14
|
default_executable: cloud
|
15
15
|
dependencies: []
|
16
16
|
|