xcov 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +28 -14
- data/assets/images/xcov_logo.png +0 -0
- data/assets/stylesheets/main.css +5 -3
- data/lib/xcov/version.rb +1 -1
- metadata +4 -89
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cc473e34b8c7151c8b43371b9765f4412eb3981
|
4
|
+
data.tar.gz: 34cc737e01913533f588209e9e46b95fd52c7f02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b528696962d8b8a0f25378e49a2240a87e03a7978da45605915a99cf8612dceb3df57e40e0a6d6e5fb6e8a04311681eb6426801d0a00622db9940d9b283cc29b
|
7
|
+
data.tar.gz: 5ba6bcbda534b41ebf27d53d47ac416fd0107356b947a989dace44fa5f363cb73311e9da0b02d1e1b02d8c4db314e646999d6becddf1ae677d09ba3b1ce4b2dc
|
data/README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
|
1
|
+
<h3 align="center">
|
2
|
+
<img src="/assets_readme/logo.png" alt="xcov Logo" />
|
3
|
+
</h3>
|
2
4
|
-------
|
3
5
|
[![Twitter: @carlostify](https://img.shields.io/badge/contact-@carlostify-blue.svg?style=flat)](https://twitter.com/carlostify)
|
4
6
|
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/nakiostudio/xcov/blob/master/LICENSE)
|
@@ -19,11 +21,15 @@ sudo gem install xcov
|
|
19
21
|
* Compatible with [Coveralls](https://coveralls.io).
|
20
22
|
* Nice HTML reports.
|
21
23
|
|
22
|
-
|
24
|
+
<h3 align="center">
|
25
|
+
<img src="/assets_readme/report.png" />
|
26
|
+
</h3>
|
23
27
|
|
24
28
|
* Slack integration.
|
25
29
|
|
26
|
-
|
30
|
+
<h3 align="center">
|
31
|
+
<img src="/assets_readme/slack_integration.png" />
|
32
|
+
</h3>
|
27
33
|
|
28
34
|
## Requirements
|
29
35
|
In order to make *xcov* run you must:
|
@@ -32,7 +38,9 @@ In order to make *xcov* run you must:
|
|
32
38
|
* Set your project scheme as **shared**.
|
33
39
|
* Enable the **Gather coverage data** setting available on your scheme settings window.
|
34
40
|
|
35
|
-
|
41
|
+
<h3 align="center">
|
42
|
+
<img src="/assets_readme/gather_coverage.png" />
|
43
|
+
</h3>
|
36
44
|
|
37
45
|
## Usage
|
38
46
|
*xcov* analyzes the `.xccoverage` files created after running your tests therefore, before executing xcov, you need to run your tests with either `Xcode`, `xcodebuild` or [scan](https://github.com/fastlane/fastlane/tree/master/scan). Once completed, obtain your coverage report by providing a few parameters:
|
@@ -96,7 +104,8 @@ Each one of the filenames you would like to ignore must be prefixed by the dash
|
|
96
104
|
|
97
105
|
**Note:** Ignores are handled case-insensitively. `Pods` will match any of `pods`, `PODS`, or `Pods`.
|
98
106
|
|
99
|
-
|
107
|
+
## [Fastlane](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md)
|
108
|
+
|
100
109
|
*Fastlane 1.61.0* includes *xcov* as a custom action. You can easily create your coverage reports as follows:
|
101
110
|
```ruby
|
102
111
|
xcov(
|
@@ -106,20 +115,25 @@ xcov(
|
|
106
115
|
)
|
107
116
|
```
|
108
117
|
|
109
|
-
|
118
|
+
## [Danger](https://danger.systems)
|
119
|
+
|
110
120
|
With the *Danger* plugin you can receive your coverage reports directly on your pull requests. You can find more information on the plugin repository available [here](https://github.com/nakiostudio/danger-xcov).
|
111
121
|
|
112
|
-
|
122
|
+
<h3 align="center">
|
123
|
+
<img src="/assets_readme/xcov_danger.png" />
|
124
|
+
</h3>
|
125
|
+
|
126
|
+
## [Coveralls](https://coveralls.io)
|
127
|
+
|
128
|
+
If you want to keep track of the coverage evolution and get some extra features, *xcov* allows you to submit coverage reports to *Coveralls*. To do so, simply create an account and run *xcov* setting the options `coveralls_service_name` and `coveralls_service_job_id` for compatible CI environments. However, if you want to post to *Coveralls* from the console or any custom environment simply set the `coveralls_repo_token` option.
|
129
|
+
|
130
|
+
<h3 align="center">
|
131
|
+
<img src="/assets_readme/coveralls_integration.png" />
|
132
|
+
</h3>
|
113
133
|
|
114
134
|
## Contributors
|
115
135
|
|
116
|
-
|
117
|
-
* [opfeffer](https://github.com/opfeffer)
|
118
|
-
* [stevenreinisch](https://github.com/stevenreinisch)
|
119
|
-
* [hds](https://github.com/hds)
|
120
|
-
* [michaelharro](https://github.com/michaelharro)
|
121
|
-
* [thelvis4](https://github.com/thelvis4)
|
122
|
-
* [KrauseFx](https://github.com/KrauseFx)
|
136
|
+
[![nakiostudio](https://avatars2.githubusercontent.com/u/1814571?v=3&s=50)](https://github.com/nakiostudio) [![opfeffer](https://avatars3.githubusercontent.com/u/1138127?v=3&s=50)](https://github.com/opfeffer) [![stevenreinisch](https://avatars0.githubusercontent.com/u/675216?v=3&s=50)](https://github.com/stevenreinisch) [![hds](https://avatars0.githubusercontent.com/u/89589?v=3&s=50)](https://github.com/hds) [![michaelharro](https://avatars3.githubusercontent.com/u/318260?v=3&s=50)](https://github.com/michaelharro) [![thelvis4](https://avatars1.githubusercontent.com/u/1589385?v=3&s=50)](https://github.com/thelvis4) [![KrauseFx](https://avatars1.githubusercontent.com/u/869950?v=3&s=50)](https://github.com/KrauseFx)
|
123
137
|
|
124
138
|
## License
|
125
139
|
This project is licensed under the terms of the MIT license. See the LICENSE file.
|
data/assets/images/xcov_logo.png
CHANGED
Binary file
|
data/assets/stylesheets/main.css
CHANGED
@@ -46,6 +46,10 @@ html, body, .full-height {
|
|
46
46
|
/*NavBar stuff*/
|
47
47
|
/*----------------------------------------------------------------------------*/
|
48
48
|
|
49
|
+
.navbar {
|
50
|
+
height: 65px;
|
51
|
+
}
|
52
|
+
|
49
53
|
.navbar .navbar-nav {
|
50
54
|
display: inline-block;
|
51
55
|
float: none;
|
@@ -55,10 +59,8 @@ html, body, .full-height {
|
|
55
59
|
|
56
60
|
.logo {
|
57
61
|
margin-top:10px;
|
58
|
-
height:
|
62
|
+
height: 45px;
|
59
63
|
width: auto;
|
60
|
-
opacity: 0.8;
|
61
|
-
filter: alpha(opacity=80);
|
62
64
|
}
|
63
65
|
|
64
66
|
/*----------------------------------------------------------------------------*/
|
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.1.
|
4
|
+
version: 1.1.2
|
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-03-
|
11
|
+
date: 2017-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.19.2
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 3.0.0
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 2.
|
29
|
+
version: 2.19.2
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 3.0.0
|
@@ -114,90 +114,6 @@ dependencies:
|
|
114
114
|
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: '0'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: rubocop
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: 0.35.1
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - "~>"
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: 0.35.1
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: rspec
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: 3.1.0
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: 3.1.0
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: pry
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - ">="
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - ">="
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '0'
|
159
|
-
- !ruby/object:Gem::Dependency
|
160
|
-
name: yard
|
161
|
-
requirement: !ruby/object:Gem::Requirement
|
162
|
-
requirements:
|
163
|
-
- - "~>"
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: 0.8.7.4
|
166
|
-
type: :development
|
167
|
-
prerelease: false
|
168
|
-
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
requirements:
|
170
|
-
- - "~>"
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: 0.8.7.4
|
173
|
-
- !ruby/object:Gem::Dependency
|
174
|
-
name: webmock
|
175
|
-
requirement: !ruby/object:Gem::Requirement
|
176
|
-
requirements:
|
177
|
-
- - "~>"
|
178
|
-
- !ruby/object:Gem::Version
|
179
|
-
version: 1.19.0
|
180
|
-
type: :development
|
181
|
-
prerelease: false
|
182
|
-
version_requirements: !ruby/object:Gem::Requirement
|
183
|
-
requirements:
|
184
|
-
- - "~>"
|
185
|
-
- !ruby/object:Gem::Version
|
186
|
-
version: 1.19.0
|
187
|
-
- !ruby/object:Gem::Dependency
|
188
|
-
name: coveralls
|
189
|
-
requirement: !ruby/object:Gem::Requirement
|
190
|
-
requirements:
|
191
|
-
- - ">="
|
192
|
-
- !ruby/object:Gem::Version
|
193
|
-
version: '0'
|
194
|
-
type: :development
|
195
|
-
prerelease: false
|
196
|
-
version_requirements: !ruby/object:Gem::Requirement
|
197
|
-
requirements:
|
198
|
-
- - ">="
|
199
|
-
- !ruby/object:Gem::Version
|
200
|
-
version: '0'
|
201
117
|
description: xcov is a friendly visualizer for Xcode's code coverage files
|
202
118
|
email:
|
203
119
|
- nakioparkour@gmail.com
|
@@ -270,4 +186,3 @@ signing_key:
|
|
270
186
|
specification_version: 4
|
271
187
|
summary: xcov is a friendly visualizer for Xcode's code coverage files
|
272
188
|
test_files: []
|
273
|
-
has_rdoc:
|