scutil 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +4 -0
- data/lib/scutil.rb +1 -1
- data/lib/scutil/system_connection.rb +5 -1
- data/scutil.gemspec +2 -2
- data/test/test_scutil.rb +3 -0
- metadata +4 -4
data/CHANGELOG.rdoc
CHANGED
data/lib/scutil.rb
CHANGED
@@ -52,7 +52,11 @@ module Scutil
|
|
52
52
|
def scrub_options(options)
|
53
53
|
ssh_options = {}
|
54
54
|
options.each do |k, v|
|
55
|
-
|
55
|
+
if (RUBY_VERSION =~ /^1.8/)
|
56
|
+
ssh_options[k] = v if (k.to_s !~ /^scutil_+/)
|
57
|
+
else
|
58
|
+
ssh_options[k] = v if (k !~ /^scutil_+/)
|
59
|
+
end
|
56
60
|
end
|
57
61
|
return ssh_options
|
58
62
|
end
|
data/scutil.gemspec
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'scutil'
|
4
|
-
s.version = '0.4.
|
5
|
-
s.date = '2012-02-
|
4
|
+
s.version = '0.4.2'
|
5
|
+
s.date = '2012-02-23'
|
6
6
|
s.summary = 'SSH Command UTILity'
|
7
7
|
s.description = <<-EOF
|
8
8
|
Scutil is a library for conveniently executing commands
|
data/test/test_scutil.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scutil
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02-
|
12
|
+
date: 2012-02-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: net-ssh
|
16
|
-
requirement: &
|
16
|
+
requirement: &19755500 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 2.1.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *19755500
|
25
25
|
description: ! " Scutil is a library for conveniently executing commands \n remotely
|
26
26
|
via SSH.\n"
|
27
27
|
email: marcantoniosr@gmail.com
|