mixlib-install 3.12.7 → 3.12.11

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: 601807500297868555334b6b675f76e7f47e82b06508c25034b7104c8d2d6310
4
- data.tar.gz: 505719449732303c18b2b6c1ca892f61bcc9c2bfb249e3b10f7073f0db675e68
3
+ metadata.gz: fe13831f6e3d7b294b7e1882f3ce89650a827683efafcd59950ecf6021d05142
4
+ data.tar.gz: b123da4632d197b6adf060d5c2ee8287c58bc48134259634bcebeddd7753c06c
5
5
  SHA512:
6
- metadata.gz: 28787830d0a413c5698fd7889562f9210d8ab3f6ae9d94274f02c015280ce6e1914413e18a89036306d7f5e3ac12fd24a9401b891fde2c7de8f33a98183e4bc3
7
- data.tar.gz: 0d3ec51ff6c6dbaa499eba0cf95ffd9e66881381543b6cabe257539901ad2e1cf3ca895768729d2cadc7bd8a250f9925ecfe15e88bc59f7355469ee105a6f194
6
+ metadata.gz: b6d552bafb38bdd3095798ebf1d87b8dfe904e4531a5a67f111dc0ed7eede36afb68ce8ad28c17f0b8099ebf00a926b7c86869e7513d4ce49d8f61b092c2975e
7
+ data.tar.gz: 427f67b3eb3e4c9051eb81e614840bab0f57393152b00fd44af46c5858bdcd4c1deafa11b1a05948ad7fdc4840ced78934493782ece7faf801b76a1b91640c46
data/Gemfile CHANGED
@@ -4,31 +4,28 @@ gemspec
4
4
 
5
5
  gem "chef-utils", "= 16.6.14" if RUBY_VERSION < "2.6.0"
6
6
 
7
- group :docs do
8
- gem "github-markup"
9
- gem "redcarpet"
10
- gem "yard"
11
- end
12
-
13
7
  group :test do
14
8
  gem "rake"
15
9
  gem "rspec"
16
10
  gem "vcr"
11
+ gem "webrick"
17
12
  gem "webmock", "~> 3.4"
18
13
  gem "aruba", "~> 0.14"
19
14
  gem "cucumber", "~> 1.3.20"
20
- gem "climate_control"
15
+ if RUBY_VERSION < "2.5.0"
16
+ gem "climate_control", "= 0.1.0"
17
+ else
18
+ gem "climate_control", "~> 1.0"
19
+ end
21
20
  end
22
21
 
23
- if RUBY_VERSION =~ /^2/
24
- group :chefstyle do
25
- gem "chefstyle", "~> 0.4.0"
26
- end
22
+ # use old chefstyle to support TargetRubyVersion of 1.9
23
+ group :chefstyle do
24
+ gem "chefstyle", "~> 0.4.0"
27
25
  end
28
26
 
29
27
  group :debug do
30
28
  gem "pry"
31
29
  gem "pry-byebug"
32
- gem "pry-stack_explorer", "~> 0.4.0" # pin until we drop ruby < 2.6
33
30
  gem "rb-readline"
34
31
  end
data/Rakefile CHANGED
@@ -40,13 +40,6 @@ task "matrix" do
40
40
  end
41
41
  end
42
42
 
43
- begin
44
- require "yard"
45
- YARD::Rake::YardocTask.new(:docs)
46
- rescue LoadError
47
- puts "yard is not available. bundle install first to make sure all dependencies are installed."
48
- end
49
-
50
43
  task :console do
51
44
  require "irb"
52
45
  require "irb/completion"
@@ -14,7 +14,7 @@
14
14
  # $filetype: Type of the file downloaded.
15
15
  ############
16
16
 
17
- filename=`echo $download_url | 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)
@@ -73,7 +73,7 @@ function Install-Project {
73
73
 
74
74
  $cached_installer_available = $false
75
75
  $verify_checksum = $true
76
-
76
+
77
77
  if (-not [string]::IsNullOrEmpty($download_url_override)) {
78
78
  $download_url = $download_url_override
79
79
  $sha256 = $checksum
@@ -91,7 +91,7 @@ function Install-Project {
91
91
  }
92
92
  }
93
93
  else {
94
- $filename = ($download_url -split '/')[-1]
94
+ $filename = (([System.Uri]$download_url).AbsolutePath -split '/')[-1]
95
95
  }
96
96
  Write-Verbose "Download directory: $download_directory"
97
97
  Write-Verbose "Filename: $filename"
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Install
3
- VERSION = "3.12.7"
3
+ VERSION = "3.12.11"
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.7
4
+ version: 3.12.11
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-02-19 00:00:00.000000000 Z
12
+ date: 2021-03-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mixlib-shellout