boxen 3.1.3 → 4.0.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 +2 -4
- data/boxen.gemspec +3 -3
- data/lib/boxen/preflight/os.rb +16 -3
- data/script/release +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c05d3a993c10198fe67c871e6bde6d7fce5c9d016a07e39c9b381b3c6a9aef40
|
4
|
+
data.tar.gz: 7739dcbf6cbf52fbda1e3bfab12f44245c6c8056ced491beecf1b8b11efe886e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26fa5b4865dda2d229db26795d45feb1aa284b7dc616d4a493fbe251d1fa572eeb5b1473929d5727383aefa5417accbbd9e39b3edc4610302d1429db81a786b3
|
7
|
+
data.tar.gz: 041323ee51be109a9b76a84ac9a6e644d847c5de5f600c3dfacce346ba7762c31c4c23f255a16f808a621c9e1b6efacc10940f0a27022699cec393910dc87cdb
|
data/.travis.yml
CHANGED
data/boxen.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = "boxen"
|
5
|
-
gem.version = "
|
5
|
+
gem.version = "4.0.0"
|
6
6
|
# Thanks go out to the previous maintainers John Barnette, Will
|
7
7
|
# Farrington, David Goodlad and Mike McQuaid for getting this project
|
8
8
|
# to where it is today.
|
@@ -18,12 +18,12 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
|
20
20
|
gem.add_dependency "ansi", "~> 1.4"
|
21
|
-
gem.add_dependency "hiera", "~>
|
21
|
+
gem.add_dependency "hiera", "~> 3.0"
|
22
22
|
gem.add_dependency "highline", "~> 1.6.0"
|
23
23
|
gem.add_dependency "json_pure", [">= 1.7.7", "< 2.0"]
|
24
24
|
gem.add_dependency "librarian-puppet", "~> 2.2"
|
25
25
|
gem.add_dependency "octokit", "~> 2.7", ">= 2.7.1"
|
26
|
-
gem.add_dependency "puppet", "~>
|
26
|
+
gem.add_dependency "puppet", "~> 4.0"
|
27
27
|
|
28
28
|
gem.add_development_dependency "minitest", "4.4.0" # pinned for mocha
|
29
29
|
gem.add_development_dependency "mocha", "~> 0.13"
|
data/lib/boxen/preflight/os.rb
CHANGED
@@ -1,18 +1,31 @@
|
|
1
1
|
require "boxen/preflight"
|
2
2
|
|
3
3
|
class Boxen::Preflight::OS < Boxen::Preflight
|
4
|
-
SUPPORTED_RELEASES = %w(10.8 10.9 10.10 10.11 10.12)
|
4
|
+
SUPPORTED_RELEASES = %w(10.8 10.9 10.10 10.11 10.12 10.13)
|
5
5
|
|
6
6
|
def ok?
|
7
7
|
osx? && (skip_os_check? || supported_release?)
|
8
8
|
end
|
9
9
|
|
10
10
|
def run
|
11
|
-
abort
|
11
|
+
abort <<~HEREDOC
|
12
|
+
You must be running one of the following Mac OS versions:
|
13
|
+
|
14
|
+
#{pretty_list_output(SUPPORTED_RELEASES)}
|
15
|
+
|
16
|
+
While not recommended, it is possible to ignore this warning and
|
17
|
+
continue anyway. Just prefix your Boxen command with
|
18
|
+
`SKIP_OS_CHECK=1`.
|
19
|
+
HEREDOC
|
12
20
|
end
|
13
21
|
|
14
22
|
private
|
15
23
|
|
24
|
+
def pretty_list_output(values)
|
25
|
+
output = values.map { |value| "- #{value}" }
|
26
|
+
output.join("\n")
|
27
|
+
end
|
28
|
+
|
16
29
|
def osx?
|
17
30
|
`uname -s`.chomp == "Darwin"
|
18
31
|
end
|
@@ -26,7 +39,7 @@ class Boxen::Preflight::OS < Boxen::Preflight
|
|
26
39
|
def current_release
|
27
40
|
@current_release ||= `sw_vers -productVersion`
|
28
41
|
end
|
29
|
-
|
42
|
+
|
30
43
|
def skip_os_check?
|
31
44
|
ENV['SKIP_OS_CHECK'] == '1'
|
32
45
|
end
|
data/script/release
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boxen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Bednarz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ansi
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '3.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '3.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: highline
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,14 +112,14 @@ dependencies:
|
|
112
112
|
requirements:
|
113
113
|
- - ~>
|
114
114
|
- !ruby/object:Gem::Version
|
115
|
-
version: '
|
115
|
+
version: '4.0'
|
116
116
|
type: :runtime
|
117
117
|
prerelease: false
|
118
118
|
version_requirements: !ruby/object:Gem::Requirement
|
119
119
|
requirements:
|
120
120
|
- - ~>
|
121
121
|
- !ruby/object:Gem::Version
|
122
|
-
version: '
|
122
|
+
version: '4.0'
|
123
123
|
- !ruby/object:Gem::Dependency
|
124
124
|
name: minitest
|
125
125
|
requirement: !ruby/object:Gem::Requirement
|