chef-config 17.9.18 → 17.9.26

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
  SHA256:
3
- metadata.gz: c1d98aa33d8c8e74259a83d67e7636876928808321ec439bc741b7d96a425511
4
- data.tar.gz: c2e8a593235f9d1760dbd024c46b40f5de671a4a6808493a4bc4a1c8522f66f2
3
+ metadata.gz: 3dfe4446443351c442002c58c2be32f356f6717b673273495bf0d5ac392ecd66
4
+ data.tar.gz: 7a0ac610c10a2c409c65efcfa5f6b5c79e86d0273633937b25ae1dae686952a5
5
5
  SHA512:
6
- metadata.gz: 7737eba38e9162a3222a6f38a495217dd473c0f62bfba46b04c30f6b7da9ad9c20089ae49da89b755373ec90cb3c7015540e182f2ba267c8eaa3d892a079e394
7
- data.tar.gz: '0629a1d3cd1de90f9aafde3b094a7cd90e737f572bcc846a6891e1a998df92eca826293a0c70bb71a9af7ead1c67208b776f0ba7c508cb6c93867d7040c51cc0'
6
+ metadata.gz: 3f305e339710b13d6d464c5648b02cae8d2e3754a0a6d671afcf1fd73f9363cf35ebe7a908e7dc5c1e863c13c160c04fae62a203dfc59137e5bfb8a1b6e2195b
7
+ data.tar.gz: 7ff58add4adfb10c48ea2076d8519c4f32da1c52809e8a6ff82bf3840eb719819d427f16fa729d35705c22a86057e938ffab2b144b77b59f81381f4f7be092e0
@@ -1223,7 +1223,7 @@ module ChefConfig
1223
1223
  "en.UTF-8"
1224
1224
  else
1225
1225
  # Will match en_ZZ.UTF-8, en_ZZ.utf-8, en_ZZ.UTF8, en_ZZ.utf8
1226
- guesses = locales.select { |l| l =~ /^en_.*UTF-?8$/i }
1226
+ guesses = locales.grep(/^en_.*UTF-?8$/i)
1227
1227
  unless guesses.empty?
1228
1228
  guessed_locale = guesses.first
1229
1229
  # Transform into the form en_ZZ.UTF-8
@@ -1287,10 +1287,10 @@ module ChefConfig
1287
1287
  require "digest/md5" unless defined?(Digest::MD5)
1288
1288
  # Remove pre-existing constants if they do exist to reduce the
1289
1289
  # amount of log spam and warnings.
1290
- Digest.send(:remove_const, "SHA1") if Digest.const_defined?("SHA1")
1291
- Digest.const_set("SHA1", OpenSSL::Digest::SHA1)
1292
- OpenSSL::Digest.send(:remove_const, "MD5") if OpenSSL::Digest.const_defined?("MD5")
1293
- OpenSSL::Digest.const_set("MD5", Digest::MD5)
1290
+ Digest.send(:remove_const, "SHA1") if Digest.const_defined?(:SHA1)
1291
+ Digest.const_set(:SHA1, OpenSSL::Digest::SHA1)
1292
+ OpenSSL::Digest.send(:remove_const, "MD5") if OpenSSL::Digest.const_defined?(:MD5)
1293
+ OpenSSL::Digest.const_set(:MD5, Digest::MD5)
1294
1294
  ChefConfig.logger.debug "FIPS mode is enabled."
1295
1295
  end
1296
1296
  end
@@ -15,5 +15,5 @@
15
15
 
16
16
  module ChefConfig
17
17
  CHEFCONFIG_ROOT = File.expand_path("..", __dir__)
18
- VERSION = "17.9.18".freeze
18
+ VERSION = "17.9.26".freeze
19
19
  end
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: 17.9.18
4
+ version: 17.9.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-23 00:00:00.000000000 Z
11
+ date: 2022-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-utils
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 17.9.18
19
+ version: 17.9.26
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 17.9.18
26
+ version: 17.9.26
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mixlib-shellout
29
29
  requirement: !ruby/object:Gem::Requirement