xcodeproj 1.0.0.rc.1 → 1.0.0.rc.2

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: f0c8e7dcadb707d2e1d041eb44a8cb52421f09f7
4
- data.tar.gz: eef28a6a3ceb875cb858f6f8dc8553bf7ab1df33
3
+ metadata.gz: c0b803ad9d19c126cbeedafa30287da95fc4b2fd
4
+ data.tar.gz: b8a00069deff1cbd62f201d31174bb4162665e9c
5
5
  SHA512:
6
- metadata.gz: bef9920edd8a444ddb7b32dbee4010bf7a1e8b16e381c332af2623c23aa2a6ba09eaf6dd1fbcd19db4a40a1dea5f718d6247f96bcb63c6422902dbcad8e33a8a
7
- data.tar.gz: 899df3ca4b2a3db277835ba51b667247d9969517f3c7e017454599eff38821591e401a45c2b310ce306015b033e8867c57b6d0c3ddeb55e643ce3c8a37f6c00a
6
+ metadata.gz: fb755cc6774fd3a66ac158e953b6c0b08dfe387a00799a40229a5afc7b37a9ed5633184603a6720eba89bfc6c095e685e2f8c46fa67c4ecafdb186ae2279a512
7
+ data.tar.gz: 483631683fcac7489087808c551c0b6d5dfd18a66a8bfa8696aa0c4578cd8bfeb8f7a115770df4129f2008e37ab1e763d839242cff2566d391b6b497399f7584
@@ -4,17 +4,17 @@ module Xcodeproj
4
4
  module Constants
5
5
  # @return [String] The last known iOS SDK (stable).
6
6
  #
7
- LAST_KNOWN_IOS_SDK = '9.2'
7
+ LAST_KNOWN_IOS_SDK = '9.3'
8
8
 
9
9
  # @return [String] The last known OS X SDK (stable).
10
10
  #
11
11
  LAST_KNOWN_OSX_SDK = '10.11'
12
12
 
13
13
  # @return [String] The last known tvOS SDK (stable).
14
- LAST_KNOWN_TVOS_SDK = '9.1'
14
+ LAST_KNOWN_TVOS_SDK = '9.2'
15
15
 
16
16
  # @return [String] The last known watchOS SDK (stable).
17
- LAST_KNOWN_WATCHOS_SDK = '2.1'
17
+ LAST_KNOWN_WATCHOS_SDK = '2.2'
18
18
 
19
19
  # @return [String] The last known archive version to Xcodeproj.
20
20
  #
@@ -33,7 +33,7 @@ module Xcodeproj
33
33
 
34
34
  # @return [String] The last known object version to Xcodeproj.
35
35
  #
36
- LAST_SWIFT_UPGRADE_CHECK = '0720'
36
+ LAST_SWIFT_UPGRADE_CHECK = '0730'
37
37
 
38
38
  # @return [String] The version of `.xcscheme` files supported by Xcodeproj
39
39
  #
@@ -284,19 +284,20 @@ module Xcodeproj
284
284
  PROJECT_DEFAULT_BUILD_SETTINGS = {
285
285
  :all => {
286
286
  'ALWAYS_SEARCH_USER_PATHS' => 'NO',
287
+ 'CLANG_ANALYZER_NONNULL' => 'YES',
287
288
  'CLANG_CXX_LANGUAGE_STANDARD' => 'gnu++0x',
288
289
  'CLANG_CXX_LIBRARY' => 'libc++',
290
+ 'CLANG_ENABLE_MODULES' => 'YES',
289
291
  'CLANG_ENABLE_OBJC_ARC' => 'YES',
292
+ 'CLANG_WARN__DUPLICATE_METHOD_MATCH' => 'YES',
290
293
  'CLANG_WARN_BOOL_CONVERSION' => 'YES',
291
294
  'CLANG_WARN_CONSTANT_CONVERSION' => 'YES',
292
295
  'CLANG_WARN_DIRECT_OBJC_ISA_USAGE' => 'YES',
293
- 'CLANG_WARN__DUPLICATE_METHOD_MATCH' => 'YES',
294
296
  'CLANG_WARN_EMPTY_BODY' => 'YES',
295
297
  'CLANG_WARN_ENUM_CONVERSION' => 'YES',
296
298
  'CLANG_WARN_INT_CONVERSION' => 'YES',
297
299
  'CLANG_WARN_OBJC_ROOT_CLASS' => 'YES',
298
300
  'CLANG_WARN_UNREACHABLE_CODE' => 'YES',
299
- 'CLANG_ENABLE_MODULES' => 'YES',
300
301
  'GCC_C_LANGUAGE_STANDARD' => 'gnu99',
301
302
  'GCC_WARN_64_TO_32_BIT_CONVERSION' => 'YES',
302
303
  'GCC_WARN_ABOUT_RETURN_TYPE' => 'YES',
@@ -311,13 +312,13 @@ module Xcodeproj
311
312
  'VALIDATE_PRODUCT' => 'YES',
312
313
  }.freeze,
313
314
  :debug => {
314
- 'ONLY_ACTIVE_ARCH' => 'YES',
315
315
  'COPY_PHASE_STRIP' => 'NO',
316
316
  'ENABLE_TESTABILITY' => 'YES',
317
317
  'GCC_DYNAMIC_NO_PIC' => 'NO',
318
318
  'GCC_OPTIMIZATION_LEVEL' => '0',
319
319
  'GCC_PREPROCESSOR_DEFINITIONS' => ['DEBUG=1', '$(inherited)'],
320
320
  'GCC_SYMBOLS_PRIVATE_EXTERN' => 'NO',
321
+ 'ONLY_ACTIVE_ARCH' => 'YES',
321
322
  }.freeze,
322
323
  }.freeze
323
324
 
@@ -1,5 +1,5 @@
1
1
  module Xcodeproj
2
2
  # The version of the xcodeproj gem.
3
3
  #
4
- VERSION = '1.0.0.rc.1'.freeze unless defined? Xcodeproj::VERSION
4
+ VERSION = '1.0.0.rc.2'.freeze unless defined? Xcodeproj::VERSION
5
5
  end
@@ -42,7 +42,9 @@ module Xcodeproj
42
42
  #
43
43
  def initialize(document, *file_references)
44
44
  @schemes = {}
45
- if document.nil? || document.is_a?(REXML::Document)
45
+ if document.nil?
46
+ @document = REXML::Document.new(root_xml(''))
47
+ elsif document.is_a?(REXML::Document)
46
48
  @document = document
47
49
  else
48
50
  @document = REXML::Document.new(root_xml(''))
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcodeproj
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc.1
4
+ version: 1.0.0.rc.2
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-04-30 00:00:00.000000000 Z
11
+ date: 2016-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: colored
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.2'
41
41
  - !ruby/object:Gem::Dependency
@@ -132,12 +132,12 @@ require_paths:
132
132
  - lib
133
133
  required_ruby_version: !ruby/object:Gem::Requirement
134
134
  requirements:
135
- - - ">="
135
+ - - '>='
136
136
  - !ruby/object:Gem::Version
137
137
  version: 2.0.0
138
138
  required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  requirements:
140
- - - ">="
140
+ - - '>='
141
141
  - !ruby/object:Gem::Version
142
142
  version: '0'
143
143
  requirements: []