cocoapods-coverage 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -8
- data/cocoapods_coverage.gemspec +1 -1
- data/lib/cocoapods_coverage.rb +1 -1
- data/lib/pod/command/lib/coverage.rb +8 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87acfe304301381d5440cc5970fe8278883d0517
|
4
|
+
data.tar.gz: b3eb84c8d55bf015658a42189822d4504c23d24e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f048eaa84791de8e6bd5ca2ed2c9dac25eb157105e3ff6781d7a331d1c46af535809becb261a4cb955902cf9db385e9e96edef48a0c214af6ccaad3108e74be5
|
7
|
+
data.tar.gz: 78771d8199eda249446aaf3a68b0dc336f423da9589e4630147499e3195cfc7afb648aa0703b9f7292a9edc0fde7232ee6a6044b9585ca20ebdc371eb45b4cf8
|
data/Gemfile.lock
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cocoapods-coverage (0.0
|
5
|
-
cocoapods-testing (>= 0.0
|
4
|
+
cocoapods-coverage (0.2.0)
|
5
|
+
cocoapods-testing (>= 0.2.0)
|
6
6
|
slather (>= 1.6.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (4.2.
|
11
|
+
activesupport (4.2.1)
|
12
12
|
i18n (~> 0.7)
|
13
13
|
json (~> 1.7, >= 1.7.7)
|
14
14
|
minitest (~> 5.1)
|
15
15
|
thread_safe (~> 0.3, >= 0.3.4)
|
16
16
|
tzinfo (~> 1.1)
|
17
17
|
clamp (0.6.4)
|
18
|
-
cocoapods-testing (0.0
|
19
|
-
xctasks
|
18
|
+
cocoapods-testing (0.2.0)
|
19
|
+
xctasks (>= 0.5.0)
|
20
20
|
colored (1.2)
|
21
21
|
i18n (0.7.0)
|
22
22
|
json (1.8.2)
|
@@ -29,13 +29,13 @@ GEM
|
|
29
29
|
clamp (~> 0.6)
|
30
30
|
nokogiri (~> 1.6.3)
|
31
31
|
xcodeproj (~> 0.23.0)
|
32
|
-
thread_safe (0.3.
|
32
|
+
thread_safe (0.3.5)
|
33
33
|
tzinfo (1.2.2)
|
34
34
|
thread_safe (~> 0.1)
|
35
|
-
xcodeproj (0.23.
|
35
|
+
xcodeproj (0.23.1)
|
36
36
|
activesupport (>= 3)
|
37
37
|
colored (~> 1.2)
|
38
|
-
xctasks (0.
|
38
|
+
xctasks (0.5.0)
|
39
39
|
nokogiri (~> 1.6, >= 1.6.3.1)
|
40
40
|
rake (~> 10.0, >= 10.0.0)
|
41
41
|
|
data/cocoapods_coverage.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
18
|
spec.require_paths = ['lib']
|
19
19
|
|
20
|
-
spec.add_dependency 'cocoapods-testing', '>= 0.
|
20
|
+
spec.add_dependency 'cocoapods-testing', '>= 0.2.0'
|
21
21
|
spec.add_dependency 'slather', '>= 1.6.0'
|
22
22
|
|
23
23
|
spec.add_development_dependency 'bundler', '~> 1.3'
|
data/lib/cocoapods_coverage.rb
CHANGED
@@ -22,7 +22,8 @@ module Pod
|
|
22
22
|
workspace.file_references.each do |file_ref|
|
23
23
|
next unless file_ref.path.end_with? '.xcodeproj'
|
24
24
|
next if file_ref.path == 'Pods/Pods.xcodeproj'
|
25
|
-
|
25
|
+
ref_path = File.absolute_path(file_ref.path, Pathname.new(_path).dirname)
|
26
|
+
slather(ref_path)
|
26
27
|
end
|
27
28
|
end
|
28
29
|
end
|
@@ -37,10 +38,13 @@ module Pod
|
|
37
38
|
project.coverage_service = :terminal
|
38
39
|
end
|
39
40
|
|
40
|
-
|
41
|
+
begin
|
42
|
+
project.post
|
41
43
|
|
42
|
-
|
43
|
-
|
44
|
+
project.coverage_service = :gutter_json
|
45
|
+
project.post
|
46
|
+
rescue
|
47
|
+
end
|
44
48
|
end
|
45
49
|
|
46
50
|
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.
|
4
|
+
version: 0.2.0
|
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: 2015-
|
11
|
+
date: 2015-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods-testing
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: slather
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|