kitchen-itamae 0.2.1 → 0.2.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: 291f6ce97677cf69d991c0f29e4be9eddf145729
4
- data.tar.gz: 68fdba1300f34435dff7d9cf22f6e980afc5f12b
3
+ metadata.gz: e6f3994e1ac830ff95314aa6739d315e5b8ba8f6
4
+ data.tar.gz: a0114040ef6d78fb3ff1b75344bb9e1884d1f3d7
5
5
  SHA512:
6
- metadata.gz: 241b3c63367aeb775c141d11c5385e65c5ed3e11523b63584be733251fbaa5034e5a3928216eb8c6e48b88dd43b84f924e6e268b14864d44eba8ce3e3dd5a18e
7
- data.tar.gz: 9f45f9ec80f24cb11166990806ea2a514358d9dc4dcdc26a03277f67290feca59429fc493e99fd67c0292ea1401c852bc5c064778fa274969ec90f05d4457b3f
6
+ metadata.gz: c037271e99e8089636e3fb6158a22003fdc613b295b7b99838fbaa251db9d9702125bb9863aa3428834ceee5e71f7b2517be775c0de6e68b656a674efc771495
7
+ data.tar.gz: e5ce938f9651a91c5271350d2aeb839d1a96dd806a008ee8bf98892d66a05a795d737cd29247ba96013b4f731a0a874628505fb5c5233e7f208bcc6c5c34df5c
@@ -1,5 +1,9 @@
1
1
  CHANGELOG of Itamae::Kitchen
2
2
 
3
+ ## 0.2.2
4
+
5
+ - experimental: append suffix `.rb` for run_list if missing.
6
+
3
7
  ## 0.2.1
4
8
 
5
9
  - Fix: support with_ohai with plugins
@@ -1,5 +1,5 @@
1
1
  module Kitchen
2
2
  module Itamae
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
@@ -68,7 +68,11 @@ module Kitchen
68
68
  cmd << '--ohai' if config[:with_ohai]
69
69
  cmd << config[:itamae_option]
70
70
  cmd << "-j dna.json"
71
- cmd << recipe
71
+ if recipe.end_with?('.rb')
72
+ cmd << recipe
73
+ else
74
+ cmd << "#{recipe}.rb"
75
+ end
72
76
  cmd.join(" ")
73
77
  end
74
78
  debug(lines.join("\n"))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-itamae
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sawanoboly