mixlib-install 1.0.8 → 1.0.9

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
  SHA1:
3
- metadata.gz: 87dfa89ef1371eab40d41a59503445ae02e47305
4
- data.tar.gz: 20795a2be73611e6e4ebfd23de3871558f5593ff
3
+ metadata.gz: c63e09a7ebe4166626811ca0456ea1eff7af1828
4
+ data.tar.gz: e5721c290d6d34796f86c9ad6303432265ff6128
5
5
  SHA512:
6
- metadata.gz: a514cfc57cdca321801d2dacf32b3fa3c57f5ec51f99bd492137aca5720e7163ae4159c5e16fe3aa9a9c635af7f9a395d58d7512b108e419daf5b547ccb8354c
7
- data.tar.gz: 7fdae041f9eb488546c010e215d40e9f00eeba0d6247b2b35a3d0dd381744f2153a4b0a114507f46e206f7332b122c11af00dec238555e30dcfc116c9716a040
6
+ metadata.gz: 988bd0f5658f65b6f52a2dcbf7147385a6556cb288ad992b9f8b35fa04d45e7da645a43ba860bbfa6ee0a4a185586bd26d2bf32543d128cb6e4f7d4ec3fcfa9a
7
+ data.tar.gz: 6a929fef500e497365835f01aaf4f15b1acd1a300c454604c186d26a3b9868f56e21e5d989054c6d5ecddcc9ae2ba9fbda074a1261741d979ad21173e6f97565
@@ -1,47 +1,37 @@
1
1
  # Change Log
2
2
 
3
+ ## [1.0.9]
4
+ - Update platform detection scripts to recognize debian 8 correctly.
5
+
3
6
  ## [1.0.8]
4
- ### Fixed
5
7
  - Resolving artifacts from unstable channel properly map the product name to the relative package name when querying Artifactory.
6
8
 
7
9
  ## [1.0.7]
8
- ### Changed
9
10
  - Relax all gemspec dependency versions
10
11
 
11
12
  ## [1.0.6]
12
- ### Changed
13
13
  - Exclude metadata.json files from Artifactory package queries
14
14
 
15
15
  ## [1.0.5]
16
- ### Fixed
17
16
  - Return chef.bintray.com based urls for el5 artifacts.
18
17
 
19
18
  ## [1.0.4]
20
- ### Fixed
21
19
  - use `SHA256Managed` instead of `SHA256CryptoServiceProvider` to be compatible with .Net 2.0 which is the default runtime on Windows 2008 R2
22
20
 
23
21
  ## [1.0.3]
24
- ### Changed
25
22
  - Artifactory credentials are no longer required. A designated account has been hard-coded as default.
26
23
  - Exception is raised if Bintray can not find the version for channel/product.
27
-
28
- ### Fixed
29
24
  - freebsd 9 artifacts return chef.bintray.com based urls
30
25
 
31
26
  ## [1.0.2]
32
- ### Added
33
27
  - Use 32 bit windows artifacts for 64-bit, when there is no 64-bit native artifact.
34
28
 
35
29
  ## [1.0.1]
36
- ### Fixed
37
30
  - detect_platform method for Windows
38
-
39
- ### Changed
40
31
  - added stopaction to kick in the catch statement if manifest is missing
41
32
  - wait for msiexec to exit
42
33
  - Replace md5sum checks with sha256 checks in install_command.ps1
43
34
 
44
35
  ## [1.0.0]
45
- ### Added
46
36
  - Ability to query product artifacts from multiple channels
47
37
  - Ability to generate installation scripts for `sh` and `ps1`
@@ -130,12 +130,14 @@ case $platform in
130
130
  platform_version=$major_version
131
131
  ;;
132
132
  "debian")
133
- # FIXME: remove client-side yolo here
134
- case $major_version in
135
- "5") platform_version="6";; # FIXME: need to port this "reverse-yolo" into platform.rb
136
- "6") platform_version="6";;
137
- "7") platform_version="6";;
138
- esac
133
+ if test "x$major_version" = "x5"; then
134
+ # This is here for potential back-compat.
135
+ # We do not have 5 in versions we publish for anymore but we
136
+ # might have it for earlier versions.
137
+ platform_version="6"
138
+ else
139
+ platform_version=$major_version
140
+ fi
139
141
  ;;
140
142
  "freebsd")
141
143
  platform_version=$major_version
@@ -184,7 +184,7 @@ module Mixlib
184
184
 
185
185
  # @return the correct Chef Omnitruck API metadata endpoint, based on project
186
186
  def metadata_endpoint_from_project(project = nil)
187
- if project.nil? || project.downcase == "chef"
187
+ if project.nil? || project.casecmp("chef") == 0
188
188
  "metadata"
189
189
  else
190
190
  "metadata-#{project.downcase}"
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Install
3
- VERSION = "1.0.8"
3
+ VERSION = "1.0.9"
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: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thom May
@@ -222,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
222
222
  version: '0'
223
223
  requirements: []
224
224
  rubyforge_project:
225
- rubygems_version: 2.4.5
225
+ rubygems_version: 2.6.3
226
226
  signing_key:
227
227
  specification_version: 4
228
228
  summary: A mixin to help with omnitruck installs