mobilize-ssh 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mobilize-ssh/handlers/ssh.rb +2 -0
- data/lib/mobilize-ssh/version.rb +1 -1
- data/mobilize-ssh.gemspec +1 -1
- metadata +7 -12
@@ -68,6 +68,8 @@ module Mobilize
|
|
68
68
|
#make sure user starts in rem_dir
|
69
69
|
rem_dir = "#{comm_md5}/"
|
70
70
|
command = ["cd #{rem_dir}",command].join(";")
|
71
|
+
#make sure the rem_dir is gone
|
72
|
+
Ssh.run(node,"rm -rf #{rem_dir}")
|
71
73
|
Ssh.scp(node,comm_dir,rem_dir)
|
72
74
|
"rm -rf #{comm_dir}".bash
|
73
75
|
if su_user
|
data/lib/mobilize-ssh/version.rb
CHANGED
data/mobilize-ssh.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
|
-
gem.add_runtime_dependency "mobilize-base","1.0.
|
19
|
+
gem.add_runtime_dependency "mobilize-base","~>1.0.6"
|
20
20
|
gem.add_runtime_dependency "net-ssh"
|
21
21
|
gem.add_runtime_dependency "net-scp"
|
22
22
|
gem.add_runtime_dependency "net-ssh-gateway"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mobilize-ssh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,24 +9,24 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mobilize-base
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.0.
|
21
|
+
version: 1.0.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.0.
|
29
|
+
version: 1.0.6
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: net-ssh
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,18 +115,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
115
115
|
- - ! '>='
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
|
-
segments:
|
119
|
-
- 0
|
120
|
-
hash: -2491494093020250670
|
121
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
119
|
none: false
|
123
120
|
requirements:
|
124
121
|
- - ! '>='
|
125
122
|
- !ruby/object:Gem::Version
|
126
123
|
version: '0'
|
127
|
-
segments:
|
128
|
-
- 0
|
129
|
-
hash: -2491494093020250670
|
130
124
|
requirements: []
|
131
125
|
rubyforge_project:
|
132
126
|
rubygems_version: 1.8.24
|
@@ -140,3 +134,4 @@ test_files:
|
|
140
134
|
- test/redis-test.conf
|
141
135
|
- test/ssh_job_rows.yml
|
142
136
|
- test/test_helper.rb
|
137
|
+
has_rdoc:
|