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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21e8012b1e14fde5ddb6a3ff3ddf754b373dee37
4
- data.tar.gz: f5f36750814b09056215d8b8c3c06c9871f636ff
3
+ metadata.gz: 3a4ce49266ab4fdb0fee7304595c41c132b16b0c
4
+ data.tar.gz: b013e44b9434eeae63f63dc2cf1a7f0eb99affb4
5
5
  SHA512:
6
- metadata.gz: 3d64cd178a70ac496c9ab69a107cc1c31f9f6440971c44d7f165c7fa346c192fc5be6532db49398721fb151f7ee7410ce7ced3720202fbceef3b60784823016a
7
- data.tar.gz: a1d30c25481ad9855e897f488dbc38faa46feaff0c9b527dc0e815e8ab96416c10bfeba82259bd11fb0be506ce6952fccbf78dd5e65f9b6301b81a77f400c9cf
6
+ metadata.gz: 911d8bf3d03946b018933b3c5386d112d98afa76492c00a2f357693a2113218dd52c5d8f9ceed16fc10bcfde659135dd3adf0a73bcd790867584afdf9c926394
7
+ data.tar.gz: d7291a363937ec7db78ee75ebac6a05d3715eea4e4d012231ffd4cf980745c9c27c86a5602cfc643938dd0834696972f927ac5eb8bf24cab2e4bb726a6fe6cc2
@@ -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
@@ -1,4 +1,4 @@
1
1
  module DangerXcov
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  DESCRIPTION = "Danger plugin to validate the code coverage of the files changed"
4
4
  end
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.0
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-23 00:00:00.000000000 Z
11
+ date: 2017-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger