xcodeproj 1.0.0 → 1.1.0
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 +4 -4
- data/lib/xcodeproj/gem_version.rb +1 -1
- data/lib/xcodeproj/project/object/native_target.rb +23 -3
- 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: d0259d3fcd165b76b23b22fbd8a6e75b0aee2d21
|
4
|
+
data.tar.gz: acdb6e1ad6df583dc8a5eca2b810ed7341f246a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad150ebf0f6b9fd198a443d590d70ff2ea5ba08b0df075cf1197d56ce4eb31334803ec130db4a53c1e86288fd136ce721bc3eefc2714d4f1c174fdc6c8915c10
|
7
|
+
data.tar.gz: 9ceb7e7978abad793e43b33843ffe7b9fa6f81dbdcfbf062521948738c8e4e011ea33e73681780ae912f1c0ef09b6802283664c0087ecfd0973653be5c578fc3
|
@@ -419,9 +419,29 @@ module Xcodeproj
|
|
419
419
|
# @return [Symbol] The type of the target expressed as a symbol.
|
420
420
|
#
|
421
421
|
def symbol_type
|
422
|
-
|
423
|
-
|
424
|
-
|
422
|
+
Constants::PRODUCT_TYPE_UTI.key(product_type)
|
423
|
+
end
|
424
|
+
|
425
|
+
# @return [Boolean] Whether the target is a test target.
|
426
|
+
#
|
427
|
+
def test_target_type?
|
428
|
+
case symbol_type
|
429
|
+
when :octest_bundle, :unit_test_bundle, :ui_test_bundle
|
430
|
+
true
|
431
|
+
else
|
432
|
+
false
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
# @return [Boolean] Whether the target is an extension.
|
437
|
+
#
|
438
|
+
def extension_target_type?
|
439
|
+
case symbol_type
|
440
|
+
when :app_extension, :watch_extension, :watch2_extension, :tv_extension
|
441
|
+
true
|
442
|
+
else
|
443
|
+
false
|
444
|
+
end
|
425
445
|
end
|
426
446
|
|
427
447
|
# Adds source files to the target.
|
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.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Duran
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|