xcodeproj 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/xcodeproj/prebuilt/universal-darwin12.0-1.8.7/xcodeproj_ext.bundle +0 -0
- data/ext/xcodeproj/prebuilt/universal.x86_64-darwin13-2.0.0/xcodeproj_ext.bundle +0 -0
- data/lib/xcodeproj/constants.rb +1 -1
- data/lib/xcodeproj/gem_version.rb +1 -1
- data/lib/xcodeproj/project.rb +4 -2
- 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: e231a1ef01dd74e08eacdac936ea8b3cbac2c47c
|
4
|
+
data.tar.gz: ccaf12bb232a52d3e8de39063e68f211ea868d40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 709ac0aac0f7894e4b4b0dcbfdedaaf5ddf553d2d88417519c7aa77511b2148b9ec9511cca566ff8ad75bc122fa66126620ab3e058bb04bbbabf8fe50964ff02
|
7
|
+
data.tar.gz: 39b8796d646dc3fdf864d3ec6418b39d8715a90f4d15c32fd0f74e6c094cc84757d1c8eba716722a2c47533643f6425b72e5321140b081386c39e67e75dadc82
|
Binary file
|
Binary file
|
data/lib/xcodeproj/constants.rb
CHANGED
data/lib/xcodeproj/project.rb
CHANGED
@@ -479,12 +479,14 @@ module Xcodeproj
|
|
479
479
|
# @return [Nil] If no file reference could be found.
|
480
480
|
#
|
481
481
|
def reference_for_path(absolute_path)
|
482
|
-
|
482
|
+
absolute_pathname = Pathname.new(absolute_path)
|
483
|
+
|
484
|
+
unless absolute_pathname.absolute?
|
483
485
|
raise ArgumentError, "Paths must be absolute #{absolute_path}"
|
484
486
|
end
|
485
487
|
|
486
488
|
objects.find do |child|
|
487
|
-
child.isa == 'PBXFileReference' && child.real_path ==
|
489
|
+
child.isa == 'PBXFileReference' && child.real_path == absolute_pathname
|
488
490
|
end
|
489
491
|
end
|
490
492
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcodeproj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.16.
|
4
|
+
version: 0.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Duran
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|