bento-ya 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -3
- data/bento-ya.gemspec +1 -1
- data/lib/bento/common.rb +24 -20
- data/lib/bento/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d84b7bb9847875866c918f8fa56fd289dddbfddb
|
4
|
+
data.tar.gz: 848f2e8d01da08ed7b56a95f36fbb32152f0aa99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2d03311ae226ba5cb3fe8fcca6e82d9c49009eb5ec603ad1afdbfaf0865e80ebf758ef4cfcb25481e302c15610cadd54b6f288aae5de44362fb082fe9ad9733
|
7
|
+
data.tar.gz: e71345bd432d9c10df5e4da666b2a526b50b0b5c081e62ca4f3360854930a2f765396b2a6eb92d10fe2720275d27006786d3f8b4bc211c6ba5c4208a1f6c4ad4
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,15 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [
|
3
|
+
## [v0.0.2](https://github.com/cheeseplus/bento-ya/tree/v0.0.2) (2017-02-18)
|
4
|
+
[Full Changelog](https://github.com/cheeseplus/bento-ya/compare/v0.0.1...v0.0.2)
|
5
|
+
|
6
|
+
**Improvements:**
|
7
|
+
|
8
|
+
- Deal with executables missing [\#5](https://github.com/cheeseplus/bento-ya/pull/5) ([karcaw](https://github.com/karcaw))
|
9
|
+
|
10
|
+
## [v0.0.1](https://github.com/cheeseplus/bento-ya/tree/v0.0.1) (2016-12-19)
|
4
11
|
**Merged pull requests:**
|
5
12
|
|
6
|
-
-
|
13
|
+
- Initial release
|
7
14
|
|
8
|
-
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
15
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/bento-ya.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.email = ["sthomas@chef.io"]
|
12
12
|
gem.description = "bento-ya builds bento boxes"
|
13
13
|
gem.summary = "A RubyGem for managing chef/bento builds"
|
14
|
-
gem.homepage = "
|
14
|
+
gem.homepage = "https://github.com/cheeseplus/bento-ya"
|
15
15
|
|
16
16
|
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
17
17
|
gem.bindir = "bin"
|
data/lib/bento/common.rb
CHANGED
@@ -102,27 +102,31 @@ module Common
|
|
102
102
|
}
|
103
103
|
ver_hash.each do |tool, command|
|
104
104
|
cmd = Mixlib::ShellOut.new(command)
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
105
|
+
begin
|
106
|
+
cmd.run_command
|
107
|
+
case tool
|
108
|
+
when /parallels/
|
109
|
+
ver = cmd.stdout.split(' ')[2]
|
110
|
+
# hash = cmd.stdout.split(' ')[3]
|
111
|
+
# ver = "#{semver} #{hash}"
|
112
|
+
when /fusion/
|
113
|
+
ver = cmd.stderr.split(' ')[5]
|
114
|
+
# hash = cmd.stderr.split(' ')[6].gsub(/^build-/,'')
|
115
|
+
# ver = "#{semver} \(#{hash}\)"
|
116
|
+
when /vagrant/
|
117
|
+
semver = cmd.stdout.split(' ')[1]
|
118
|
+
ver = "#{semver}"
|
119
|
+
when /virtualbox/
|
120
|
+
ver = cmd.stdout.split('r')[0]
|
121
|
+
# hash = cmd.stdout.split('r')[1].gsub(/\n/,'')
|
122
|
+
# ver = "#{semver} \(#{hash}\)"
|
123
|
+
else
|
124
|
+
ver = cmd.stdout.split("\n")[0]
|
125
|
+
end
|
126
|
+
tool_versions[tool] = ver
|
127
|
+
rescue
|
128
|
+
tool_versions[tool] = 'None'
|
124
129
|
end
|
125
|
-
tool_versions[tool] = ver
|
126
130
|
end
|
127
131
|
tool_versions
|
128
132
|
end
|
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.0.
|
4
|
+
version: 0.0.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:
|
11
|
+
date: 2017-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -98,7 +98,7 @@ files:
|
|
98
98
|
- lib/bento/test.rb
|
99
99
|
- lib/bento/upload.rb
|
100
100
|
- lib/bento/version.rb
|
101
|
-
homepage:
|
101
|
+
homepage: https://github.com/cheeseplus/bento-ya
|
102
102
|
licenses:
|
103
103
|
- Apache-2.0
|
104
104
|
metadata: {}
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
version: '0'
|
119
119
|
requirements: []
|
120
120
|
rubyforge_project:
|
121
|
-
rubygems_version: 2.
|
121
|
+
rubygems_version: 2.6.10
|
122
122
|
signing_key:
|
123
123
|
specification_version: 4
|
124
124
|
summary: A RubyGem for managing chef/bento builds
|