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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c726cb0bef4c277424e59848ac3687b3437c54a6
4
- data.tar.gz: df811a42e06cb6fb08e763262a0b42e9f1020d59
3
+ metadata.gz: 87acfe304301381d5440cc5970fe8278883d0517
4
+ data.tar.gz: b3eb84c8d55bf015658a42189822d4504c23d24e
5
5
  SHA512:
6
- metadata.gz: 3cef9fdbe501db493fd02394a538c7d54c9de4f5a58d572b58948ed388caeb94df60e3e8c790fbc8ee1e55b2147afafe35cc836812be6a88f2f3bf4c93c4eba1
7
- data.tar.gz: b872c5c12926cb9f34793284d5ae9b55fbcc8ee815510a2f53c5f26a6b768dd771c245175ef10e0ae3a705f8afbddfd9d73b8280e262a7689c8e4d3bd1bd6901
6
+ metadata.gz: f048eaa84791de8e6bd5ca2ed2c9dac25eb157105e3ff6781d7a331d1c46af535809becb261a4cb955902cf9db385e9e96edef48a0c214af6ccaad3108e74be5
7
+ data.tar.gz: 78771d8199eda249446aaf3a68b0dc336f423da9589e4630147499e3195cfc7afb648aa0703b9f7292a9edc0fde7232ee6a6044b9585ca20ebdc371eb45b4cf8
@@ -1,22 +1,22 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-coverage (0.0.6)
5
- cocoapods-testing (>= 0.0.4)
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.0)
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.6)
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.4)
32
+ thread_safe (0.3.5)
33
33
  tzinfo (1.2.2)
34
34
  thread_safe (~> 0.1)
35
- xcodeproj (0.23.0)
35
+ xcodeproj (0.23.1)
36
36
  activesupport (>= 3)
37
37
  colored (~> 1.2)
38
- xctasks (0.4.1)
38
+ xctasks (0.5.0)
39
39
  nokogiri (~> 1.6, >= 1.6.3.1)
40
40
  rake (~> 10.0, >= 10.0.0)
41
41
 
@@ -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.1.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'
@@ -1,3 +1,3 @@
1
1
  module CocoapodsCoverage
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
@@ -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
- slather(file_ref.path)
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
- project.post
41
+ begin
42
+ project.post
41
43
 
42
- project.coverage_service = :gutter_json
43
- project.post
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.1.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-03-27 00:00:00.000000000 Z
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.1.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.1.0
26
+ version: 0.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: slather
29
29
  requirement: !ruby/object:Gem::Requirement