danger-xcov 0.2.4 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/danger_plugin.rb +2 -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: 84c3a7a3efed207e12bd5820a90609ecf2ff8f89
|
4
|
+
data.tar.gz: eb29b15808e30d26dce8fd4f9eb359aaaaa31883
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27debb41fca6d11be9e7380f6f0b8f1c43fc30eb415b70c1f589568be0b2fa00a7c9d8d8188041f1882b7a64071e9a6e5aa5ce257d78c89c547d8b4a5fef51f7
|
7
|
+
data.tar.gz: 7b76b97c3fa020d35f8ed025c8d60a8903a6a6d5fb32c32fad88f8943ce732bf2859ae4cb9f3e3e9ff0994c0b8675526a995f7e2271e07e6c43ddbb34b85e226
|
data/README.md
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
<h3 align="center">
|
2
2
|
<img src="/assets_readme/logo.png" alt="xcov Logo" />
|
3
3
|
</h3>
|
4
|
+
|
4
5
|
-------
|
6
|
+
|
5
7
|
[![Twitter: @carlostify](https://img.shields.io/badge/contact-@carlostify-blue.svg?style=flat)](https://twitter.com/carlostify)
|
6
8
|
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/nakiostudio/xcov/blob/master/LICENSE)
|
7
9
|
[![Gem](https://img.shields.io/gem/v/danger-xcov.svg?style=flat)](http://rubygems.org/gems/danger-xcov)
|
data/lib/danger_plugin.rb
CHANGED
@@ -77,7 +77,8 @@ module Danger
|
|
77
77
|
|
78
78
|
# Filters the files that haven't been modified in the current PR
|
79
79
|
def process_report(report)
|
80
|
-
file_names =
|
80
|
+
file_names = @dangerfile.git.modified_files.map { |file| File.basename(file) }
|
81
|
+
file_names += @dangerfile.git.added_files.map { |file| File.basename(file) }
|
81
82
|
report.targets.each do |target|
|
82
83
|
target.files = target.files.select { |file| file_names.include?(file.name) }
|
83
84
|
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
|
+
version: 0.3.0
|
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-
|
11
|
+
date: 2017-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: danger
|