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 +4 -4
- data/lib/chef-config/config.rb +5 -5
- data/lib/chef-config/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3dfe4446443351c442002c58c2be32f356f6717b673273495bf0d5ac392ecd66
|
4
|
+
data.tar.gz: 7a0ac610c10a2c409c65efcfa5f6b5c79e86d0273633937b25ae1dae686952a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f305e339710b13d6d464c5648b02cae8d2e3754a0a6d671afcf1fd73f9363cf35ebe7a908e7dc5c1e863c13c160c04fae62a203dfc59137e5bfb8a1b6e2195b
|
7
|
+
data.tar.gz: 7ff58add4adfb10c48ea2076d8519c4f32da1c52809e8a6ff82bf3840eb719819d427f16fa729d35705c22a86057e938ffab2b144b77b59f81381f4f7be092e0
|
data/lib/chef-config/config.rb
CHANGED
@@ -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.
|
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?(
|
1291
|
-
Digest.const_set(
|
1292
|
-
OpenSSL::Digest.send(:remove_const, "MD5") if OpenSSL::Digest.const_defined?(
|
1293
|
-
OpenSSL::Digest.const_set(
|
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
|
data/lib/chef-config/version.rb
CHANGED
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.
|
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:
|
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.
|
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.
|
26
|
+
version: 17.9.26
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mixlib-shellout
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|