danger-cobertura 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -0
- data/lib/cobertura/gem_version.rb +1 -1
- data/lib/cobertura/plugin.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3ff63ef742d2bc473a7cca55d308042faca87e9c66a7b42b5f3f4734680d810
|
4
|
+
data.tar.gz: 6a249a2d6cce7d0c24579a7c252042fa534b48ac734de85c9e197ab14b07d97f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4920c92d8d897fbccb6e63e7e3c7c00c3d9fd05363274b09bd88109aa73366d1b31cec9e5575958a363489516accb9b55cf679cbd2afda610d04f6a66fc61fec
|
7
|
+
data.tar.gz: 2f8181ddee4563eba773c686cd3741c4c12320493e67be51f06e93ad3d3060d37e57159c83ccf527b0aa35c38549d9e92cb87a42f324841afef985f65beee9f5
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [1.1.1] - 2018-11-28
|
10
|
+
### Fixed
|
11
|
+
- Add * wildcard to have parameters in `show_coverage` due to `danger local` bug [Issue](https://github.com/danger/danger/issues/1041)
|
12
|
+
|
9
13
|
## [1.1.0] - 2018-11-28
|
10
14
|
### Added
|
11
15
|
- Option to add branch and line rate information
|
data/README.md
CHANGED
@@ -99,7 +99,9 @@ cobertura.show_coverage
|
|
99
99
|
## Attributes
|
100
100
|
|
101
101
|
__`report`__ - Path to the cobertura xml report, e.g. `build/reports/coverage.xml`
|
102
|
+
|
102
103
|
__`additional_headers`__ - Array of symbols to include in the coverage report. Available options are `:line`, `:branch`
|
104
|
+
|
103
105
|
__`filename_prefix`__ - Path prefix to be added to the cobertura class filename attribute. e.g. `src/main/java`
|
104
106
|
|
105
107
|
## Methods
|
data/lib/cobertura/plugin.rb
CHANGED
@@ -45,9 +45,9 @@ module Danger
|
|
45
45
|
end
|
46
46
|
|
47
47
|
# Show markdown table of modified and added files.
|
48
|
-
#
|
48
|
+
# TODO remove * wildcard to accept all parameter: `danger local` bug - https://github.com/danger/danger/issues/1041
|
49
49
|
# @return [Array<String>] A markdown report of modified files and their coverage report.
|
50
|
-
def show_coverage
|
50
|
+
def show_coverage(*)
|
51
51
|
return if filtered_items.empty?
|
52
52
|
|
53
53
|
table = "## Code coverage\n".dup
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-cobertura
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyaak
|
@@ -253,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
253
253
|
version: '0'
|
254
254
|
requirements: []
|
255
255
|
rubyforge_project:
|
256
|
-
rubygems_version: 2.7.
|
256
|
+
rubygems_version: 2.7.8
|
257
257
|
signing_key:
|
258
258
|
specification_version: 4
|
259
259
|
summary: This plugin allows parsing of an xml coverage report generated by cobertura
|