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 +4 -4
- data/lib/xcodeproj/constants.rb +1 -0
- data/lib/xcodeproj/gem_version.rb +1 -1
- data/lib/xcodeproj/project/project_helper.rb +9 -0
- data/lib/xcodeproj/scheme.rb +1 -1
- 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: 4f51df5c4663801ea9dddf1e95d9ee40343bf6ae
|
4
|
+
data.tar.gz: 008b21125ebeeec7e107e0c4f105ee0637ccf977
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcaf5a03add09e6882fabcf7ed19b8c8943ca76da8f8fbb5c99a9a7ecc810be542af3e8e761f5f72973aeae8cb82be4c5fc5c4eeb172dfbf429ab5fbc96eb61c
|
7
|
+
data.tar.gz: abff020d5267dc1446b83d86444d586270190039bd6635dcfa8d140dbaae16df7a5f50c06069140b222e110aa9a62023f06cc76e1c3d2b89fefb22e9bab39eed
|
data/lib/xcodeproj/constants.rb
CHANGED
@@ -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.
|
@@ -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
|
|
data/lib/xcodeproj/scheme.rb
CHANGED
@@ -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.
|
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.
|
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:
|
11
|
+
date: 2015-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|