xcodeproj 0.21.0 → 0.21.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
  SHA1:
3
- metadata.gz: b25b3f5efcf355937e6da83fa11ae3a2e8fb8bcc
4
- data.tar.gz: 7c6ea2172930b5404dadb6b0126fe00715eff67f
3
+ metadata.gz: 4f51df5c4663801ea9dddf1e95d9ee40343bf6ae
4
+ data.tar.gz: 008b21125ebeeec7e107e0c4f105ee0637ccf977
5
5
  SHA512:
6
- metadata.gz: ad2bda26f91fd33dad783add7c92e4059165f475fe3d940bd50a0b05e9d02099aa092203812bf21fbb49556cd8e9d044d01dc4e795f1e7a55f815d86ae6547eb
7
- data.tar.gz: d7c68cb7602a0f40f41ae5ae36b0536bf9fe55e86cd4e504f7b53baabb1f89a72f0362331e09591c459aebe539829777705c589c9130bae064bffb0b9dee1830
6
+ metadata.gz: fcaf5a03add09e6882fabcf7ed19b8c8943ca76da8f8fbb5c99a9a7ecc810be542af3e8e761f5f72973aeae8cb82be4c5fc5c4eeb172dfbf429ab5fbc96eb61c
7
+ data.tar.gz: abff020d5267dc1446b83d86444d586270190039bd6635dcfa8d140dbaae16df7a5f50c06069140b222e110aa9a62023f06cc76e1c3d2b89fefb22e9bab39eed
@@ -95,6 +95,7 @@ module Xcodeproj
95
95
  :static_library => 'com.apple.product-type.library.static',
96
96
  :bundle => 'com.apple.product-type.bundle',
97
97
  :unit_test_bundle => 'com.apple.product-type.bundle.unit-test',
98
+ :app_extension => 'com.apple.product-type.app-extension',
98
99
  }.freeze
99
100
 
100
101
  # @return [Hash] The extensions or the various product UTIs.
@@ -1,5 +1,5 @@
1
1
  module Xcodeproj
2
2
  # The version of the xcodeproj gem.
3
3
  #
4
- VERSION = '0.21.0' unless defined? Xcodeproj::VERSION
4
+ VERSION = '0.21.1' unless defined? Xcodeproj::VERSION
5
5
  end
@@ -157,6 +157,15 @@ module Xcodeproj
157
157
 
158
158
  cl.build_configurations << release_conf
159
159
  cl.build_configurations << debug_conf
160
+
161
+ project.build_configurations.each do |configuration|
162
+ next if cl.build_configurations.map(&:name).include?(configuration.name)
163
+
164
+ new_config = project.new(XCBuildConfiguration)
165
+ new_config.name = configuration.name
166
+ cl.build_configurations << new_config
167
+ end
168
+
160
169
  cl
161
170
  end
162
171
 
@@ -250,7 +250,7 @@ module Xcodeproj
250
250
  node.attributes.each_attribute do |attr|
251
251
  output << "\n"
252
252
  output << ' ' * @level
253
- output << attr.to_string.gsub(/=/, ' = ')
253
+ output << attr.to_string.sub(/=/, ' = ')
254
254
  end unless node.attributes.empty?
255
255
 
256
256
  output << '>'
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.21.0
4
+ version: 0.21.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-12-25 00:00:00.000000000 Z
11
+ date: 2015-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport