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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ecaa8915b2caba7f9a5cf72b0764b911232a9ed4
4
- data.tar.gz: b993b484009f8d4d27b18d3dbb3a92e6d8661273
3
+ metadata.gz: 0226a9c98f63d4bfd37c02adce30b7dda2cff0eb
4
+ data.tar.gz: dfd150a5b0684e06a2544809f7871987fe577c74
5
5
  SHA512:
6
- metadata.gz: c661c621177bbe5010f31245662b6481a09e01e0f9dbfb67f706bc0ff6aa292c337cc15d8200dd2c761798f2561e4d0230aee57e0facb648118d38aefeec37ee
7
- data.tar.gz: f28da052b3f374e165e54161151cd9b3ae858b36579aa81038e944b826cf3037ac4f9c5b2bc0948d7e0fce8da717a9dea6c70e54d5dd7e8e2123464be3ee42db
6
+ metadata.gz: c7e3f9af2fa04cab0cd75ba170d12639d038cdc835842dbb82d3934efb716d62b679ad5eeb65e693ba9583dab2cbe47a3fc75c426ab184ab9e4a29b810030163
7
+ data.tar.gz: a085d3ff04f103fb71fbf3eb02359fe57dbd52d260da6649e9da284ae9c8ae157a85e8107c8a3522bf43a64b3257c58efd1fc8afd9be77ad9e95e5a889cb2e99
@@ -1,4 +1,7 @@
1
1
  language: ruby
2
2
  sudo: false
3
3
  rvm:
4
- - 2.2.1
4
+ - 2.2
5
+ - 2.1
6
+ - 1.9.3
7
+ - ruby-head
@@ -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
- @nightly = false
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
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Install
3
- VERSION = "0.5.0"
3
+ VERSION = "0.6.0"
4
4
  end
5
5
  end
@@ -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.5.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-07-31 00:00:00.000000000 Z
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: 2.0.0
88
+ version: '0'
89
89
  required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  requirements:
91
91
  - - ">="