minitest-chef-handler 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +8 -2
- data/README.md +1 -1
- data/lib/minitest-chef-handler.rb +2 -2
- data/minitest-chef-handler.gemspec +1 -1
- metadata +12 -12
data/History.txt
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
=== 0.6.1 / 08-22-2012
|
2
|
+
|
3
|
+
* 1 bug feature:
|
4
|
+
|
5
|
+
* Raise error on test errors.
|
6
|
+
|
1
7
|
=== 0.6.0 / 07-13-2012
|
2
8
|
|
3
9
|
* 1 new feature:
|
@@ -6,13 +12,13 @@
|
|
6
12
|
|
7
13
|
=== 0.5.4 / 07-10-2012
|
8
14
|
|
9
|
-
* 1
|
15
|
+
* 1 bug fix:
|
10
16
|
|
11
17
|
* Fix cookbook's path lookup when Chef's cookbook_path is an Array instead of a String.
|
12
18
|
|
13
19
|
=== 0.5.3 / 07-10-2012
|
14
20
|
|
15
|
-
* 1
|
21
|
+
* 1 bug fix:
|
16
22
|
|
17
23
|
* Fix cookbook's path lookup when Chef's cookbook_path is an Array instead of a String.
|
18
24
|
|
data/README.md
CHANGED
@@ -152,7 +152,7 @@ and be treated like any other error in the Chef execution.
|
|
152
152
|
|
153
153
|
## Chef server distribution
|
154
154
|
|
155
|
-
The instructions
|
155
|
+
The instructions above have described how to use it in a Chef solo installation. If you want to distribute the handler to your Chef server check either the chef_handler cookbooks in the examples or [minitest-handler-cookbook](https://github.com/btm/minitest-handler-cookbook).
|
156
156
|
|
157
157
|
## Copyright
|
158
158
|
|
@@ -38,9 +38,9 @@ module MiniTest
|
|
38
38
|
runner.run(miniunit_options)
|
39
39
|
end
|
40
40
|
|
41
|
-
if runner.failures.nonzero?
|
41
|
+
if runner.failures.nonzero? || runner.errors.nonzero?
|
42
42
|
::Chef::Client.when_run_completes_successfully do |run_status|
|
43
|
-
raise "MiniTest failed with #{runner.failures} failure(s)"
|
43
|
+
raise "MiniTest failed with #{runner.failures} failure(s) and #{runner.errors} error(s)."
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|
@@ -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.
|
14
|
+
gem.version = '0.6.1'
|
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.
|
4
|
+
version: 0.6.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
16
|
-
requirement: &
|
16
|
+
requirement: &70287505569400 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70287505569400
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: chef
|
27
|
-
requirement: &
|
27
|
+
requirement: &70287505567640 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70287505567640
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: ci_reporter
|
38
|
-
requirement: &
|
38
|
+
requirement: &70287505565200 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70287505565200
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rake
|
49
|
-
requirement: &
|
49
|
+
requirement: &70287505564540 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70287505564540
|
58
58
|
description: Run Minitest suites as Chef report handlers
|
59
59
|
email:
|
60
60
|
- david.calavera@gmail.com
|
@@ -119,7 +119,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
119
119
|
version: '0'
|
120
120
|
segments:
|
121
121
|
- 0
|
122
|
-
hash: -
|
122
|
+
hash: -197956679937223277
|
123
123
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
124
|
none: false
|
125
125
|
requirements:
|
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
128
|
version: '0'
|
129
129
|
segments:
|
130
130
|
- 0
|
131
|
-
hash: -
|
131
|
+
hash: -197956679937223277
|
132
132
|
requirements: []
|
133
133
|
rubyforge_project:
|
134
134
|
rubygems_version: 1.8.11
|