chef-config 12.17.44 → 12.18.31

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5c7dce34f87ebf0e8884f03e9118dcb77afb169
4
- data.tar.gz: b46529667bbff8dcb5f16c8caa4dc65c4dcdbb80
3
+ metadata.gz: 9e9064329595dcd6ded062d1e25c46ba566ae75a
4
+ data.tar.gz: 6dd3f95b4406b16801eb6159298fc41524a600c1
5
5
  SHA512:
6
- metadata.gz: bd808dfda9ba35ef69775abe07e45718b8937f1d8f8953903e57b78e59f7a5b4188e98415c25878a1bb168fced1ab35e8febe1e68793bccce5d0ae85adf356f9
7
- data.tar.gz: b9fac9c752ecef7ca23ac81b8c7cc35024a8fec7c861f952bae7846b40f2ebfddd45a675040ea11e09e3733d91816b872b6e19e3d08f614f7fe1ff80d4bc7c39
6
+ metadata.gz: ba9902073724301dd2104f88ae736f8b52858580edf198a24758dbe708c663658197aa9f4d192680586d747939b0c048d07d43b8b4977b1d18c2391aa221f659
7
+ data.tar.gz: 1e0e81945b66ae7e72859ef88a298c5adf090d06a061d9a11a68b5047d55f10bc478d74b36ae0d810ceef6323afd93b5752f7cf0bff893ab467b531fa387e1f2
@@ -21,9 +21,11 @@ module ChefConfig
21
21
  module FuzzyHostnameMatcher
22
22
 
23
23
  def fuzzy_hostname_match_any?(hostname, matches)
24
- return matches.to_s.split(/\s*,\s*/).compact.any? do |m|
25
- fuzzy_hostname_match?(hostname, m)
26
- end if (hostname != nil) && (matches != nil)
24
+ if (!hostname.nil?) && (!matches.nil?)
25
+ return matches.to_s.split(/\s*,\s*/).compact.any? do |m|
26
+ fuzzy_hostname_match?(hostname, m)
27
+ end
28
+ end
27
29
 
28
30
  false
29
31
  end
@@ -21,7 +21,7 @@
21
21
 
22
22
  module ChefConfig
23
23
  CHEFCONFIG_ROOT = File.expand_path("../..", __FILE__)
24
- VERSION = "12.17.44"
24
+ VERSION = "12.18.31"
25
25
  end
26
26
 
27
27
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.17.44
4
+ version: 12.18.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-07 00:00:00.000000000 Z
11
+ date: 2017-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout