slather 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG.md +26 -0
- data/README.md +2 -2
- data/lib/slather/coverage_service/coveralls.rb +35 -0
- data/lib/slather/coverage_service/html_output.rb +3 -4
- data/lib/slather/profdata_coverage_file.rb +74 -34
- data/lib/slather/project.rb +40 -16
- data/lib/slather/version.rb +1 -1
- data/slather.gemspec +1 -1
- data/spec/fixtures/fixtures.xcodeproj/project.pbxproj +113 -4
- data/spec/fixtures/fixtures.xcodeproj/xcshareddata/xcschemes/aggregateFixturesTests.xcscheme +109 -0
- data/spec/fixtures/fixtures.xcodeproj/xcshareddata/xcschemes/fixturesTestsSecond.xcscheme +99 -0
- data/spec/fixtures/fixtures/fixtures.m +1 -1
- data/spec/fixtures/fixturesTests/fixturesTestsSecond.m +21 -0
- data/spec/fixtures/fixturesTests/{peekaviewTests.m → peekaviewTests/360/237/222/243.m} +1 -1
- data/spec/fixtures/fixtures_html/fixtures.m.html +1 -1
- data/spec/fixtures/fixtures_html/index.html +1 -1
- data/spec/fixtures/fixtures_html/{peekaviewTests.m.html → peekaviewTests/360/237/222/243.m.html} +4 -4
- data/spec/fixtures/gutter.json +1 -1
- data/spec/slather/coverage_file_spec.rb +1 -1
- data/spec/slather/coverage_service/coveralls_spec.rb +39 -0
- data/spec/slather/coverage_service/html_output_spec.rb +24 -24
- data/spec/slather/coverage_service/simple_output_spec.rb +2 -2
- data/spec/slather/profdata_coverage_spec.rb +27 -14
- data/spec/slather/project_spec.rb +11 -1
- data/spec/spec_helper.rb +1 -1
- metadata +50 -45
@@ -0,0 +1,21 @@
|
|
1
|
+
//
|
2
|
+
// fixturesTestsSecond.m
|
3
|
+
// fixturesTests
|
4
|
+
//
|
5
|
+
// Created by Mark Larsen on 6/24/14.
|
6
|
+
// Copyright (c) 2014 marklarr. All rights reserved.
|
7
|
+
//
|
8
|
+
|
9
|
+
#import <XCTest/XCTest.h>
|
10
|
+
|
11
|
+
@interface fixturesTestsSecond : XCTestCase
|
12
|
+
|
13
|
+
@end
|
14
|
+
|
15
|
+
@implementation fixturesTestsSecond
|
16
|
+
|
17
|
+
- (void)testExample
|
18
|
+
{
|
19
|
+
}
|
20
|
+
|
21
|
+
@end
|
@@ -39,7 +39,7 @@
|
|
39
39
|
</tr>
|
40
40
|
<tr class="never">
|
41
41
|
<td class="num">6</td>
|
42
|
-
<td class="src"><pre><code class="objc">// Copyright (c) 2014 marklarr
|
42
|
+
<td class="src"><pre><code class="objc">// Copyright (c) 2014 marklarr 🌟. All rights reserved.</code></pre></td>
|
43
43
|
<td class="coverage"></td>
|
44
44
|
</tr>
|
45
45
|
<tr class="never">
|
@@ -54,7 +54,7 @@
|
|
54
54
|
</tr>
|
55
55
|
<tr>
|
56
56
|
<td><span class="percentage cov_high data_percentage">100.00</span></td>
|
57
|
-
<td class="data_filename"><a href="peekaviewTests
|
57
|
+
<td class="data_filename"><a href="peekaviewTests💣.m.html">peekaviewTests💣.m</a></td>
|
58
58
|
<td class="data_lines">34</td>
|
59
59
|
<td class="data_relevant">11</td>
|
60
60
|
<td class="data_covered">11</td>
|
data/spec/fixtures/fixtures_html/{peekaviewTests.m.html → peekaviewTests/360/237/222/243.m.html}
RENAMED
@@ -1,16 +1,16 @@
|
|
1
1
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<title>peekaviewTests
|
4
|
+
<title>peekaviewTests💣.m - Slather</title>
|
5
5
|
<link href="slather.css" media="all" rel="stylesheet">
|
6
6
|
</head>
|
7
7
|
<body>
|
8
8
|
<header><div class="row"><a href="index.html"><img src="logo.jpg" alt="Slather logo"></a></div></header><div class="row"><div id="reports">
|
9
9
|
<h2 class="cov_title">
|
10
|
-
<span>Coverage for "peekaviewTests
|
10
|
+
<span>Coverage for "peekaviewTests💣.m" : </span><span class="cov_high">100.00%</span>
|
11
11
|
</h2>
|
12
12
|
<h4 class="cov_subtitle">(11 of 11 relevant lines covered)</h4>
|
13
|
-
<h4 class="cov_filepath">spec/fixtures/fixturesTests/peekaviewTests
|
13
|
+
<h4 class="cov_filepath">spec/fixtures/fixturesTests/peekaviewTests💣.m</h4>
|
14
14
|
<table class="source_code">
|
15
15
|
<tr class="never">
|
16
16
|
<td class="num">1</td>
|
@@ -19,7 +19,7 @@
|
|
19
19
|
</tr>
|
20
20
|
<tr class="never">
|
21
21
|
<td class="num">2</td>
|
22
|
-
<td class="src"><pre><code class="objc">// peekaviewTests
|
22
|
+
<td class="src"><pre><code class="objc">// peekaviewTests💣.m</code></pre></td>
|
23
23
|
<td class="coverage"></td>
|
24
24
|
</tr>
|
25
25
|
<tr class="never">
|
data/spec/fixtures/gutter.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"meta":{"timestamp":"2016-04-17 16:53:43.919308"},"symbols_by_file":{"spec/fixtures/fixtures/fixtures.m":[{"line":1,"long_text":"","short_text":"-"},{"line":2,"long_text":"","short_text":"-"},{"line":3,"long_text":"","short_text":"-"},{"line":4,"long_text":"","short_text":"-"},{"line":5,"long_text":"","short_text":"-"},{"line":6,"long_text":"","short_text":"-"},{"line":7,"long_text":"","short_text":"-"},{"line":8,"long_text":"","short_text":"-"},{"line":9,"long_text":"","short_text":"-"},{"line":10,"long_text":"","short_text":"-"},{"line":11,"long_text":"","short_text":"-"},{"line":12,"long_text":"","short_text":"-"},{"line":13,"long_text":"","short_text":"-"},{"line":14,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":15,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":16,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":17,"long_text":"","short_text":"-"},{"line":18,"long_text":"","short_text":"-"},{"line":19,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":20,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":21,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":22,"long_text":"","short_text":"-"},{"line":23,"long_text":"","short_text":"-"}],"spec/fixtures/fixtures/more_files/Branches.m":[{"line":1,"long_text":"","short_text":"-"},{"line":2,"long_text":"","short_text":"-"},{"line":3,"long_text":"","short_text":"-"},{"line":4,"long_text":"","short_text":"-"},{"line":5,"long_text":"","short_text":"-"},{"line":6,"long_text":"","short_text":"-"},{"line":7,"long_text":"","short_text":"-"},{"line":8,"long_text":"","short_text":"-"},{"line":9,"long_text":"","short_text":"-"},{"line":10,"long_text":"","short_text":"-"},{"line":11,"long_text":"","short_text":"-"},{"line":12,"long_text":"","short_text":"-"},{"line":13,"long_text":"","short_text":"-"},{"line":14,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":15,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":16,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":17,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":18,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":19,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":20,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":21,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":22,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":23,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":24,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":25,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":26,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":27,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":28,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":29,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":30,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":31,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":32,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":33,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":34,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":35,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":36,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":37,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":38,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":39,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":40,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":41,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":42,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":43,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":44,"long_text":"","short_text":"-"},{"line":45,"long_text":"","short_text":"-"}],"spec/fixtures/fixturesTests/BranchesTests.m":[{"line":1,"long_text":"","short_text":"-"},{"line":2,"long_text":"","short_text":"-"},{"line":3,"long_text":"","short_text":"-"},{"line":4,"long_text":"","short_text":"-"},{"line":5,"long_text":"","short_text":"-"},{"line":6,"long_text":"","short_text":"-"},{"line":7,"long_text":"","short_text":"-"},{"line":8,"long_text":"","short_text":"-"},{"line":9,"long_text":"","short_text":"-"},{"line":10,"long_text":"","short_text":"-"},{"line":11,"long_text":"","short_text":"-"},{"line":12,"long_text":"","short_text":"-"},{"line":13,"long_text":"","short_text":"-"},{"line":14,"long_text":"","short_text":"-"},{"line":15,"long_text":"","short_text":"-"},{"line":16,"long_text":"","short_text":"-"},{"line":17,"long_text":"","short_text":"-"},{"line":18,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":19,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":20,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":21,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":22,"long_text":"","short_text":"-"},{"line":23,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":24,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":25,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":26,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":27,"long_text":"","short_text":"-"},{"line":28,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":29,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":30,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":31,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":32,"long_text":"","short_text":"-"},{"line":33,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":34,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":35,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":36,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":37,"long_text":"","short_text":"-"},{"line":38,"long_text":"","short_text":"-"}],"spec/fixtures/fixturesTests/fixturesTests.m":[{"line":1,"long_text":"","short_text":"-"},{"line":2,"long_text":"","short_text":"-"},{"line":3,"long_text":"","short_text":"-"},{"line":4,"long_text":"","short_text":"-"},{"line":5,"long_text":"","short_text":"-"},{"line":6,"long_text":"","short_text":"-"},{"line":7,"long_text":"","short_text":"-"},{"line":8,"long_text":"","short_text":"-"},{"line":9,"long_text":"","short_text":"-"},{"line":10,"long_text":"","short_text":"-"},{"line":11,"long_text":"","short_text":"-"},{"line":12,"long_text":"","short_text":"-"},{"line":13,"long_text":"","short_text":"-"},{"line":14,"long_text":"","short_text":"-"},{"line":15,"long_text":"","short_text":"-"},{"line":16,"long_text":"","short_text":"-"},{"line":17,"long_text":"","short_text":"-"},{"line":18,"long_text":"","short_text":"-"},{"line":19,"long_text":"","short_text":"-"},{"line":20,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":21,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":22,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":23,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":24,"long_text":"","short_text":"-"},{"line":25,"long_text":"","short_text":"-"},{"line":26,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":27,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":28,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":29,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":30,"long_text":"","short_text":"-"},{"line":31,"long_text":"","short_text":"-"},{"line":32,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":33,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":34,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":35,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":36,"long_text":"","short_text":"-"},{"line":37,"long_text":"","short_text":"-"},{"line":38,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":39,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":40,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":41,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":42,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":43,"long_text":"","short_text":"-"},{"line":44,"long_text":"","short_text":"-"}],"spec/fixtures/fixturesTests/peekaviewTests.m":[{"line":1,"long_text":"","short_text":"-"},{"line":2,"long_text":"","short_text":"-"},{"line":3,"long_text":"","short_text":"-"},{"line":4,"long_text":"","short_text":"-"},{"line":5,"long_text":"","short_text":"-"},{"line":6,"long_text":"","short_text":"-"},{"line":7,"long_text":"","short_text":"-"},{"line":8,"long_text":"","short_text":"-"},{"line":9,"long_text":"","short_text":"-"},{"line":10,"long_text":"","short_text":"-"},{"line":11,"long_text":"","short_text":"-"},{"line":12,"long_text":"","short_text":"-"},{"line":13,"long_text":"","short_text":"-"},{"line":14,"long_text":"","short_text":"-"},{"line":15,"long_text":"","short_text":"-"},{"line":16,"long_text":"","short_text":"-"},{"line":17,"long_text":"","short_text":"-"},{"line":18,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":19,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":20,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":21,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":22,"long_text":"","short_text":"-"},{"line":23,"long_text":"","short_text":"-"},{"line":24,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":25,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":26,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":27,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":28,"long_text":"","short_text":"-"},{"line":29,"long_text":"","short_text":"-"},{"line":30,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":31,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":32,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":33,"long_text":"","short_text":"-"},{"line":34,"long_text":"","short_text":"-"}]}}
|
1
|
+
{"meta":{"timestamp":"2016-04-17 16:53:43.919308"},"symbols_by_file":{"spec/fixtures/fixtures/fixtures.m":[{"line":1,"long_text":"","short_text":"-"},{"line":2,"long_text":"","short_text":"-"},{"line":3,"long_text":"","short_text":"-"},{"line":4,"long_text":"","short_text":"-"},{"line":5,"long_text":"","short_text":"-"},{"line":6,"long_text":"","short_text":"-"},{"line":7,"long_text":"","short_text":"-"},{"line":8,"long_text":"","short_text":"-"},{"line":9,"long_text":"","short_text":"-"},{"line":10,"long_text":"","short_text":"-"},{"line":11,"long_text":"","short_text":"-"},{"line":12,"long_text":"","short_text":"-"},{"line":13,"long_text":"","short_text":"-"},{"line":14,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":15,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":16,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":17,"long_text":"","short_text":"-"},{"line":18,"long_text":"","short_text":"-"},{"line":19,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":20,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":21,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":22,"long_text":"","short_text":"-"},{"line":23,"long_text":"","short_text":"-"}],"spec/fixtures/fixtures/more_files/Branches.m":[{"line":1,"long_text":"","short_text":"-"},{"line":2,"long_text":"","short_text":"-"},{"line":3,"long_text":"","short_text":"-"},{"line":4,"long_text":"","short_text":"-"},{"line":5,"long_text":"","short_text":"-"},{"line":6,"long_text":"","short_text":"-"},{"line":7,"long_text":"","short_text":"-"},{"line":8,"long_text":"","short_text":"-"},{"line":9,"long_text":"","short_text":"-"},{"line":10,"long_text":"","short_text":"-"},{"line":11,"long_text":"","short_text":"-"},{"line":12,"long_text":"","short_text":"-"},{"line":13,"long_text":"","short_text":"-"},{"line":14,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":15,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":16,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":17,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":18,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":19,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":20,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":21,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":22,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":23,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":24,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":25,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":26,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":27,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":28,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":29,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":30,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":31,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":32,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":33,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":34,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":35,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":36,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":37,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":38,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":39,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":40,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":41,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":42,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":43,"long_text":"","short_text":"0","background_color":"0xFC635E"},{"line":44,"long_text":"","short_text":"-"},{"line":45,"long_text":"","short_text":"-"}],"spec/fixtures/fixturesTests/BranchesTests.m":[{"line":1,"long_text":"","short_text":"-"},{"line":2,"long_text":"","short_text":"-"},{"line":3,"long_text":"","short_text":"-"},{"line":4,"long_text":"","short_text":"-"},{"line":5,"long_text":"","short_text":"-"},{"line":6,"long_text":"","short_text":"-"},{"line":7,"long_text":"","short_text":"-"},{"line":8,"long_text":"","short_text":"-"},{"line":9,"long_text":"","short_text":"-"},{"line":10,"long_text":"","short_text":"-"},{"line":11,"long_text":"","short_text":"-"},{"line":12,"long_text":"","short_text":"-"},{"line":13,"long_text":"","short_text":"-"},{"line":14,"long_text":"","short_text":"-"},{"line":15,"long_text":"","short_text":"-"},{"line":16,"long_text":"","short_text":"-"},{"line":17,"long_text":"","short_text":"-"},{"line":18,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":19,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":20,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":21,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":22,"long_text":"","short_text":"-"},{"line":23,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":24,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":25,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":26,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":27,"long_text":"","short_text":"-"},{"line":28,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":29,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":30,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":31,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":32,"long_text":"","short_text":"-"},{"line":33,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":34,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":35,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":36,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":37,"long_text":"","short_text":"-"},{"line":38,"long_text":"","short_text":"-"}],"spec/fixtures/fixturesTests/fixturesTests.m":[{"line":1,"long_text":"","short_text":"-"},{"line":2,"long_text":"","short_text":"-"},{"line":3,"long_text":"","short_text":"-"},{"line":4,"long_text":"","short_text":"-"},{"line":5,"long_text":"","short_text":"-"},{"line":6,"long_text":"","short_text":"-"},{"line":7,"long_text":"","short_text":"-"},{"line":8,"long_text":"","short_text":"-"},{"line":9,"long_text":"","short_text":"-"},{"line":10,"long_text":"","short_text":"-"},{"line":11,"long_text":"","short_text":"-"},{"line":12,"long_text":"","short_text":"-"},{"line":13,"long_text":"","short_text":"-"},{"line":14,"long_text":"","short_text":"-"},{"line":15,"long_text":"","short_text":"-"},{"line":16,"long_text":"","short_text":"-"},{"line":17,"long_text":"","short_text":"-"},{"line":18,"long_text":"","short_text":"-"},{"line":19,"long_text":"","short_text":"-"},{"line":20,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":21,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":22,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":23,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":24,"long_text":"","short_text":"-"},{"line":25,"long_text":"","short_text":"-"},{"line":26,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":27,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":28,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":29,"long_text":"","short_text":"2","background_color":"0x35CC4B"},{"line":30,"long_text":"","short_text":"-"},{"line":31,"long_text":"","short_text":"-"},{"line":32,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":33,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":34,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":35,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":36,"long_text":"","short_text":"-"},{"line":37,"long_text":"","short_text":"-"},{"line":38,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":39,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":40,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":41,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":42,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":43,"long_text":"","short_text":"-"},{"line":44,"long_text":"","short_text":"-"}],"spec/fixtures/fixturesTests/peekaviewTests💣.m":[{"line":1,"long_text":"","short_text":"-"},{"line":2,"long_text":"","short_text":"-"},{"line":3,"long_text":"","short_text":"-"},{"line":4,"long_text":"","short_text":"-"},{"line":5,"long_text":"","short_text":"-"},{"line":6,"long_text":"","short_text":"-"},{"line":7,"long_text":"","short_text":"-"},{"line":8,"long_text":"","short_text":"-"},{"line":9,"long_text":"","short_text":"-"},{"line":10,"long_text":"","short_text":"-"},{"line":11,"long_text":"","short_text":"-"},{"line":12,"long_text":"","short_text":"-"},{"line":13,"long_text":"","short_text":"-"},{"line":14,"long_text":"","short_text":"-"},{"line":15,"long_text":"","short_text":"-"},{"line":16,"long_text":"","short_text":"-"},{"line":17,"long_text":"","short_text":"-"},{"line":18,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":19,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":20,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":21,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":22,"long_text":"","short_text":"-"},{"line":23,"long_text":"","short_text":"-"},{"line":24,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":25,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":26,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":27,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":28,"long_text":"","short_text":"-"},{"line":29,"long_text":"","short_text":"-"},{"line":30,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":31,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":32,"long_text":"","short_text":"1","background_color":"0x35CC4B"},{"line":33,"long_text":"","short_text":"-"},{"line":34,"long_text":"","short_text":"-"}]}}
|
@@ -112,6 +112,45 @@ describe Slather::CoverageService::Coveralls do
|
|
112
112
|
fixtures_project.ci_service = :jenkins_ci
|
113
113
|
expect { fixtures_project.send(:coveralls_coverage_data) }.to raise_error(StandardError)
|
114
114
|
end
|
115
|
+
|
116
|
+
context "coverage_service is :teamcity" do
|
117
|
+
before(:each) { fixtures_project.ci_service = :teamcity }
|
118
|
+
|
119
|
+
it "should return valid json for coveralls coverage data" do
|
120
|
+
allow(fixtures_project).to receive(:teamcity_job_id).and_return("9182")
|
121
|
+
allow(fixtures_project).to receive(:coverage_access_token).and_return("abc123")
|
122
|
+
allow(fixtures_project).to receive(:teamcity_git_info).and_return({head: {id: "master", author_name: "author", author_email: "john.doe@slather.com", message: "pull title" }, branch: "branch"})
|
123
|
+
allow(fixtures_project).to receive(:teamcity_branch_name).and_return('master')
|
124
|
+
expect(fixtures_project.send(:coveralls_coverage_data)).to be_json_eql("{\"service_job_id\":\"9182\",\"service_name\":\"teamcity\",\"repo_token\":\"abc123\",\"git\":{\"head\":{\"id\":\"master\",\"author_name\":\"author\",\"author_email\":\"john.doe@slather.com\",\"message\":\"pull title\"},\"branch\":\"branch\"}}").excluding("source_files")
|
125
|
+
expect(fixtures_project.send(:coveralls_coverage_data)).to be_json_eql(fixtures_project.coverage_files.map(&:as_json).to_json).at_path("source_files")
|
126
|
+
end
|
127
|
+
|
128
|
+
it "should raise an error if there is no TC_BUILD_NUMBER" do
|
129
|
+
allow(fixtures_project).to receive(:teamcity_job_id).and_return(nil)
|
130
|
+
expect { fixtures_project.send(:coveralls_coverage_data) }.to raise_error(StandardError)
|
131
|
+
end
|
132
|
+
|
133
|
+
it "should return the teamcity branch name" do
|
134
|
+
git_branch = ENV['GIT_BRANCH']
|
135
|
+
ENV['GIT_BRANCH'] = "master"
|
136
|
+
expect(fixtures_project.send(:teamcity_branch_name)).to eq("master")
|
137
|
+
ENV['GIT_BRANCH'] = git_branch
|
138
|
+
end
|
139
|
+
|
140
|
+
it "should return the teamcity job id" do
|
141
|
+
teamcity_job_id = ENV['TC_BUILD_NUMBER']
|
142
|
+
ENV['TC_BUILD_NUMBER'] = "9182"
|
143
|
+
expect(fixtures_project.send(:teamcity_job_id)).to eq("9182")
|
144
|
+
ENV['TC_BUILD_NUMBER'] = teamcity_job_id
|
145
|
+
end
|
146
|
+
|
147
|
+
it "should return teamcity git info" do
|
148
|
+
git_branch = ENV['GIT_BRANCH']
|
149
|
+
ENV['GIT_BRANCH'] = "master"
|
150
|
+
expect(fixtures_project.send(:teamcity_git_info)).to eq({head: {id: `git log --format=%H -n 1 HEAD`.chomp, author_name: `git log --format=%an -n 1 HEAD`.chomp, author_email: `git log --format=%ae -n 1 HEAD`.chomp, message: `git log --format=%s -n 1 HEAD`.chomp }, branch: "master"})
|
151
|
+
ENV['GIT_BRANCH'] = git_branch
|
152
|
+
end
|
153
|
+
end
|
115
154
|
end
|
116
155
|
|
117
156
|
describe '#coveralls_coverage_data' do
|
@@ -10,7 +10,7 @@ describe Slather::CoverageService::HtmlOutput do
|
|
10
10
|
"fixtures.m",
|
11
11
|
"Branches.m",
|
12
12
|
"fixturesTests.m",
|
13
|
-
"peekaviewTests
|
13
|
+
"peekaviewTests💣.m",
|
14
14
|
"BranchesTests.m"].map { |file| "#{file}.html"}
|
15
15
|
end
|
16
16
|
|
@@ -186,29 +186,29 @@ describe Slather::CoverageService::HtmlOutput do
|
|
186
186
|
|
187
187
|
allow(fixtures_project).to receive(:input_format).and_return("profdata")
|
188
188
|
allow(fixtures_project).to receive(:profdata_llvm_cov_output).and_return("./spec/fixtures/fixtures/other_fixtures.m:
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
1|
|
203
|
-
|
204
|
-
1|
|
205
|
-
|
206
|
-
|
207
|
-
0|
|
208
|
-
|
209
|
-
0|
|
210
|
-
|
211
|
-
|
189
|
+
1| |//
|
190
|
+
2| |// other_fixtures.m
|
191
|
+
3| |// fixtures
|
192
|
+
4| |//
|
193
|
+
5| |// Created by Mark Larsen on 6/24/14.
|
194
|
+
6| |// Copyright (c) 2014 marklarr. All rights reserved.
|
195
|
+
7| |//
|
196
|
+
8| |
|
197
|
+
9| |#import \"other_fixtures.h\"
|
198
|
+
10| |
|
199
|
+
11| |@implementation other_fixtures
|
200
|
+
12| |
|
201
|
+
13| |- (void)testedMethod
|
202
|
+
14| 1|{
|
203
|
+
15| 1| NSLog(@\"tested\");
|
204
|
+
16| 1|}
|
205
|
+
17| |
|
206
|
+
18| |- (void)untestedMethod
|
207
|
+
19| 0|{
|
208
|
+
20| 0| NSLog(@\"untested\");
|
209
|
+
21| 0|}
|
210
|
+
22| |
|
211
|
+
23| |@end
|
212
212
|
")
|
213
213
|
fixtures_project.post
|
214
214
|
|
@@ -23,7 +23,7 @@ describe Slather::CoverageService::SimpleOutput do
|
|
23
23
|
"spec/fixtures/fixtures/more_files/Branches.m: 13 of 30 lines (43.33%)",
|
24
24
|
"spec/fixtures/fixturesTests/BranchesTests.m: 16 of 16 lines (100.00%)",
|
25
25
|
"spec/fixtures/fixturesTests/fixturesTests.m: 17 of 17 lines (100.00%)",
|
26
|
-
"spec/fixtures/fixturesTests/peekaviewTests
|
26
|
+
"spec/fixtures/fixturesTests/peekaviewTests💣.m: 11 of 11 lines (100.00%)",
|
27
27
|
"spec/fixtures/fixturesTwo/fixturesTwo.m: 6 of 6 lines (100.00%)",
|
28
28
|
"Test Coverage: 76.74%"
|
29
29
|
].each do |line|
|
@@ -43,7 +43,7 @@ describe Slather::CoverageService::SimpleOutput do
|
|
43
43
|
"spec/fixtures/fixtures/more_files/Branches.m: 13 of 30 lines (43.33%)",
|
44
44
|
"spec/fixtures/fixturesTests/BranchesTests.m: 16 of 16 lines (100.00%)",
|
45
45
|
"spec/fixtures/fixturesTests/fixturesTests.m: 17 of 17 lines (100.00%)",
|
46
|
-
"spec/fixtures/fixturesTests/peekaviewTests
|
46
|
+
"spec/fixtures/fixturesTests/peekaviewTests💣.m: 11 of 11 lines (100.00%)",
|
47
47
|
"spec/fixtures/fixturesTwo/fixturesTwo.m: 6 of 6 lines (100.00%)",
|
48
48
|
"##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='66']",
|
49
49
|
"##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='86']",
|
@@ -52,7 +52,7 @@ describe Slather::ProfdataCoverageFile do
|
|
52
52
|
| 42|
|
53
53
|
| 43|
|
54
54
|
| 44|}
|
55
|
-
| 45|")
|
55
|
+
| 45|", false)
|
56
56
|
end
|
57
57
|
|
58
58
|
describe "#initialize" do
|
@@ -71,37 +71,50 @@ describe Slather::ProfdataCoverageFile do
|
|
71
71
|
|
72
72
|
describe "#line_number_in_line" do
|
73
73
|
it "should return the correct line number for coverage represented as decimals" do
|
74
|
-
expect(profdata_coverage_file.line_number_in_line(" 0| 40| func applicationWillTerminate(application: UIApplication) {")).to eq(40)
|
74
|
+
expect(profdata_coverage_file.line_number_in_line(" 0| 40| func applicationWillTerminate(application: UIApplication) {", false)).to eq(40)
|
75
75
|
end
|
76
76
|
|
77
77
|
it "should return the correct line number for coverage represented as thousands" do
|
78
|
-
expect(profdata_coverage_file.line_number_in_line(" 11.8k| 41| func applicationWillTerminate(application: UIApplication) {")).to eq(41)
|
78
|
+
expect(profdata_coverage_file.line_number_in_line(" 11.8k| 41| func applicationWillTerminate(application: UIApplication) {", false)).to eq(41)
|
79
79
|
end
|
80
80
|
|
81
81
|
it "should return the correct line number for coverage represented as milions" do
|
82
|
-
expect(profdata_coverage_file.line_number_in_line(" 2.58M| 42| func applicationWillTerminate(application: UIApplication) {")).to eq(42)
|
82
|
+
expect(profdata_coverage_file.line_number_in_line(" 2.58M| 42| func applicationWillTerminate(application: UIApplication) {", false)).to eq(42)
|
83
|
+
end
|
84
|
+
|
85
|
+
it "should handle line numbers first" do
|
86
|
+
expect(profdata_coverage_file.line_number_in_line(" 18| 1| return a + b;", true)).to eq(18)
|
87
|
+
expect(profdata_coverage_file.line_number_in_line(" 18| 2.58M| return a + b;", true)).to eq(18)
|
88
|
+
expect(profdata_coverage_file.line_number_in_line(" 18| 11.8k| return a + b;", true)).to eq(18)
|
89
|
+
expect(profdata_coverage_file.line_number_in_line(" 4| |//", true)).to eq(4)
|
83
90
|
end
|
84
91
|
end
|
85
92
|
|
86
93
|
describe "#coverage_for_line" do
|
87
94
|
it "should return the number of hits for the line" do
|
88
|
-
expect(profdata_coverage_file.coverage_for_line(" 10| 40| func applicationWillTerminate(application: UIApplication) {")).to eq(10)
|
95
|
+
expect(profdata_coverage_file.coverage_for_line(" 10| 40| func applicationWillTerminate(application: UIApplication) {", false)).to eq(10)
|
89
96
|
end
|
90
97
|
|
91
98
|
it "should return the number of hits for a line in thousands as an integer" do
|
92
|
-
result = profdata_coverage_file.coverage_for_line(" 11.8k| 49| return result;")
|
99
|
+
result = profdata_coverage_file.coverage_for_line(" 11.8k| 49| return result;", false)
|
93
100
|
expect(result).to eq(11800)
|
94
|
-
expect(result).to be_a(
|
101
|
+
expect(result).to be_a(Integer)
|
95
102
|
end
|
96
103
|
|
97
104
|
it "should return the number of hits for a line in millions as an integer" do
|
98
|
-
result = profdata_coverage_file.coverage_for_line(" 2.58M| 49| return result;")
|
105
|
+
result = profdata_coverage_file.coverage_for_line(" 2.58M| 49| return result;", false)
|
99
106
|
expect(result).to eq(2580000)
|
100
|
-
expect(result).to be_a(
|
107
|
+
expect(result).to be_a(Integer)
|
101
108
|
end
|
102
109
|
|
103
110
|
it "should return the number of hits for an uncovered line" do
|
104
|
-
expect(profdata_coverage_file.coverage_for_line(" 0| 49| return result;")).to eq(0)
|
111
|
+
expect(profdata_coverage_file.coverage_for_line(" 0| 49| return result;", false)).to eq(0)
|
112
|
+
end
|
113
|
+
|
114
|
+
it "should handle line numbers first" do
|
115
|
+
expect(profdata_coverage_file.coverage_for_line(" 18| 1| return a + b;", true)).to eq(1)
|
116
|
+
expect(profdata_coverage_file.coverage_for_line(" 18| 11.8k| return a + b;", true)).to eq(11800)
|
117
|
+
expect(profdata_coverage_file.coverage_for_line(" 18| 2.58M| return a + b;", true)).to eq(2580000)
|
105
118
|
end
|
106
119
|
end
|
107
120
|
|
@@ -133,7 +146,7 @@ describe Slather::ProfdataCoverageFile do
|
|
133
146
|
ignorable_file = Slather::ProfdataCoverageFile.new(fixtures_project, "/Users/venmo/ExampleProject/AppDelegate.swift:
|
134
147
|
| 1|//
|
135
148
|
| 2|// AppDelegate.swift
|
136
|
-
| 3|// xcode7workbench01")
|
149
|
+
| 3|// xcode7workbench01", false)
|
137
150
|
|
138
151
|
expect(ignorable_file.ignored?).to be_falsy
|
139
152
|
end
|
@@ -142,17 +155,17 @@ describe Slather::ProfdataCoverageFile do
|
|
142
155
|
ignorable_file = Slather::ProfdataCoverageFile.new(fixtures_project, "../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCTest.framework/Headers/XCTestAssertionsImpl.h:
|
143
156
|
| 1|//
|
144
157
|
| 2|// AppDelegate.swift
|
145
|
-
| 3|// xcode7workbench01")
|
158
|
+
| 3|// xcode7workbench01", false)
|
146
159
|
|
147
160
|
expect(ignorable_file.ignored?).to be_truthy
|
148
161
|
end
|
149
162
|
|
150
163
|
it "should ignore warnings" do
|
151
|
-
ignorable_file = Slather::ProfdataCoverageFile.new(fixtures_project, "warning The file '/Users/ci/.ccache/tmp/CALayer-KI.stdout.macmini08.92540.QAQaxt.mi' isn't covered.")
|
164
|
+
ignorable_file = Slather::ProfdataCoverageFile.new(fixtures_project, "warning The file '/Users/ci/.ccache/tmp/CALayer-KI.stdout.macmini08.92540.QAQaxt.mi' isn't covered.", false)
|
152
165
|
|
153
166
|
expect(ignorable_file.ignored?).to be_truthy
|
154
167
|
end
|
155
168
|
|
156
169
|
end
|
157
170
|
|
158
|
-
end
|
171
|
+
end
|
@@ -44,7 +44,7 @@ describe Slather::Project do
|
|
44
44
|
allow(Dir).to receive(:[]).with("#{fixtures_project.build_directory}/**/*.gcno").and_return(["/some/path/fixtures.gcno",
|
45
45
|
"/some/path/peekaview.gcno",
|
46
46
|
"/some/path/fixturesTests.gcno",
|
47
|
-
"/some/path/peekaviewTests
|
47
|
+
"/some/path/peekaviewTests💣.gcno",
|
48
48
|
"/some/path/NotInProject.gcno",
|
49
49
|
"/some/path/NSRange.gcno"])
|
50
50
|
allow(fixtures_project).to receive(:coverage_file_class).and_return(SpecCoverageFile)
|
@@ -169,6 +169,16 @@ describe Slather::Project do
|
|
169
169
|
expect(binary_file_location.first).to end_with("Debug/fixturesTests.xctest/Contents/MacOS/fixturesTests")
|
170
170
|
end
|
171
171
|
|
172
|
+
it "should find multiple unique paths for a scheme with serveral buildable/testable products" do
|
173
|
+
allow(fixtures_project).to receive(:scheme).and_return("aggregateFixturesTests")
|
174
|
+
fixtures_project.send(:configure_binary_file)
|
175
|
+
binary_file_location = fixtures_project.send(:binary_file)
|
176
|
+
expect(binary_file_location).to contain_exactly(
|
177
|
+
end_with("Debug/fixturesTests.xctest/Contents/MacOS/fixturesTests"),
|
178
|
+
end_with("Debug/fixturesTestsSecond.xctest/Contents/MacOS/fixturesTestsSecond"),
|
179
|
+
)
|
180
|
+
end
|
181
|
+
|
172
182
|
let(:fixture_yaml) do
|
173
183
|
yaml_text = <<-EOF
|
174
184
|
binary_file: "/FixtureScheme/From/Yaml/Contents/MacOS/FixturesFromYaml"
|
data/spec/spec_helper.rb
CHANGED
@@ -48,7 +48,7 @@ RSpec.configure do |config|
|
|
48
48
|
FixtureHelpers.delete_derived_data
|
49
49
|
FixtureHelpers.delete_temp_gcov_files
|
50
50
|
`xcodebuild -project "#{FIXTURES_PROJECT_PATH}" -scheme fixtures -configuration Debug -derivedDataPath #{TEMP_PROJECT_BUILD_PATH} -enableCodeCoverage YES clean test`
|
51
|
-
`xcodebuild -workspace "#{FIXTURES_WORKSPACE_PATH}" -scheme
|
51
|
+
`xcodebuild -workspace "#{FIXTURES_WORKSPACE_PATH}" -scheme aggregateFixturesTests -configuration Debug -derivedDataPath #{TEMP_WORKSPACE_BUILD_PATH} -enableCodeCoverage YES clean test`
|
52
52
|
end
|
53
53
|
|
54
54
|
config.after(:suite) do
|
metadata
CHANGED
@@ -1,207 +1,207 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slather
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Larsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.6'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: coveralls
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: simplecov
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '10.4'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '10.4'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '3.4'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '3.4'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: pry
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0.9'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0.9'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: cocoapods
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '1.0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '1.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: json_spec
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - ~>
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: 1.1.4
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - ~>
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 1.1.4
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: equivalent-xml
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - ~>
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: 0.5.1
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - ~>
|
136
|
+
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 0.5.1
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: clamp
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - ~>
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0.6'
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - ~>
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0.6'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: xcodeproj
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - <
|
157
|
+
- - "<"
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: 2.0.0
|
160
|
-
- -
|
160
|
+
- - ">="
|
161
161
|
- !ruby/object:Gem::Version
|
162
162
|
version: '0.20'
|
163
163
|
type: :runtime
|
164
164
|
prerelease: false
|
165
165
|
version_requirements: !ruby/object:Gem::Requirement
|
166
166
|
requirements:
|
167
|
-
- - <
|
167
|
+
- - "<"
|
168
168
|
- !ruby/object:Gem::Version
|
169
169
|
version: 2.0.0
|
170
|
-
- -
|
170
|
+
- - ">="
|
171
171
|
- !ruby/object:Gem::Version
|
172
172
|
version: '0.20'
|
173
173
|
- !ruby/object:Gem::Dependency
|
174
174
|
name: nokogiri
|
175
175
|
requirement: !ruby/object:Gem::Requirement
|
176
176
|
requirements:
|
177
|
-
- - ~>
|
177
|
+
- - "~>"
|
178
178
|
- !ruby/object:Gem::Version
|
179
|
-
version: 1.6
|
179
|
+
version: '1.6'
|
180
180
|
type: :runtime
|
181
181
|
prerelease: false
|
182
182
|
version_requirements: !ruby/object:Gem::Requirement
|
183
183
|
requirements:
|
184
|
-
- - ~>
|
184
|
+
- - "~>"
|
185
185
|
- !ruby/object:Gem::Version
|
186
|
-
version: 1.6
|
186
|
+
version: '1.6'
|
187
187
|
- !ruby/object:Gem::Dependency
|
188
188
|
name: activesupport
|
189
189
|
requirement: !ruby/object:Gem::Requirement
|
190
190
|
requirements:
|
191
|
-
- -
|
191
|
+
- - ">="
|
192
192
|
- !ruby/object:Gem::Version
|
193
193
|
version: 4.0.2
|
194
|
-
- - <
|
194
|
+
- - "<"
|
195
195
|
- !ruby/object:Gem::Version
|
196
196
|
version: '5'
|
197
197
|
type: :runtime
|
198
198
|
prerelease: false
|
199
199
|
version_requirements: !ruby/object:Gem::Requirement
|
200
200
|
requirements:
|
201
|
-
- -
|
201
|
+
- - ">="
|
202
202
|
- !ruby/object:Gem::Version
|
203
203
|
version: 4.0.2
|
204
|
-
- - <
|
204
|
+
- - "<"
|
205
205
|
- !ruby/object:Gem::Version
|
206
206
|
version: '5'
|
207
207
|
description:
|
@@ -212,9 +212,9 @@ executables:
|
|
212
212
|
extensions: []
|
213
213
|
extra_rdoc_files: []
|
214
214
|
files:
|
215
|
-
- .coveralls.yml
|
216
|
-
- .gitignore
|
217
|
-
- .travis.yml
|
215
|
+
- ".coveralls.yml"
|
216
|
+
- ".gitignore"
|
217
|
+
- ".travis.yml"
|
218
218
|
- CHANGELOG.md
|
219
219
|
- Gemfile
|
220
220
|
- LICENSE.txt
|
@@ -247,8 +247,10 @@ files:
|
|
247
247
|
- spec/fixtures/cobertura.xml
|
248
248
|
- spec/fixtures/fixtures.xcodeproj/project.pbxproj
|
249
249
|
- spec/fixtures/fixtures.xcodeproj/project.xcworkspace/contents.xcworkspacedata
|
250
|
+
- spec/fixtures/fixtures.xcodeproj/xcshareddata/xcschemes/aggregateFixturesTests.xcscheme
|
250
251
|
- spec/fixtures/fixtures.xcodeproj/xcshareddata/xcschemes/fixtures.xcscheme
|
251
252
|
- spec/fixtures/fixtures.xcodeproj/xcshareddata/xcschemes/fixturesTests.xcscheme
|
253
|
+
- spec/fixtures/fixtures.xcodeproj/xcshareddata/xcschemes/fixturesTestsSecond.xcscheme
|
252
254
|
- spec/fixtures/fixtures.xcodeproj/xcshareddata/xcschemes/fixturesTwo.xcscheme
|
253
255
|
- spec/fixtures/fixtures.xcworkspace/contents.xcworkspacedata
|
254
256
|
- spec/fixtures/fixtures.xcworkspace/xcshareddata/xcschemes/fixturesTestsWorkspace.xcscheme
|
@@ -273,7 +275,8 @@ files:
|
|
273
275
|
- spec/fixtures/fixturesTests/Supporting Files/en.lproj/InfoPlist.strings
|
274
276
|
- spec/fixtures/fixturesTests/Supporting Files/fixturesTests-Info.plist
|
275
277
|
- spec/fixtures/fixturesTests/fixturesTests.m
|
276
|
-
- spec/fixtures/fixturesTests/
|
278
|
+
- spec/fixtures/fixturesTests/fixturesTestsSecond.m
|
279
|
+
- "spec/fixtures/fixturesTests/peekaviewTests\U0001F4A3.m"
|
277
280
|
- spec/fixtures/fixturesTwo/fixturesTwo.h
|
278
281
|
- spec/fixtures/fixturesTwo/fixturesTwo.m
|
279
282
|
- spec/fixtures/fixtures_html/Branches.m.html
|
@@ -281,7 +284,7 @@ files:
|
|
281
284
|
- spec/fixtures/fixtures_html/fixtures.m.html
|
282
285
|
- spec/fixtures/fixtures_html/fixturesTests.m.html
|
283
286
|
- spec/fixtures/fixtures_html/index.html
|
284
|
-
- spec/fixtures/fixtures_html/peekaviewTests.m.html
|
287
|
+
- "spec/fixtures/fixtures_html/peekaviewTests\U0001F4A3.m.html"
|
285
288
|
- spec/fixtures/gutter.json
|
286
289
|
- spec/slather/cocoapods_plugin_spec.rb
|
287
290
|
- spec/slather/coverage_file_spec.rb
|
@@ -305,17 +308,17 @@ require_paths:
|
|
305
308
|
- lib
|
306
309
|
required_ruby_version: !ruby/object:Gem::Requirement
|
307
310
|
requirements:
|
308
|
-
- -
|
311
|
+
- - ">="
|
309
312
|
- !ruby/object:Gem::Version
|
310
313
|
version: '0'
|
311
314
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
312
315
|
requirements:
|
313
|
-
- -
|
316
|
+
- - ">="
|
314
317
|
- !ruby/object:Gem::Version
|
315
318
|
version: '0'
|
316
319
|
requirements: []
|
317
320
|
rubyforge_project:
|
318
|
-
rubygems_version: 2.
|
321
|
+
rubygems_version: 2.6.8
|
319
322
|
signing_key:
|
320
323
|
specification_version: 4
|
321
324
|
summary: Test coverage reports for Xcode projects
|
@@ -323,8 +326,10 @@ test_files:
|
|
323
326
|
- spec/fixtures/cobertura.xml
|
324
327
|
- spec/fixtures/fixtures.xcodeproj/project.pbxproj
|
325
328
|
- spec/fixtures/fixtures.xcodeproj/project.xcworkspace/contents.xcworkspacedata
|
329
|
+
- spec/fixtures/fixtures.xcodeproj/xcshareddata/xcschemes/aggregateFixturesTests.xcscheme
|
326
330
|
- spec/fixtures/fixtures.xcodeproj/xcshareddata/xcschemes/fixtures.xcscheme
|
327
331
|
- spec/fixtures/fixtures.xcodeproj/xcshareddata/xcschemes/fixturesTests.xcscheme
|
332
|
+
- spec/fixtures/fixtures.xcodeproj/xcshareddata/xcschemes/fixturesTestsSecond.xcscheme
|
328
333
|
- spec/fixtures/fixtures.xcodeproj/xcshareddata/xcschemes/fixturesTwo.xcscheme
|
329
334
|
- spec/fixtures/fixtures.xcworkspace/contents.xcworkspacedata
|
330
335
|
- spec/fixtures/fixtures.xcworkspace/xcshareddata/xcschemes/fixturesTestsWorkspace.xcscheme
|
@@ -349,7 +354,8 @@ test_files:
|
|
349
354
|
- spec/fixtures/fixturesTests/Supporting Files/en.lproj/InfoPlist.strings
|
350
355
|
- spec/fixtures/fixturesTests/Supporting Files/fixturesTests-Info.plist
|
351
356
|
- spec/fixtures/fixturesTests/fixturesTests.m
|
352
|
-
- spec/fixtures/fixturesTests/
|
357
|
+
- spec/fixtures/fixturesTests/fixturesTestsSecond.m
|
358
|
+
- "spec/fixtures/fixturesTests/peekaviewTests\U0001F4A3.m"
|
353
359
|
- spec/fixtures/fixturesTwo/fixturesTwo.h
|
354
360
|
- spec/fixtures/fixturesTwo/fixturesTwo.m
|
355
361
|
- spec/fixtures/fixtures_html/Branches.m.html
|
@@ -357,7 +363,7 @@ test_files:
|
|
357
363
|
- spec/fixtures/fixtures_html/fixtures.m.html
|
358
364
|
- spec/fixtures/fixtures_html/fixturesTests.m.html
|
359
365
|
- spec/fixtures/fixtures_html/index.html
|
360
|
-
- spec/fixtures/fixtures_html/peekaviewTests.m.html
|
366
|
+
- "spec/fixtures/fixtures_html/peekaviewTests\U0001F4A3.m.html"
|
361
367
|
- spec/fixtures/gutter.json
|
362
368
|
- spec/slather/cocoapods_plugin_spec.rb
|
363
369
|
- spec/slather/coverage_file_spec.rb
|
@@ -371,4 +377,3 @@ test_files:
|
|
371
377
|
- spec/slather/profdata_coverage_spec.rb
|
372
378
|
- spec/slather/project_spec.rb
|
373
379
|
- spec/spec_helper.rb
|
374
|
-
has_rdoc:
|