danger-xcov 0.2.2 → 0.2.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 -3
- data/lib/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73410410113e7680150761858b62770621188b8a
|
4
|
+
data.tar.gz: 3d7300cafde7cdcb95e899976b15a2f89c50f124
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 317b4fde808f296f51f763ba058dbf32529d4ba35e0954b978d3eba69cfc2f1220f76ccea611ce978e49444ebcb0a02fc5e3cf1487984df055664a3647eb010d
|
7
|
+
data.tar.gz: 290cb655a45eb5c39b76e3aa69a8b52d1ed76348bcb11c9881894854c3fc7d0a144a4fededb3eecc657f363ea756282caffeab1362093933c10d82aa72f6c5e6
|
data/danger-xcov.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.require_paths = ['lib']
|
18
18
|
|
19
19
|
spec.add_dependency 'danger', '>= 2.1'
|
20
|
-
spec.add_dependency 'xcov', '>=
|
20
|
+
spec.add_dependency 'xcov', '>= 1.1.1'
|
21
21
|
spec.add_development_dependency 'bundler', '~> 1.3'
|
22
22
|
spec.add_development_dependency 'rake'
|
23
23
|
end
|
data/lib/danger_plugin.rb
CHANGED
@@ -47,11 +47,10 @@ module Danger
|
|
47
47
|
Xcov.ignore_handler = Xcov::IgnoreHandler.new
|
48
48
|
|
49
49
|
# Init project
|
50
|
-
|
51
|
-
Xcov.project = FastlaneCore::Project.new(config)
|
50
|
+
manager = Xcov::Manager.new(config)
|
52
51
|
|
53
52
|
# Parse .xccoverage
|
54
|
-
report_json =
|
53
|
+
report_json = manager.parse_xccoverage
|
55
54
|
|
56
55
|
# Map and process report
|
57
56
|
report = process_report(Xcov::Report.map(report_json))
|
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.2.
|
4
|
+
version: 0.2.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:
|
11
|
+
date: 2017-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: danger
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 1.1.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 1.1.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,3 +106,4 @@ signing_key:
|
|
106
106
|
specification_version: 4
|
107
107
|
summary: Danger plugin to validate the code coverage of the files changed
|
108
108
|
test_files: []
|
109
|
+
has_rdoc:
|