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 +4 -4
- data/lib/danger_plugin.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70a91a8920749990d150d8516bf6b364ac60061f
|
4
|
+
data.tar.gz: ed010f7548e9f8536b74965924600d2b117dc60e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 =
|
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