boxes 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/CHANGELOG.md +7 -0
- data/boxes.gemspec +1 -1
- data/lib/boxes.rb +1 -0
- data/lib/boxes/builder.rb +7 -0
- data/lib/boxes/command/build.rb +3 -0
- data/lib/boxes/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21f9035ac63ddde3b0f4047daea626938707f069
|
4
|
+
data.tar.gz: eb5627ca8691516ac99e75bfefeff349dbea3621
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa21b325ea2836d338f2726e8f9ce58d74ece10d782a23e28bafde222b5778cd11f47339d644de4b5e5183940fe7c19541c60d3b093b41674964af2a401e51dd
|
7
|
+
data.tar.gz: c3acba77025458ccbeaaddc9ea5a33f5eff8663cf1c0da8171cb7a67b5c34a5d51db0a364f3ea7d2a8e845b7013b75f813ede24467c045d47b5be51751bdd158
|
data/.travis.yml
ADDED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 2.0.1 (18/10/2015)
|
4
|
+
|
5
|
+
* Fixes a launch exception relating to configuration.
|
6
|
+
* Adds support for Travis CI.
|
7
|
+
* Correctly sets configured environment variables should be set before running.
|
8
|
+
* Does a better job of handling errors when running builds.
|
9
|
+
|
3
10
|
## 2.0.0 (10/10/2015)
|
4
11
|
|
5
12
|
* Conversion to being a command line tool distributed through Ruby Gems.
|
data/boxes.gemspec
CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_development_dependency 'bundler', '~> 1.9'
|
33
33
|
spec.add_development_dependency 'rake', '~> 10.4'
|
34
34
|
spec.add_development_dependency 'rspec', '~> 3.3'
|
35
|
-
spec.add_development_dependency 'cucumber', '~> 1
|
35
|
+
spec.add_development_dependency 'cucumber', '~> 2.1'
|
36
36
|
spec.add_development_dependency 'aruba', '~> 0.8'
|
37
37
|
spec.add_development_dependency 'fakefs', '~> 0.6'
|
38
38
|
spec.add_development_dependency 'pry'
|
data/lib/boxes.rb
CHANGED
data/lib/boxes/builder.rb
CHANGED
@@ -41,6 +41,13 @@ module Boxes
|
|
41
41
|
f.puts rendered_template
|
42
42
|
end
|
43
43
|
|
44
|
+
# set the environment vars
|
45
|
+
Boxes.config.environment_vars.each do |e|
|
46
|
+
e.each do |k, v|
|
47
|
+
ENV[k] = v.to_s
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
44
51
|
# execute the packer command
|
45
52
|
FileUtils.chdir(Boxes.config.working_dir)
|
46
53
|
cmd = "packer build #{build_name}.json"
|
data/lib/boxes/command/build.rb
CHANGED
data/lib/boxes/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boxes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Charlton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: claide
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '1
|
89
|
+
version: '2.1'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '1
|
96
|
+
version: '2.1'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: aruba
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,6 +151,7 @@ extra_rdoc_files: []
|
|
151
151
|
files:
|
152
152
|
- ".gitignore"
|
153
153
|
- ".ruby-version"
|
154
|
+
- ".travis.yml"
|
154
155
|
- CHANGELOG.md
|
155
156
|
- Gemfile
|
156
157
|
- LICENSE
|