danger-xcov 0.3.0 → 0.3.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: 84c3a7a3efed207e12bd5820a90609ecf2ff8f89
4
- data.tar.gz: eb29b15808e30d26dce8fd4f9eb359aaaaa31883
3
+ metadata.gz: ddd40824a45ba96c8e64e1f5cd6ea4945f03e48b
4
+ data.tar.gz: f951e7a1f3da1fecb7dffd18e8617ad4ac4b3d6c
5
5
  SHA512:
6
- metadata.gz: 27debb41fca6d11be9e7380f6f0b8f1c43fc30eb415b70c1f589568be0b2fa00a7c9d8d8188041f1882b7a64071e9a6e5aa5ce257d78c89c547d8b4a5fef51f7
7
- data.tar.gz: 7b76b97c3fa020d35f8ed025c8d60a8903a6a6d5fb32c32fad88f8943ce732bf2859ae4cb9f3e3e9ff0994c0b8675526a995f7e2271e07e6c43ddbb34b85e226
6
+ metadata.gz: c3a3bfc848a80e12decca0b0f7e655d888f462353f8d371755db3613b32175dccff5392d64c39bf7d350c5de9bb0d2a9fcacd9b5ed8c76bcd6664be2e2573261
7
+ data.tar.gz: 62d134a622cff65bfb15f559e23a98121bf6bef10f90595644e61657a3096e44b41e3520196f4c1ebe55d5c507b12f4dc1bfaa90bb43aba0eeef3561fc5faa10
data/lib/danger_plugin.rb CHANGED
@@ -78,7 +78,6 @@ module Danger
78
78
  # Filters the files that haven't been modified in the current PR
79
79
  def process_report(report)
80
80
  file_names = @dangerfile.git.modified_files.map { |file| File.basename(file) }
81
- file_names += @dangerfile.git.added_files.map { |file| File.basename(file) }
82
81
  report.targets.each do |target|
83
82
  target.files = target.files.select { |file| file_names.include?(file.name) }
84
83
  end
data/lib/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module DangerXcov
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.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.3.0
4
+ version: 0.3.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-07-15 00:00:00.000000000 Z
11
+ date: 2017-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger