bento-ya 0.1.1 → 0.1.2
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 +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +1 -1
- data/lib/bento/build.rb +0 -2
- data/lib/bento/cli.rb +2 -2
- data/lib/bento/normalize.rb +1 -2
- data/lib/bento/test.rb +4 -5
- data/lib/bento/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9b3dfbe078080f1c1cd6bd1aaf4c8e619b7289eb
|
|
4
|
+
data.tar.gz: 205426adb44f3216a7f4154c1c72ae839dd6dce4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a61a6893e6c776a58a87f7672638829d36f8b74bfa9af504d992335cbdc8bd2f7a5ee563e3a0166a01bd041567b5222dfcda047452af3fd7d446d3c6cc00a2fc
|
|
7
|
+
data.tar.gz: 6fbf78fa0ac69308480524c64e24d34ece4fd6b16b147f41f0d5cf8fc76057c74722e7a87106faafa4ff80157260a64278d2323722adf0c96b593ce4705ccc07
|
data/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v0.1.2](https://github.com/cheeseplus/bento-ya/tree/v0.1.2) (2017-07-05)
|
|
4
|
+
[Full Changelog](https://github.com/cheeseplus/bento-ya/compare/v0.1.1...v0.1.2)
|
|
5
|
+
|
|
6
|
+
**Merged pull requests:**
|
|
7
|
+
|
|
8
|
+
- Cleanup some requires [\#20](https://github.com/cheeseplus/bento-ya/pull/20) ([cheeseplus](https://github.com/cheeseplus))
|
|
9
|
+
- Testing of shared folder now default, option inverted [\#18](https://github.com/cheeseplus/bento-ya/pull/18) ([cheeseplus](https://github.com/cheeseplus))
|
|
10
|
+
- Fix typo in README.md [\#17](https://github.com/cheeseplus/bento-ya/pull/17) ([ffmike](https://github.com/ffmike))
|
|
11
|
+
|
|
3
12
|
## [v0.1.1](https://github.com/cheeseplus/bento-ya/tree/v0.1.1) (2017-07-03)
|
|
4
13
|
[Full Changelog](https://github.com/cheeseplus/bento-ya/compare/v0.1.0...v0.1.1)
|
|
5
14
|
|
|
6
15
|
**Merged pull requests:**
|
|
7
16
|
|
|
17
|
+
- Release 0.1.1 [\#16](https://github.com/cheeseplus/bento-ya/pull/16) ([cheeseplus](https://github.com/cheeseplus))
|
|
8
18
|
- Need mixlib-shellout [\#15](https://github.com/cheeseplus/bento-ya/pull/15) ([cheeseplus](https://github.com/cheeseplus))
|
|
9
19
|
- Fix renamed method [\#14](https://github.com/cheeseplus/bento-ya/pull/14) ([cheeseplus](https://github.com/cheeseplus))
|
|
10
20
|
|
data/README.md
CHANGED
data/lib/bento/build.rb
CHANGED
data/lib/bento/cli.rb
CHANGED
|
@@ -150,8 +150,8 @@ class Options
|
|
|
150
150
|
parser: OptionParser.new { |opts|
|
|
151
151
|
opts.banner = "Usage: #{NAME} test [options]"
|
|
152
152
|
|
|
153
|
-
opts.on("-
|
|
154
|
-
options.
|
|
153
|
+
opts.on("--no-shared-folder", "Disable shared folder testing") do |opt|
|
|
154
|
+
options.no_shared = opt
|
|
155
155
|
end
|
|
156
156
|
|
|
157
157
|
opts.on("-p", "--provisioner PROVISIONER", "Use a specfic provisioner") do |opt|
|
data/lib/bento/normalize.rb
CHANGED
data/lib/bento/test.rb
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
require 'bento/common'
|
|
2
|
-
require 'kitchen'
|
|
3
2
|
|
|
4
3
|
class TestRunner
|
|
5
4
|
include Common
|
|
@@ -8,7 +7,7 @@ class TestRunner
|
|
|
8
7
|
|
|
9
8
|
def initialize(opts)
|
|
10
9
|
@debug = opts.debug
|
|
11
|
-
@
|
|
10
|
+
@no_shared = opts.no_shared
|
|
12
11
|
@provisioner = opts.provisioner.nil? ? "shell" : opts.provisioner
|
|
13
12
|
end
|
|
14
13
|
|
|
@@ -43,10 +42,10 @@ class TestRunner
|
|
|
43
42
|
md = box_metadata(md_json)
|
|
44
43
|
@boxname = md['name']
|
|
45
44
|
@providers = md['providers']
|
|
46
|
-
@share_disabled =
|
|
45
|
+
@share_disabled = no_shared || /freebsd/.match(boxname) ? true : false
|
|
47
46
|
|
|
48
|
-
|
|
49
|
-
kitchen_cfg = ERB.new(File.read(
|
|
47
|
+
dir = "#{File.expand_path("../../", File.dirname(__FILE__))}/templates"
|
|
48
|
+
kitchen_cfg = ERB.new(File.read(dir + '/kitchen.yml.erb'), nil, '-').result(binding)
|
|
50
49
|
File.open(".kitchen.yml", "w") { |f| f.puts kitchen_cfg }
|
|
51
50
|
|
|
52
51
|
kitchen_test = Mixlib::ShellOut.new("kitchen test", :timeout => 900, live_stream: STDOUT)
|
data/lib/bento/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bento-ya
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Seth Thomas
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-07-
|
|
11
|
+
date: 2017-07-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|