sconb 0.0.3 → 0.0.4
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.
- checksums.yaml +4 -4
- data/lib/sconb/version.rb +1 -1
- data/lib/sconb.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 77df7796fba683040889ddc87e6d957771618e47
|
|
4
|
+
data.tar.gz: cc503307d7d92872afe4eaf3875c672803097a65
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e0fa3c7eb951ffdf2ed44364017b0485a741d56584244c7ad6d90c5e8b117a4c24c8c1835cecd0c33f6feebb2db7bcbcd907da728157f894dd9506e8f512f87
|
|
7
|
+
data.tar.gz: b34a700c97f9880abccabc8de7c476deef36ebcc84cfba9dc15614d0181f686c71ea369b0228414ea84d6efcbdf8f4e6db84cd828d3c3eff27718b8b839f3a44
|
data/lib/sconb/version.rb
CHANGED
data/lib/sconb.rb
CHANGED
|
@@ -28,6 +28,7 @@ module Sconb
|
|
|
28
28
|
next unless key.downcase == 'host'
|
|
29
29
|
negative_hosts, positive_hosts = value.to_s.split(/\s+/).partition { |h| h.start_with?('!') }
|
|
30
30
|
positive_hosts.each do | host |
|
|
31
|
+
next if host == '*'
|
|
31
32
|
config = config_load(path, host)
|
|
32
33
|
|
|
33
34
|
allconfig.each do |key, value|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sconb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- k1LoW
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-09-
|
|
11
|
+
date: 2014-09-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: net-ssh
|
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
117
117
|
version: '0'
|
|
118
118
|
requirements: []
|
|
119
119
|
rubyforge_project:
|
|
120
|
-
rubygems_version: 2.2.
|
|
120
|
+
rubygems_version: 2.2.2
|
|
121
121
|
signing_key:
|
|
122
122
|
specification_version: 4
|
|
123
123
|
summary: Ssh CONfig Buckup tool.
|