kitchen-appbundle-updater 0.1.2 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e56dbe5fffa487a7a5f1b1f61187e8d0b321d588
4
- data.tar.gz: c6a1621c924878767da4f112e7f9a6639715e039
3
+ metadata.gz: 407b375709486d730e813abf439ef839f3f0d3c1
4
+ data.tar.gz: b1c928f2b7f8fda1d0481955263acdfd0233e8b9
5
5
  SHA512:
6
- metadata.gz: d7ef9e87fb3cc17d0161043698c93f2cb2c2696845b04c815a258da87323a3c955b4a68f7b1322d35a055649061e0c3a9c995e052f55d56f5aa597bff58c53ba
7
- data.tar.gz: 5beeec5ee1ae206aa6290920810c68e428dbfd4ab2dac2743685383601575ded72a512642ce7f1a1d8bc3aae958b50e65854dc2e572e40059d93ca5fe1d32520
6
+ metadata.gz: a9989642aa9e9d9e3cadd716c40d3232e4921e084c36f14a6cf212be5fb0b59ef78243253aa48042dab35d9af6ad7b72f29b8a0fe06a1ba5166141ffb4cb15e6
7
+ data.tar.gz: 0e8ce759f2cbb171a2c921e479d1c5363f929633afcf8f18a2e2c02d520f61b0ca4b83d427d647413c1dc5165ee5c66959c62936816b71670caa97b1d31dac88
@@ -1,3 +1,3 @@
1
1
  class KitchenAppbundleUpdater
2
- VERSION = '0.1.2'
2
+ VERSION = '0.2.0'
3
3
  end
@@ -6,6 +6,7 @@ module Kitchen
6
6
  default_config :refname, "master"
7
7
  default_config :github_owner, "chef"
8
8
  default_config :github_repo, "chef"
9
+ default_config :ohai_refname, ""
9
10
  default_config :chef_omnibus_url, "https://omnitruck.chef.io/current/install.sh"
10
11
  default_config :chef_omnibus_install_options, "-n"
11
12
 
@@ -20,6 +21,7 @@ module Kitchen
20
21
  shell_var("refname", config[:refname]),
21
22
  shell_var("github_owner", config[:github_owner]),
22
23
  shell_var("github_repo", config[:github_repo]),
24
+ shell_var("ohai_refname", config[:ohai_refname]),
23
25
  shell_var("ruby", sudo(ruby_bin)),
24
26
  shell_var("gem", sudo(gem_bin)),
25
27
  shell_var("appbundle_updater", appbundle_updater_bin),
@@ -1,4 +1,5 @@
1
1
  set -e
2
2
 
3
3
  $gem install appbundler appbundle-updater
4
+ [ ! -z "$ohai_refname" ] && $ruby $appbundle_updater chef ohai $ohai_refname --tarball --github chef/ohai
4
5
  $ruby $appbundle_updater chef chef $refname --tarball --github $github_owner/$github_repo
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-appbundle-updater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jay Mundrawala
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-18 00:00:00.000000000 Z
11
+ date: 2017-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -122,9 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  version: '0'
123
123
  requirements: []
124
124
  rubyforge_project:
125
- rubygems_version: 2.5.2
125
+ rubygems_version: 2.6.10
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: A Test Kitchen Driver for Appbundle-updater
129
129
  test_files: []
130
- has_rdoc: