xcodeproj 1.0.0.beta.2 → 1.0.0.beta.3

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: 0b4b1b8d3cb86c80071a6f76ce1b6818dd4a99ec
4
- data.tar.gz: d234cd3edd3df6acb8350ab87811e6149a6c061b
3
+ metadata.gz: cf70f4fc8e04d6af3a40180f46b7f5ace1cfa3ad
4
+ data.tar.gz: b5f8718dde0f983d624b6533f535e3b424ef91da
5
5
  SHA512:
6
- metadata.gz: 62b11d439f974a7611057dd018e53f502abbf0a8c0c49c49dee92c401d9903392b88d31a3d67a80eb0b85929de88352fb90a1b381a7c28372fdcbee2495a1099
7
- data.tar.gz: 7874d99991dcec2fc7b66d376444df95a98eeddd17f00bec0946d0d805f4d709e051ab7a22f9cc4445f7d9b12f073f04602da85ef5b0e37ff8fe1a1ec2c3250f
6
+ metadata.gz: 1f37da28af86418f4b9cf4d3d7667b8cb17daa021541f116fa4049c269465d7469ff44cdd4b2097d8252885767aea80714a1ad5eab758249839474a62293bd4e
7
+ data.tar.gz: 5e707785dd45fdea7886a2ccce890f6f4d2c982eaa438c4917c0ae37899beb5a221a5941a4f4ac1c913d2a4cf92834742a2656f0d98677a25791e0df61030b9c
@@ -19,6 +19,7 @@ module Xcodeproj
19
19
 
20
20
  self.arguments = [
21
21
  CLAide::Argument.new('PROJECT', false),
22
+ CLAide::Argument.new('OUTPUT', false),
22
23
  ]
23
24
 
24
25
  def initialize(argv)
@@ -1,5 +1,5 @@
1
1
  module Xcodeproj
2
2
  # The version of the xcodeproj gem.
3
3
  #
4
- VERSION = '1.0.0.beta.2'.freeze unless defined? Xcodeproj::VERSION
4
+ VERSION = '1.0.0.beta.3'.freeze unless defined? Xcodeproj::VERSION
5
5
  end
@@ -72,6 +72,8 @@ module Xcodeproj
72
72
  def self.load_xcode_frameworks
73
73
  DevToolsCore.silence_stderr do
74
74
  load_xcode_framework('SharedFrameworks/DVTFoundation.framework/DVTFoundation')
75
+ load_xcode_framework('SharedFrameworks/DVTServices.framework/DVTServices')
76
+ load_xcode_framework('SharedFrameworks/DVTPortal.framework/DVTPortal')
75
77
  load_xcode_framework('SharedFrameworks/DVTSourceControl.framework/DVTSourceControl')
76
78
  load_xcode_framework('SharedFrameworks/CSServiceClient.framework/CSServiceClient')
77
79
  load_xcode_framework('Frameworks/IBFoundation.framework/IBFoundation')
@@ -47,6 +47,21 @@ module Xcodeproj
47
47
  self.build_settings = sorted_build_settings
48
48
  end
49
49
 
50
+ # @return [Boolean] Whether this configuration is configured for
51
+ # debugging.
52
+ #
53
+ def debug?
54
+ gcc_preprocessor_definitions = build_settings['GCC_PREPROCESSOR_DEFINITIONS']
55
+ gcc_preprocessor_definitions && gcc_preprocessor_definitions.include?('DEBUG=1')
56
+ end
57
+
58
+ # @return [Symbol] The symbolic type of this configuration, either
59
+ # `:debug` or `:release`.
60
+ #
61
+ def type
62
+ debug? ? :debug : :release
63
+ end
64
+
50
65
  #---------------------------------------------------------------------#
51
66
 
52
67
  private
@@ -140,10 +140,10 @@ module Xcodeproj
140
140
  super
141
141
  end
142
142
 
143
- # Moves the object at the given given index to the given position.
143
+ # Moves the given object to the given index.
144
144
  #
145
- # @param [Fixnum] from
146
- # The current index of the object.
145
+ # @param [AbstractObject, ObjectDictionary] object
146
+ # The object to move.
147
147
  #
148
148
  # @param [Fixnum] to
149
149
  # The new index for the object.
@@ -159,7 +159,7 @@ module Xcodeproj
159
159
  end
160
160
  end
161
161
 
162
- # Moves the object at the given given index to the given position.
162
+ # Moves the object at the given index to the given position.
163
163
  #
164
164
  # @param [Fixnum] from
165
165
  # The current index of the object.
@@ -189,7 +189,7 @@ module Xcodeproj
189
189
 
190
190
  new_config = project.new(XCBuildConfiguration)
191
191
  new_config.name = configuration.name
192
- new_config.build_settings = common_build_settings(:release, platform, deployment_target, target_product_type, language)
192
+ new_config.build_settings = common_build_settings(configuration.type, platform, deployment_target, target_product_type, language)
193
193
  cl.build_configurations << new_config
194
194
  end
195
195
 
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.0.0.beta.2
4
+ version: 1.0.0.beta.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-30 00:00:00.000000000 Z
11
+ date: 2016-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  version: '0'
149
149
  requirements: []
150
150
  rubyforge_project:
151
- rubygems_version: 2.5.1
151
+ rubygems_version: 2.5.2
152
152
  signing_key:
153
153
  specification_version: 3
154
154
  summary: Create and modify Xcode projects from Ruby.