screwcap 0.6.pre6 → 0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/screwcap/runner.rb +1 -0
- data/lib/screwcap.rb +1 -1
- data/screwcap.gemspec +1 -1
- metadata +8 -11
data/Rakefile
CHANGED
@@ -11,7 +11,7 @@ Hoe.plugin :newgem
|
|
11
11
|
# Generate all the Rake tasks
|
12
12
|
# Run 'rake -T' to see list of generated tasks (from gem root directory)
|
13
13
|
$hoe = Hoe.spec 'screwcap' do
|
14
|
-
self.version = '0.6
|
14
|
+
self.version = '0.6'
|
15
15
|
self.developer 'Grant Ammons', 'grant@pipelinedeals.com'
|
16
16
|
self.rubyforge_name = self.name # TODO this is default value
|
17
17
|
self.extra_deps = [['net-ssh','>= 2.0.23'],['net-ssh-gateway','>=1.0.1'], ['net-scp','>=1.0.4']]
|
data/lib/screwcap/runner.rb
CHANGED
@@ -49,6 +49,7 @@ class Runner
|
|
49
49
|
stdout, stderr, exit_code, exit_signal = ssh_exec! ssh, command[:command]
|
50
50
|
command[:stdout] = stdout
|
51
51
|
command[:stderr] = stderr
|
52
|
+
command[:exit_code] = exit_code
|
52
53
|
_log(" O: (#{options[:address]}): #{stdout}", :color => :green) unless stdout.nil? or stdout == ""
|
53
54
|
_errorlog(" O: (#{options[:address]}): #{stderr}", :color => :red) unless stderr.nil? or stderr == ""
|
54
55
|
_errorlog(" E: (#{options[:address]}): #{command[:command]} return exit code: #{exit_code}\n", :color => :red) if exit_code != 0
|
data/lib/screwcap.rb
CHANGED
data/screwcap.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: screwcap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 7
|
5
|
+
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
|
10
|
-
version: 0.6.pre6
|
9
|
+
version: "0.6"
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Grant Ammons
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2010-11-
|
17
|
+
date: 2010-11-24 00:00:00 -05:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
@@ -173,14 +172,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
173
172
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
173
|
none: false
|
175
174
|
requirements:
|
176
|
-
- - "
|
175
|
+
- - ">="
|
177
176
|
- !ruby/object:Gem::Version
|
178
|
-
hash:
|
177
|
+
hash: 3
|
179
178
|
segments:
|
180
|
-
-
|
181
|
-
|
182
|
-
- 1
|
183
|
-
version: 1.3.1
|
179
|
+
- 0
|
180
|
+
version: "0"
|
184
181
|
requirements: []
|
185
182
|
|
186
183
|
rubyforge_project: screwcap
|