danger-xcov 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/danger_plugin.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a4ce49266ab4fdb0fee7304595c41c132b16b0c
|
4
|
+
data.tar.gz: b013e44b9434eeae63f63dc2cf1a7f0eb99affb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 911d8bf3d03946b018933b3c5386d112d98afa76492c00a2f357693a2113218dd52c5d8f9ceed16fc10bcfde659135dd3adf0a73bcd790867584afdf9c926394
|
7
|
+
data.tar.gz: d7291a363937ec7db78ee75ebac6a05d3715eea4e4d012231ffd4cf980745c9c27c86a5602cfc643938dd0834696972f927ac5eb8bf24cab2e4bb726a6fe6cc2
|
data/lib/danger_plugin.rb
CHANGED
@@ -76,7 +76,7 @@ module Danger
|
|
76
76
|
markdown(report_markdown)
|
77
77
|
|
78
78
|
# Notify failure if minimum coverage hasn't been reached
|
79
|
-
threshold = config[:minimum_coverage_percentage].to_i
|
79
|
+
threshold = Xcov.config[:minimum_coverage_percentage].to_i
|
80
80
|
if !threshold.nil? && (report.coverage * 100) < threshold
|
81
81
|
fail("Code coverage under minimum of #{threshold}%")
|
82
82
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-xcov
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carlos Vidal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: danger
|