mixlib-install 3.12.16 → 3.12.19

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec3861ccec397037213914d6771aa0aae521352ddb66528c60c10671249d197c
4
- data.tar.gz: 24971de31f5b8d96c10e2f8d1e1b7c71b1a3f9145b8d59f9b1d866b798b8ab07
3
+ metadata.gz: 19d5dda94374a1b0fe5e627f460c40dece9c0b2309dfda3fcb9a9ade5f62465c
4
+ data.tar.gz: 673be23ef2a7b4f34cc308a9995ff8a731b65ff958b8336bacdea3e1be516ce7
5
5
  SHA512:
6
- metadata.gz: f4f0d069938b08e3d2e9d50f02d46cd71d85d16b6f0faa47625ac4bdf18548aec873c6c1db9ca4d14d741f0832682a90de1fdc507593b5dd454263eda6db170a
7
- data.tar.gz: 8d1e2cc4d0c9775ddcf120f496648e4ee759c092bfff38d7bafc5402f353c15c0b49c1d03135b8401b4eef51bf902b3932268a5a79967171d99b08a8802960c1
6
+ metadata.gz: 3444cbf76a4eae7dcd9345d082dd362124180df65059ea225d85dd6544665a129a23bd3c95b97da39fd0427de8896d7a081e518e4589cb12afe0629966180123
7
+ data.tar.gz: 17fca79670b37d4f2983d387acd022e9576ee29d7220e61b52bb65d53d0d71342fb5106f4dc51e64dce7ea99524700056d4d87bf9c71980824ea56d7645eeb1b
data/Gemfile CHANGED
@@ -7,16 +7,16 @@ gem "chef-utils", "= 16.6.14" if RUBY_VERSION < "2.6.0"
7
7
  group :test do
8
8
  gem "rake"
9
9
  gem "rspec"
10
- gem "vcr"
11
10
  gem "webrick"
12
11
  gem "webmock", "~> 3.4"
13
- gem "aruba", "~> 0.14"
14
- gem "cucumber", "~> 1.3.20"
15
12
  gem "contracts", "~> 0.16.0" # this entry can go away when ruby < 3 support is gone
16
- if RUBY_VERSION < "2.5.0"
13
+ if RUBY_VERSION < "2.6.0"
17
14
  gem "climate_control", "= 0.1.0"
15
+ gem "vcr", "= 6.0.0"
16
+ gem "mixlib-shellout", "= 3.2.5"
18
17
  else
19
18
  gem "climate_control", "~> 1.0"
19
+ gem "vcr"
20
20
  end
21
21
  end
22
22
 
data/Rakefile CHANGED
@@ -48,4 +48,4 @@ task :console do
48
48
  IRB.start
49
49
  end
50
50
 
51
- task default: %w{style unit functional}
51
+ task default: %w{unit functional}
@@ -59,13 +59,18 @@ elif test -f "/etc/system-release"; then
59
59
  platform=`sed 's/^\(.\+\) release.\+/\1/' /etc/system-release | tr '[A-Z]' '[a-z]'`
60
60
  platform_version=`sed 's/^.\+ release \([.0-9]\+\).*/\1/' /etc/system-release | tr '[A-Z]' '[a-z]'`
61
61
  case $platform in amazon*) # sh compat method of checking for a substring
62
- platform="el"
63
-
64
62
  . /etc/os-release
65
63
  platform_version=$VERSION_ID
66
- if test "$platform_version" = "2"; then
64
+
65
+ if test "$platform_version" = "2022"; then
66
+ platform="amazon"
67
+ platform_version="2022"
68
+ elif test "$platform_version" = "2"; then
69
+ platform="el"
67
70
  platform_version="7"
68
71
  else
72
+ platform="el"
73
+
69
74
  # VERSION_ID will match YYYY.MM for Amazon Linux AMIs
70
75
  platform_version="6"
71
76
  fi
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Install
3
- VERSION = "3.12.16"
3
+ VERSION = "3.12.19"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mixlib-install
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.16
4
+ version: 3.12.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thom May
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-08-14 00:00:00.000000000 Z
12
+ date: 2022-06-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mixlib-shellout