mixlib-install 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -1
- data/lib/mixlib/install.rb +3 -3
- data/lib/mixlib/install/version.rb +1 -1
- data/mixlib-install.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0226a9c98f63d4bfd37c02adce30b7dda2cff0eb
|
4
|
+
data.tar.gz: dfd150a5b0684e06a2544809f7871987fe577c74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7e3f9af2fa04cab0cd75ba170d12639d038cdc835842dbb82d3934efb716d62b679ad5eeb65e693ba9583dab2cbe47a3fc75c426ab184ab9e4a29b810030163
|
7
|
+
data.tar.gz: a085d3ff04f103fb71fbf3eb02359fe57dbd52d260da6649e9da284ae9c8ae157a85e8107c8a3522bf43a64b3257c58efd1fc8afd9be77ad9e95e5a889cb2e99
|
data/.travis.yml
CHANGED
data/lib/mixlib/install.rb
CHANGED
@@ -66,13 +66,13 @@ module Mixlib
|
|
66
66
|
sudo_command)
|
67
67
|
|
68
68
|
def initialize(version, powershell = false, opts = {})
|
69
|
-
@version = version
|
69
|
+
@version = version || "latest"
|
70
70
|
@powershell = powershell
|
71
71
|
@http_proxy = nil
|
72
72
|
@https_proxy = nil
|
73
73
|
@install_flags = nil
|
74
74
|
@prerelease = false
|
75
|
-
@
|
75
|
+
@nightlies = false
|
76
76
|
@endpoint = "metadata"
|
77
77
|
@omnibus_url = "https://www.chef.io/chef/install.sh"
|
78
78
|
@use_sudo = true
|
@@ -104,7 +104,7 @@ module Mixlib
|
|
104
104
|
# @return [String] shell variable lines
|
105
105
|
# @api private
|
106
106
|
def install_command_vars_for_bourne
|
107
|
-
flags = %w[latest true].include?(version) ? "" : "-v #{CGI.escape(version)}"
|
107
|
+
flags = %w[latest true nightlies].include?(version) ? "" : "-v #{CGI.escape(version)}"
|
108
108
|
flags << " " << "-n" if nightlies
|
109
109
|
flags << " " << "-p" if prerelease
|
110
110
|
flags << " " << install_flags if install_flags
|
data/mixlib-install.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
-
spec.required_ruby_version = ">= 2.0.0"
|
20
|
+
# spec.required_ruby_version = ">= 2.0.0"
|
21
21
|
|
22
22
|
spec.add_development_dependency "bundler"
|
23
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mixlib-install
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thom May
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -85,7 +85,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
85
85
|
requirements:
|
86
86
|
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version:
|
88
|
+
version: '0'
|
89
89
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
90
|
requirements:
|
91
91
|
- - ">="
|