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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 581a9da17cf4517347df716589c098c219abcdac2fdd5887a6cb8ac9626119de
4
- data.tar.gz: 97f48312f384759df2a674ba129501597becba3afb5a3b1a168a8a6697ce41d2
3
+ metadata.gz: e3ff63ef742d2bc473a7cca55d308042faca87e9c66a7b42b5f3f4734680d810
4
+ data.tar.gz: 6a249a2d6cce7d0c24579a7c252042fa534b48ac734de85c9e197ab14b07d97f
5
5
  SHA512:
6
- metadata.gz: 858d10f14d3e5c422787929b97c85a02f0616544ba121788d4a90bc650bf05cb722b758243c51fb4e3e83674dcb94d2abe8161a44a67616f5bd0c527ece52652
7
- data.tar.gz: a209e03077a94489ac9110048a98f43f9013f9ae85bdebb40e0997afeddf3b46608050b37beca56561babb1b1be9ad9092adbcee39e2c06af40005e84a2715a0
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
@@ -1,3 +1,3 @@
1
1
  module Cobertura
2
- VERSION = "1.1.0".freeze
2
+ VERSION = "1.1.1".freeze
3
3
  end
@@ -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.0
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.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