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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 949f3eacf9e3a73019fe1eff698d8c1690a15403
4
- data.tar.gz: 7db5b53496275ef2acaa4dee0b0846da265e75f6
3
+ metadata.gz: d84b7bb9847875866c918f8fa56fd289dddbfddb
4
+ data.tar.gz: 848f2e8d01da08ed7b56a95f36fbb32152f0aa99
5
5
  SHA512:
6
- metadata.gz: f1bb753e6f199f893b2013ae73c2c4b5d19da7d8bcab9a839b6fbfa8eec86c0bd3b33f366b4e66ef5fe84c78e37ffaa7a0cead736f0349439e8ad6c68fd840e2
7
- data.tar.gz: 29466c56b490efa70680acd7a4f34d9af1e3f9c68593067402d7b121402987b9e9d9f86e0c314eb9a1660eeb41536d3254a349de92f9f64eabe01d4a5b7eeaa3
6
+ metadata.gz: f2d03311ae226ba5cb3fe8fcca6e82d9c49009eb5ec603ad1afdbfaf0865e80ebf758ef4cfcb25481e302c15610cadd54b6f288aae5de44362fb082fe9ad9733
7
+ data.tar.gz: e71345bd432d9c10df5e4da666b2a526b50b0b5c081e62ca4f3360854930a2f765396b2a6eb92d10fe2720275d27006786d3f8b4bc211c6ba5c4208a1f6c4ad4
@@ -1,8 +1,15 @@
1
1
  # Change Log
2
2
 
3
- ## [0.0.1](https://github.com/cheeseplus/bento-ya/tree/0.0.1) (2016-12-19)
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
- - let there be files [\#1](https://github.com/cheeseplus/bento-ya/pull/1) ([cheeseplus](https://github.com/cheeseplus))
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)*
@@ -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 = "http://cheeseplus.github.io/bento-ya"
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"
@@ -102,27 +102,31 @@ module Common
102
102
  }
103
103
  ver_hash.each do |tool, command|
104
104
  cmd = Mixlib::ShellOut.new(command)
105
- cmd.run_command
106
- case tool
107
- when /parallels/
108
- ver = cmd.stdout.split(' ')[2]
109
- # hash = cmd.stdout.split(' ')[3]
110
- # ver = "#{semver} #{hash}"
111
- when /fusion/
112
- ver = cmd.stderr.split(' ')[5]
113
- # hash = cmd.stderr.split(' ')[6].gsub(/^build-/,'')
114
- # ver = "#{semver} \(#{hash}\)"
115
- when /vagrant/
116
- semver = cmd.stdout.split(' ')[1]
117
- ver = "#{semver}"
118
- when /virtualbox/
119
- ver = cmd.stdout.split('r')[0]
120
- # hash = cmd.stdout.split('r')[1].gsub(/\n/,'')
121
- # ver = "#{semver} \(#{hash}\)"
122
- else
123
- ver = cmd.stdout.split("\n")[0]
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
@@ -1,3 +1,3 @@
1
1
  module Bento
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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: 2016-12-19 00:00:00.000000000 Z
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: http://cheeseplus.github.io/bento-ya
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.5.1
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