cocoapods-testing 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: 60978cc8a272b1bce1fec928fd77045b608b8b50
4
- data.tar.gz: 3e5c75046d96388c3e30fa60b43cc31b505423a0
3
+ metadata.gz: f01a5b1aebc705c711cd94da60aad981a9efff1f
4
+ data.tar.gz: ac3f394a3adeaffc37d02a52b31666f31c72f0d8
5
5
  SHA512:
6
- metadata.gz: 4508ba8cad21997b30c53ffeb199b777dbdc02e88fa5b98370360d33ace2bc14c894af3eb1e2d92325cefe3e3d85f7e9111e99f3093e529120dbd7693f37482b
7
- data.tar.gz: 13b949c608595a767a6ac88046e978270386bc867a16aa82cf1055b709cda01f5a5d6cb4170f040fdf135b97daf0202d7d575ab0b62bea9b2536f28006a43f44
6
+ metadata.gz: 9b994f6f98c3222ebd2e3433e5a6acd44464a7b46a320bac81e8a8113c56c1e890d3c6525ca3a6bc07c91bbf6278e5e7aaf479a6db64424f70e5d443e7b133e5
7
+ data.tar.gz: a3378358438728d703046660aff2c9fd009425918d152480c7725c91e28b9ad2cb69f91125dfcd8fd7cbf9769870ea019c8d493ce32b4a67da54235fb9a9bb98
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-testing (0.0.6)
4
+ cocoapods-testing (0.2.0)
5
5
  xctasks (>= 0.5.0)
6
6
 
7
7
  GEM
@@ -1,3 +1,3 @@
1
1
  module CocoapodsTesting
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -98,12 +98,13 @@ module Pod
98
98
 
99
99
  def handle_workspace(workspace, workspace_location)
100
100
  workspace.file_references.each do |ref|
101
- if ref.path.end_with?('.xcodeproj')
102
- if not File.exists? ref.path
101
+ ref_path = File.absolute_path(ref.path, Pathname.new(workspace_location).dirname)
102
+ if ref_path.end_with?('.xcodeproj')
103
+ if not File.exists? ref_path
103
104
  next
104
105
  end
105
- project = Xcodeproj::Project.open(ref.path)
106
- handle_project(project, ref.path, workspace_location)
106
+ project = Xcodeproj::Project.open(ref_path)
107
+ handle_project(project, ref_path, workspace_location)
107
108
  end
108
109
  end
109
110
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-testing
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: xctasks