xcov 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/xcov-core/bin/xcov-core +0 -0
- data/lib/xcov-core/version.rb +1 -1
- data/lib/xcov/model/target.rb +4 -3
- data/lib/xcov/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a0dac38761769c713c26a25d73383d5aa4e6a7a
|
4
|
+
data.tar.gz: 3fc7f9941ab481911404423bad5a95b58978d6a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9c00ec264c7dbb77e0862e0b0fac763c6806588e4106a712658737060306df8d780ecafbf6959c58c4e28d0b157c6ec2b2b5fe67598d95fdff39a3831b48892
|
7
|
+
data.tar.gz: 0af534980fd515d0abbc52e5a3a0f3c8d97d9ad98b09d3240f4fefdb4e785355acc93b27bd6a62a41dce30f7184b8cc0fa66a27137a6df176baf1290173b4733
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
-------
|
6
6
|
|
7
|
-
[![Twitter: @
|
7
|
+
[![Twitter: @nakiostudio](https://img.shields.io/badge/contact-@nakiostudio-blue.svg?style=flat)](https://twitter.com/nakiostudio)
|
8
8
|
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/nakiostudio/xcov/blob/master/LICENSE)
|
9
9
|
[![Gem](https://img.shields.io/gem/v/xcov.svg?style=flat)](http://rubygems.org/gems/xcov)
|
10
10
|
[![Gem Downloads](https://img.shields.io/gem/dt/xcov.svg?style=flat)](http://rubygems.org/gems/xcov)
|
data/lib/xcov-core/bin/xcov-core
CHANGED
Binary file
|
data/lib/xcov-core/version.rb
CHANGED
data/lib/xcov/model/target.rb
CHANGED
@@ -7,10 +7,10 @@ module Xcov
|
|
7
7
|
attr_accessor :files
|
8
8
|
attr_accessor :file_templates
|
9
9
|
|
10
|
-
def initialize(name, files)
|
10
|
+
def initialize(name, coverage, files)
|
11
11
|
@name = CGI::escapeHTML(name)
|
12
12
|
@files = files
|
13
|
-
@coverage =
|
13
|
+
@coverage = coverage
|
14
14
|
@displayable_coverage = self.create_displayable_coverage
|
15
15
|
@coverage_color = self.create_coverage_color
|
16
16
|
@id = Target.create_id(name)
|
@@ -53,11 +53,12 @@ module Xcov
|
|
53
53
|
|
54
54
|
def self.map(dictionary)
|
55
55
|
name = dictionary["name"]
|
56
|
+
coverage = dictionary["coverage"]
|
56
57
|
files = dictionary["files"].map { |file| Source.map(file)}
|
57
58
|
files = files.sort &by_coverage_with_ignored_at_the_end
|
58
59
|
non_ignored_files = Target.select_non_ignored_files(files)
|
59
60
|
|
60
|
-
Target.new(name, non_ignored_files)
|
61
|
+
Target.new(name, coverage, non_ignored_files)
|
61
62
|
end
|
62
63
|
|
63
64
|
def self.by_coverage_with_ignored_at_the_end
|
data/lib/xcov/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcov
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.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: 2018-
|
11
|
+
date: 2018-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane
|
@@ -201,4 +201,3 @@ signing_key:
|
|
201
201
|
specification_version: 4
|
202
202
|
summary: xcov is a friendly visualizer for Xcode's code coverage files
|
203
203
|
test_files: []
|
204
|
-
has_rdoc:
|