xcodeproj 0.16.0 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc0aaa3ffbdb53865a4ae0970de3873a83c29f3e
4
- data.tar.gz: 04be1359efc848887573e1ba87565dfcd25f1bc0
3
+ metadata.gz: e231a1ef01dd74e08eacdac936ea8b3cbac2c47c
4
+ data.tar.gz: ccaf12bb232a52d3e8de39063e68f211ea868d40
5
5
  SHA512:
6
- metadata.gz: cd817ff800f825e9bc11a73999d548c650afab253406c09f9c1dd20d8179961023b2459c996de2a4506034ed29748f7c97b016d56af348450e61bffcfd4600f5
7
- data.tar.gz: 8195bcb248383ad29d83aa97ebf4c9dbb97067f6ee5009dd2f911e6a8396f6777f5f4a77fc425adc86b441147a83047f3ba5189ac42c98b83af701987e68b700
6
+ metadata.gz: 709ac0aac0f7894e4b4b0dcbfdedaaf5ddf553d2d88417519c7aa77511b2148b9ec9511cca566ff8ad75bc122fa66126620ab3e058bb04bbbabf8fe50964ff02
7
+ data.tar.gz: 39b8796d646dc3fdf864d3ec6418b39d8715a90f4d15c32fd0f74e6c094cc84757d1c8eba716722a2c47533643f6425b72e5321140b081386c39e67e75dadc82
@@ -216,7 +216,7 @@ module Xcodeproj
216
216
 
217
217
  # @return [Hash] The extensions which are associated with header files.
218
218
  #
219
- HEADER_FILES_EXTENSIONS = %w| .h .hh .hpp |.freeze
219
+ HEADER_FILES_EXTENSIONS = %w| .h .hh .hpp .ipp |.freeze
220
220
 
221
221
  end
222
222
  end
@@ -1,6 +1,6 @@
1
1
  module Xcodeproj
2
2
  # The version of the xcodeproj gem.
3
3
  #
4
- VERSION = '0.16.0' unless defined? Xcodeproj::VERSION
4
+ VERSION = '0.16.1' unless defined? Xcodeproj::VERSION
5
5
  end
6
6
 
@@ -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
- unless Pathname.new(absolute_path).absolute?
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 == absolute_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.0
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-03-31 00:00:00.000000000 Z
11
+ date: 2014-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport