minitest-chef-handler 0.6.8 → 0.6.9

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.
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 0.6.9 / 03-23-2013
2
+
3
+ * 1 bug fix:
4
+
5
+ * Do not check results when there are no tests.
6
+
1
7
  === 0.6.8 / 03-03-2013
2
8
 
3
9
  * 1 bug fix:
@@ -41,7 +41,7 @@ module MiniTest
41
41
  runner.run(miniunit_options)
42
42
  end
43
43
 
44
- if result.nonzero?
44
+ if result && result.nonzero?
45
45
  ::Chef::Client.when_run_completes_successfully do |run_status|
46
46
  error_msg = "MiniTest failed with #{runner.failures} failure(s) and #{runner.errors} error(s).\n"
47
47
  error_msg << runner.report.sort.join("\n")
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
11
11
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
12
12
  gem.name = "minitest-chef-handler"
13
13
  gem.require_paths = ["lib"]
14
- gem.version = '0.6.8'
14
+ gem.version = '0.6.9'
15
15
 
16
16
  gem.add_dependency('minitest')
17
17
  gem.add_dependency('chef')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-chef-handler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.8
4
+ version: 0.6.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-03 00:00:00.000000000 Z
12
+ date: 2013-03-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest