danger-xcov 0.1.3 → 0.2.0

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: 43334e741097abdf797377c1b554c3d0b22971e2
4
- data.tar.gz: a3e9f5c1a228c35798ca6172ab46f5dcf31f2465
3
+ metadata.gz: 70a91a8920749990d150d8516bf6b364ac60061f
4
+ data.tar.gz: ed010f7548e9f8536b74965924600d2b117dc60e
5
5
  SHA512:
6
- metadata.gz: 3b4322fb2448582e5586d3959f062ff7d75e0ce01f4afcccd4879a46435c8b750d772e7a8494bd792e570311bbb683ec5f8d1b7ef1459d128c1f54350a45b16e
7
- data.tar.gz: 8d394beb597c2613770474904314970ad8b723e5075d6d2d82ae82166191dfcdd56ac7a68c0f92df6445f9ed99051b9af1aa5bdc27a5f0256aad5c694b718938
6
+ metadata.gz: 0b9522a4b2c09513434d7f8dce0d1070d107a9a2b692d757bb7387752e2466262f77a51d5618963e008dbd90f28e61a0018e51b6850be8e8bba3defa6f74bce6
7
+ data.tar.gz: ec4dbc0f2e1bf2c380ec159805929ca5d9f665cfff5b2ab06f0c8630b29b2aeed9a51dfc52f39f1d858f7410d9a351ab69ea269d36f636c82d4180cd4dfd3bff
data/lib/danger_plugin.rb CHANGED
@@ -78,7 +78,7 @@ module Danger
78
78
 
79
79
  # Filters the files that haven't been modified in the current PR
80
80
  def process_report(report)
81
- file_names = git.modified_files.map { |file| File.basename(file) }
81
+ file_names = @dangerfile.git.modified_files.map { |file| File.basename(file) }
82
82
  report.targets.each do |target|
83
83
  target.files = target.files.select { |file| file_names.include?(file.name) }
84
84
  end
data/lib/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module DangerXcov
2
- VERSION = "0.1.3"
2
+ VERSION = "0.2.0"
3
3
  DESCRIPTION = "Danger plugin to validate the code coverage of the files changed"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-xcov
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Vidal