cocoapods-coverage 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods_coverage.rb +1 -1
- data/lib/pod/command/lib/coverage.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 442afee0a3c54ddefb0c989caec32c5025a4ac96
|
4
|
+
data.tar.gz: f9fd5440ffe5530b6a28f3b07da240a8dfb2a45c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffc8bce13e0716eb39d92008ef5121905909fcff310e4d8f301718a5017fffb72d4b34c21184b28f66f950bff4b152afbbc4e6ea216ec108e8f0d25650d7eda3
|
7
|
+
data.tar.gz: 50be38b85b0fbe0d0ecfc473d55e7bccb4bcb898f138b8a3981aefcf6a585ed66fb281c1f454e22000fee393a7d7e7e2f581156ee882ece69e47f52fe8de6260
|
data/lib/cocoapods_coverage.rb
CHANGED
@@ -28,6 +28,7 @@ module Pod
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def slather(project_path)
|
31
|
+
return if not File.directory?(project_path)
|
31
32
|
project = Slather::Project.open(project_path)
|
32
33
|
|
33
34
|
if ENV['TRAVIS'] == 'true'
|
@@ -37,6 +38,9 @@ module Pod
|
|
37
38
|
end
|
38
39
|
|
39
40
|
project.post
|
41
|
+
|
42
|
+
project.coverage_service = :gutter_json
|
43
|
+
project.post
|
40
44
|
end
|
41
45
|
|
42
46
|
def test_with_coverage
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-coverage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boris Bügling
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods-testing
|