Skip to content

Commit f35ef25

Browse files
committed
prep 1.1.4 release
1 parent 6e06654 commit f35ef25

File tree

3 files changed

+37
-33
lines changed

3 files changed

+37
-33
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
Changelog
22
=====
33

4+
### 1.1.4 (Nov 14, 2013)
5+
* Apply workaround for for [build tools issues](http://lists.opscode.com/sympa/arc/chef/2013-11/msg00011.html)
6+
* [#57](https://github.com/btm/minitest-handler-cookbook/pull/57) -
7+
Fix for [CHEF-3694](https://tickets.opscode.com/browse/CHEF-3694)
8+
49
### 1.1.2 (Oct 29, 2013)
510

611
* [#55](https://github.com/btm/minitest-handler-cookbook/pull/55) -
7-
Fix regression in 1.1.0 which was causing `undefined method `scratch_dir'`
12+
Fix regression in 1.1.0 which was causing `undefined method 'scratch_dir'`
813

914
### 1.1.0 (Oct 25, 2013)
1015

README.md

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
Cookbook: minitest-handler<br/>
2-
Author: Reijo Pitkänen <reijop@gmail.com><br/>
3-
Author: David Petzel <davidpetzel@gmail.com><br/>
4-
Author: Bryan W. Berry <bryan.berry@gmail.com><br/>
5-
Author: Bryan McLellan <btm@loftninjas.org><br/>
1+
# minitest-handler cookbook
2+
3+
[![Build Status](https://secure.travis-ci.org/btm/minitest-handler-cookbook.png?branch=master)](http://travis-ci.org/btm/minitest-handler-cookbook)
4+
5+
License: Apache 2.0 <br />
66
Copyright: 2012 Opscode, Inc.<br/>
7-
License: Apache 2.0<br/>
7+
Author: Bryan McLellan <btm@loftninjas.org><br/>
8+
Author: Bryan W. Berry <bryan.berry@gmail.com><br/>
89

9-
Description
10-
===========
1110

12-
# <a name="title"></a> minitest-handler [![Build Status](https://secure.travis-ci.org/btm/minitest-handler-cookbook.png?branch=master)](http://travis-ci.org/btm/minitest-handler-cookbook)
11+
## Description
1312

1413
This cookbook utilizes the minitest-chef-handler project to facilitate
1514
cookbook testing. By default, minitest-handler will collect all the
@@ -29,50 +28,45 @@ test files named "<recipe-name>_test.rb" rather than all test files in the path
2928

3029
If you have any helper libraries, they should match `files/default/test/*helper*.rb`
3130

32-
Attributes
33-
==========
34-
* `node[:minitest][:gem_version]` - The version of the [minitest](http://rubygems.org/gems/minitest)
31+
## Attributes
32+
* `node[:minitest][:gem_version]` - The version of the [minitest](http://rubygems.org/gems/minitest)
3533
gem to install and use.
3634
* Default: 3.0.1
37-
* `node[:minitest][:chef_handler_gem_version]` - The version of the [minitest-chef-handler](http://rubygems.org/gems/minitest-chef-handler)
35+
* `node[:minitest][:chef_handler_gem_version]` - The version of the [minitest-chef-handler](http://rubygems.org/gems/minitest-chef-handler)
3836
gem to install and use.
3937
* Default: 1.0.1
40-
* `node[:minitest][:path]` - Location to store and find test files.
38+
* `node[:minitest][:path]` - Location to store and find test files.
4139
* Default: `/var/chef/minitest`
42-
* `node[:minitest][:recipes]` - The names of all recipes included during the
40+
* `node[:minitest][:recipes]` - The names of all recipes included during the
4341
chef run, whether by insertion to the run_list, inclusion through a role, or
4442
added with `include_recipe`. If you only want tests for select recipes to run,
4543
override this value with the names of the recipes that you want tested.
4644
* Default: []
47-
* `node[:minitest][:filter]` - Filter test names on a pattern (regex)
48-
* Default: `nil`
49-
* Example: `/apache2/` could be used to *only* run tests for recipes with
45+
* `node[:minitest][:filter]` - Filter test names on a pattern (regex)
46+
* Default: `nil`
47+
* Example: `/apache2/` could be used to *only* run tests for recipes with
5048
starting with *apache2*
51-
* `node[:minitest][:seed]` - Set random seed
49+
* `node[:minitest][:seed]` - Set random seed
5250
* Default: `nil`
5351
* `node[:minitest][:ci_reports]` - Path to write out the result of each
5452
test in a JUnit-compatible XML file, parseable by many CI platforms
5553
* Default: `nil`
56-
* `node[:minitest][:tests]` - Test files to run.
57-
* Default to `**/*_test.rb`
58-
* `node[:minitest][:verbose]` - Display verbose output
54+
* `node[:minitest][:tests]` - Test files to run.
55+
* Default to `**/*_test.rb`
56+
* `node[:minitest][:verbose]` - Display verbose output
5957
* Default: true
6058

61-
Usage
62-
=====
63-
59+
## Usage
6460
* Add ``recipe[minitest-handler]`` somewhere on your run_list, preferably last
65-
* Place tests in ``files/default/test/`` with the name **your-recipe-name\_test.rb**
61+
* Place tests in ``files/default/test/`` with the name **your-recipe-name\_test.rb**
6662
(default recipe is named **default_test.rb**)
6763
* Put any helper functions you have in ``files/default/test/spec_helper.rb`` but
6864
minitest-handler will ensure that you have access to any file that
6965
matches the glob ``files/test/*helper.rb``
7066

7167
[Minitest](https://github.com/seattlerb/minitest)
7268

73-
Examples
74-
========
75-
69+
## Examples
7670
### Traditional minitest
7771

7872
class TestApache2 < MiniTest::Chef::TestCase
@@ -113,7 +107,7 @@ Examples
113107
For more detailed examples, see [here](https://github.com/calavera/minitest-chef-handler/blob/v0.4.0/examples/spec_examples/files/default/tests/minitest/example_test.rb)
114108

115109

116-
### Testing this cookbook
110+
## Testing this cookbook
117111

118112
This cookbook currently uses [test-kitchen](https://github.com/opscode/test-kitchen)
119113
along with the [kitchen-vagrant](https://github.com/opscode/kitchen-vagrant).
@@ -129,7 +123,7 @@ are in this cookbook, see the [chef-rvm](https://github.com/fnichol/chef-rvm),
129123
tested on Windows machines. See https://github.com/btm/minitest-handler-cookbook/issues/45
130124
for more of the background on this.
131125

132-
### Releasing
126+
## Releasing
133127
This cookbook uses an 'even number' release strategy. The version number in master
134128
will always be an odd number indicating development, and an even number will
135129
be used when an official build is released.
@@ -143,3 +137,8 @@ Come release time here is the checklist:
143137
* Share the cookbook to the community site
144138
`knife cookbook site share minitest-handler Utilities -o ../`
145139
* Bump the version in metadata.rb to the next *patch level* odd number
140+
141+
## Contributors
142+
* David Petzel <davidpetzel@gmail.com>
143+
* Reijo Pitkänen <reijop@gmail.com>
144+
* Jean Mertz <jean@mertz.fm>

metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
license "Apache 2.0"
55
description "Installs and configures minitest-chef-handler"
66
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7-
version "1.1.3"
7+
version "1.1.4"
88

99
depends "chef_handler"

0 commit comments

Comments
 (0)