mixlib-install 3.12.15 → 3.12.20

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: 7a21f92ea82f18b67b83b117f0acd51b14651a57d0a9f5ae1651fc1e38364122
4
- data.tar.gz: 74e44ce180f1e6ec62caa06901b9ef8fe479ef2e540b3d7dda69ccc15fc8ad31
3
+ metadata.gz: 3b7e852271e0ff401f9ecd64f0713df06223310306fcab1bc2ea7f20d155da4f
4
+ data.tar.gz: 4cf638db66178b2436dcec6f35a55965af55686df9957d7382fcd91c206e2e02
5
5
  SHA512:
6
- metadata.gz: e1aae0835dfd3a6fc198b7be66280414f90c755fdf4dbc5f3c9455b671c6ddba99b81a644911c109c845624cbea1ca959b8a264235e3545a5b6f9a81b14422bb
7
- data.tar.gz: 92210d23a37f1b09d908aeb2b3af418b806f9a75515718b86c94a357c83fb8d30ef20db6f28b41e8583f8b944bc3b4e8b658e6147a7321774d56849f9ca8ba39
6
+ metadata.gz: a2b192a68c026200b142ed7e4d9c99bb8f5a133330613abe756bff5aab6a38f1f76e3e418c6f8fd0f277acfcab1cc4375cd418e41afe097f59f50d13bd6ad485
7
+ data.tar.gz: 1a2781e80f15c58942a06874cf5eb3f534dec47ead6121ea7eaf63b9e0de46b1e8893ec04d8c77a509b258bfaa69eca7395839fd8b3fb568c64ea1377182de46
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}
@@ -14,7 +14,7 @@
14
14
  # $filetype: Type of the file downloaded.
15
15
  ############
16
16
 
17
- filename=`echo $download_url | sed -e 's/?.*//'` | sed -e 's/^.*\///'
17
+ filename=`echo $download_url | sed -e 's/?.*//' | sed -e 's/^.*\///'`
18
18
  filetype=`echo $filename | sed -e 's/^.*\.//'`
19
19
 
20
20
  # use either $tmp_dir, the provided directory (-d) or the provided filename (-f)
@@ -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
@@ -20,7 +20,7 @@ function Get-PlatformVersion {
20
20
  }
21
21
 
22
22
  function Get-PlatformArchitecture {
23
- if ((Get-Win32OS).osarchitecture -like '64-bit') {
23
+ if ((Get-Win32OS).osarchitecture -match '64') {
24
24
  $architecture = 'x86_64'
25
25
  } else {
26
26
  $architecture = 'i386'
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Install
3
- VERSION = "3.12.15"
3
+ VERSION = "3.12.20"
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.15
4
+ version: 3.12.20
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-13 00:00:00.000000000 Z
12
+ date: 2022-08-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mixlib-shellout