xcodeproj 1.11.0 → 1.11.1

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
  SHA256:
3
- metadata.gz: 86066ac311d73f81d66b43b44741446f53537c38d9954f8623cdb4e51e1a8743
4
- data.tar.gz: 58cd72db90acc368f9444960cee63f56b3e96fc659f133952b3205655846a74c
3
+ metadata.gz: 15616360424c23b6a83d573761206a46cac5ffccf3f4134a8599653efd84edbb
4
+ data.tar.gz: 8f0aa5a45bb559d514cdb77f7bbdc1581058be1213e6ba6f2043825d80d79499
5
5
  SHA512:
6
- metadata.gz: 91b9005240446ca9dd35a96839c84806196aff7823c1ef1ba0bf8b1ba14bf559ea93bf657cb862ae21020955604b6ba7c3d8766b79a8e296568e6b74f461586d
7
- data.tar.gz: ca366977644fd705b0824a9e36d4a367ac3d36062d4ab6056a8b9a394486a23c8c1d694b7da4dc6a2752e685d18571b7d3d9c5026ac0ad3a2d9e4b9cf3aba394
6
+ metadata.gz: 0b0450ee994af0c5fed4df6b0902252ce03a614d7cd43078e62a79392001354e9351a6e11af6117fb6df5d8789164c8d372a3142b1873ff5841858e67f209932
7
+ data.tar.gz: 8b7fc93650e85069053663b85c1b81ace5650c281fefab7d6684978d97d7970c2ecc25c6a33651599311e55c780d144306b492c85c3ea5908bc5d52ad11a0d65
@@ -1,5 +1,5 @@
1
1
  module Xcodeproj
2
2
  # The version of the xcodeproj gem.
3
3
  #
4
- VERSION = '1.11.0'.freeze unless defined? Xcodeproj::VERSION
4
+ VERSION = '1.11.1'.freeze unless defined? Xcodeproj::VERSION
5
5
  end
@@ -87,7 +87,7 @@ module Xcodeproj
87
87
  setting = build_settings[key]
88
88
  setting = resolve_variable_substitution(key, setting, root_target)
89
89
 
90
- config_setting = base_configuration_reference && config[key]
90
+ config_setting = config[key]
91
91
  config_setting = resolve_variable_substitution(key, config_setting, root_target)
92
92
 
93
93
  project_setting = project.build_configuration_list[name]
@@ -210,9 +210,15 @@ module Xcodeproj
210
210
  end
211
211
 
212
212
  def config
213
- @config ||= Xcodeproj::Config.new(base_configuration_reference.real_path).to_hash.tap do |hash|
214
- normalize_array_settings(hash)
215
- end
213
+ return {} unless base_configuration_reference
214
+ @config ||=
215
+ if base_configuration_reference.real_path.exist?
216
+ Xcodeproj::Config.new(base_configuration_reference.real_path).to_hash.tap do |hash|
217
+ normalize_array_settings(hash)
218
+ end
219
+ else
220
+ {}
221
+ end
216
222
  end
217
223
 
218
224
  #---------------------------------------------------------------------#
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: 1.11.0
4
+ version: 1.11.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: 2019-07-09 00:00:00.000000000 Z
11
+ date: 2019-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: atomos
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  - !ruby/object:Gem::Version
184
184
  version: '0'
185
185
  requirements: []
186
- rubygems_version: 3.0.4
186
+ rubygems_version: 3.0.3
187
187
  signing_key:
188
188
  specification_version: 3
189
189
  summary: Create and modify Xcode projects from Ruby.