test-kitchen 1.3.0 → 1.3.1

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: 171b533c12aff1ff5286b5104bc974626dbf07f9
4
- data.tar.gz: 0fd02124f28895f3cf0215c465226927bd1affc7
3
+ metadata.gz: 665e48e9f78d624f8aa062b4ca790ebca42acaf4
4
+ data.tar.gz: b962301704633bb76408ae13ad354cbbee216371
5
5
  SHA512:
6
- metadata.gz: 173544009b952361cf1cde034662ee8c48781ed2f7ffd7c5a86a0211f331f8ebba0e73e1b339c53a920697fa99621e98124ffda5919793e8926090813de5f4d3
7
- data.tar.gz: 5becb091d620d1b2c8167f41a410fa89734aefc7110694518f22a5fcba91afa84d1bcf6317a65ef9ac1bbef5c5c3bb82348178d70b0a16917bd584466feb66fe
6
+ metadata.gz: a9b4dc5ae5d985f1674c65b9823cf1f0979f731aadbea863c565e057e93147c2d62ef7650afcb8db361f0c3557ad4647a991ac7095878ef26790c6ec1ee86909
7
+ data.tar.gz: 18e1cbc9626ab891381425303685f9525791f9313d2a1dbbb3df002d061cebaf6b1f8898ab8ce19994ba5d8fe2d3e7aee2e9cfc4d91939152f339b3d3e3d3c8f
@@ -1,6 +1,7 @@
1
1
  language: ruby
2
2
 
3
3
  rvm:
4
+ - 2.2
4
5
  - 2.1
5
6
  - 2.0.0
6
7
  - 1.9.3
@@ -8,6 +9,7 @@ rvm:
8
9
 
9
10
  env:
10
11
  - RUBYGEMS_VERSION=
12
+ - RUBYGEMS_VERSION=2.4.5
11
13
  - RUBYGEMS_VERSION=2.2.2
12
14
  - RUBYGEMS_VERSION=2.1.11
13
15
  - RUBYGEMS_VERSION=2.0.14
@@ -25,10 +27,24 @@ matrix:
25
27
  allow_failures:
26
28
  - rvm: ruby-head
27
29
  exclude:
30
+ - rvm: 2.2
31
+ env: RUBYGEMS_VERSION=2.2.2
32
+ - rvm: 2.2
33
+ env: RUBYGEMS_VERSION=2.1.11
34
+ - rvm: 2.2
35
+ env: RUBYGEMS_VERSION=2.0.14
36
+ - rvm: 2.2
37
+ env: RUBYGEMS_VERSION=1.8.29
28
38
  - rvm: 2.1
29
39
  env: RUBYGEMS_VERSION=1.8.29
30
40
  - rvm: 2.0.0
31
41
  env: RUBYGEMS_VERSION=1.8.29
42
+ - rvm: ruby-head
43
+ env: RUBYGEMS_VERSION=2.2.2
44
+ - rvm: ruby-head
45
+ env: RUBYGEMS_VERSION=2.1.11
46
+ - rvm: ruby-head
47
+ env: RUBYGEMS_VERSION=2.0.14
32
48
  - rvm: ruby-head
33
49
  env: RUBYGEMS_VERSION=1.8.29
34
50
 
@@ -1,4 +1,15 @@
1
- ## 1.3.0 / 2014-12-1X
1
+ ## 1.3.1 / 2015-01-16
2
+
3
+ ### Bug fixes
4
+
5
+ * Pull request [#581][], issue [#580][]: Fix omnibus install argument passing bug with missing space character. ([@fnichol][], [@tknerr][])
6
+
7
+ ### Improvements
8
+
9
+ * Pull request [#579][]: Update README.md badges to use SVG. ([@miketheman][])
10
+
11
+
12
+ ## 1.3.0 / 2015-01-15
2
13
 
3
14
  ### Upstream changes
4
15
 
@@ -561,6 +572,9 @@ The initial release.
561
572
  [#557]: https://github.com/test-kitchen/test-kitchen/issues/557
562
573
  [#558]: https://github.com/test-kitchen/test-kitchen/issues/558
563
574
  [#567]: https://github.com/test-kitchen/test-kitchen/issues/567
575
+ [#579]: https://github.com/test-kitchen/test-kitchen/issues/579
576
+ [#580]: https://github.com/test-kitchen/test-kitchen/issues/580
577
+ [#581]: https://github.com/test-kitchen/test-kitchen/issues/581
564
578
  [@ChrisLundquist]: https://github.com/ChrisLundquist
565
579
  [@MarkGibbons]: https://github.com/MarkGibbons
566
580
  [@adamhjk]: https://github.com/adamhjk
@@ -604,6 +618,7 @@ The initial release.
604
618
  [@mconigliaro]: https://github.com/mconigliaro
605
619
  [@mcquin]: https://github.com/mcquin
606
620
  [@michaelkirk]: https://github.com/michaelkirk
621
+ [@miketheman]: https://github.com/miketheman
607
622
  [@mthssdrbrg]: https://github.com/mthssdrbrg
608
623
  [@oferrigni]: https://github.com/oferrigni
609
624
  [@patcon]: https://github.com/patcon
@@ -627,4 +642,5 @@ The initial release.
627
642
  [@srenatus]: https://github.com/srenatus
628
643
  [@stevendanna]: https://github.com/stevendanna
629
644
  [@thommay]: https://github.com/thommay
630
- [@zts]: https://github.com/zts
645
+ [@tknerr]: https://github.com/tknerr
646
+ [@zts]: https://github.com/zts
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # Test Kitchen
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/test-kitchen.png)](http://badge.fury.io/rb/test-kitchen)
4
- [![Build Status](https://secure.travis-ci.org/test-kitchen/test-kitchen.png?branch=master)](https://travis-ci.org/test-kitchen/test-kitchen)
5
- [![Code Climate](https://codeclimate.com/github/test-kitchen/test-kitchen.png)](https://codeclimate.com/github/test-kitchen/test-kitchen)
6
- [![Test Coverage](https://codeclimate.com/github/test-kitchen/test-kitchen/coverage.png)](https://codeclimate.com/github/test-kitchen/test-kitchen)
7
- [![Dependency Status](https://gemnasium.com/test-kitchen/test-kitchen.png)](https://gemnasium.com/test-kitchen/test-kitchen)
8
- [![Inline docs](http://inch-ci.org/github/test-kitchen/test-kitchen.png?branch=master)](http://inch-ci.org/github/test-kitchen/test-kitchen)
3
+ [![Gem Version](https://badge.fury.io/rb/test-kitchen.svg)](http://badge.fury.io/rb/test-kitchen)
4
+ [![Build Status](https://secure.travis-ci.org/test-kitchen/test-kitchen.svg?branch=master)](https://travis-ci.org/test-kitchen/test-kitchen)
5
+ [![Code Climate](https://codeclimate.com/github/test-kitchen/test-kitchen.svg)](https://codeclimate.com/github/test-kitchen/test-kitchen)
6
+ [![Test Coverage](https://codeclimate.com/github/test-kitchen/test-kitchen/coverage.svg)](https://codeclimate.com/github/test-kitchen/test-kitchen)
7
+ [![Dependency Status](https://gemnasium.com/test-kitchen/test-kitchen.svg)](https://gemnasium.com/test-kitchen/test-kitchen)
8
+ [![Inline docs](http://inch-ci.org/github/test-kitchen/test-kitchen.svg?branch=master)](http://inch-ci.org/github/test-kitchen/test-kitchen)
9
9
 
10
10
  | | |
11
11
  |-------------|-----------------------------------------------|
@@ -157,14 +157,14 @@ module Kitchen
157
157
  end
158
158
  install_flags = %w[latest true].include?(version) ? "" : "-v #{version}"
159
159
  if config[:chef_omnibus_install_options]
160
- install_flags += config[:chef_omnibus_install_options]
160
+ install_flags << " " << config[:chef_omnibus_install_options]
161
161
  end
162
162
 
163
163
  <<-INSTALL.gsub(/^ {10}/, "")
164
164
  if should_update_chef "#{config[:chef_omnibus_root]}" "#{version}" ; then
165
165
  echo "-----> Installing Chef Omnibus (#{pretty_version})"
166
166
  do_download #{config[:chef_omnibus_url]} /tmp/install.sh
167
- #{sudo("sh")} /tmp/install.sh #{install_flags}
167
+ #{sudo("sh")} /tmp/install.sh #{install_flags.strip}
168
168
  else
169
169
  echo "-----> Chef Omnibus installation detected (#{pretty_version})"
170
170
  fi
@@ -18,5 +18,5 @@
18
18
 
19
19
  module Kitchen
20
20
 
21
- VERSION = "1.3.0"
21
+ VERSION = "1.3.1"
22
22
  end
@@ -200,6 +200,13 @@ describe Kitchen::Provisioner::ChefBase do
200
200
  "Installing Chef Omnibus (install only if missing)", :partial_line)
201
201
  end
202
202
 
203
+ it "will pass install options and version info, when given" do
204
+ config[:require_chef_omnibus] = "11"
205
+ config[:chef_omnibus_install_options] = "-d /tmp/place"
206
+
207
+ provisioner.install_command.must_match regexify(
208
+ "sudo -E sh /tmp/install.sh -v 11 -d /tmp/place")
209
+ end
203
210
  end
204
211
 
205
212
  describe "#init_command" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-kitchen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fletcher Nichol
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-15 00:00:00.000000000 Z
11
+ date: 2015-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout