danger-xcov 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/danger-xcov.gemspec +1 -1
- data/lib/danger_plugin.rb +2 -2
- data/lib/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43334e741097abdf797377c1b554c3d0b22971e2
|
4
|
+
data.tar.gz: a3e9f5c1a228c35798ca6172ab46f5dcf31f2465
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b4322fb2448582e5586d3959f062ff7d75e0ce01f4afcccd4879a46435c8b750d772e7a8494bd792e570311bbb683ec5f8d1b7ef1459d128c1f54350a45b16e
|
7
|
+
data.tar.gz: 8d394beb597c2613770474904314970ad8b723e5075d6d2d82ae82166191dfcdd56ac7a68c0f92df6445f9ed99051b9af1aa5bdc27a5f0256aad5c694b718938
|
data/danger-xcov.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
17
17
|
spec.require_paths = ['lib']
|
18
18
|
|
19
|
-
spec.add_dependency 'danger'
|
19
|
+
spec.add_dependency 'danger', '~> 2.0.0'
|
20
20
|
spec.add_dependency 'xcov', '~> 0.9'
|
21
21
|
spec.add_development_dependency 'bundler', '~> 1.3'
|
22
22
|
spec.add_development_dependency 'rake'
|
data/lib/danger_plugin.rb
CHANGED
@@ -19,7 +19,7 @@ module Danger
|
|
19
19
|
# )
|
20
20
|
#
|
21
21
|
# @tags xcode, coverage, xccoverage, tests, ios, xcov
|
22
|
-
# @see nakiostudio/
|
22
|
+
# @see nakiostudio/danger-xcov
|
23
23
|
#
|
24
24
|
class DangerXcov < Plugin
|
25
25
|
# Validates the code coverage of the files changed within a Pull Request.
|
@@ -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 = modified_files.map { |file| File.basename(file) }
|
81
|
+
file_names = 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
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-xcov
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carlos Vidal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: danger
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: xcov
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|