xcodeproj 0.4.0.rc5 → 0.4.0.rc6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Xcodeproj
2
- VERSION = '0.4.0.rc5'
2
+ VERSION = '0.4.0.rc6'
3
3
 
4
4
  class PlainInformative < StandardError
5
5
  end
@@ -119,6 +119,12 @@ module Xcodeproj
119
119
  #
120
120
  attribute :shell_script, String, ''
121
121
 
122
+ # @return [String] wether or not the ENV variables should be shown in
123
+ # the build log.
124
+ #
125
+ # Defaults to true (`1`).
126
+ #
127
+ attribute :show_env_vars_in_log, String, '1'
122
128
  end
123
129
 
124
130
  # Apparently a build phase named `Build Carbon Resources` (Observed for
@@ -128,6 +128,14 @@ module Xcodeproj
128
128
  self.last_known_file_type = Constants::FILE_TYPES_BY_EXTENSION[pathname.extname[1..-1]]
129
129
  end
130
130
 
131
+ # Checks wheter the reference is a proxy.
132
+ #
133
+ # @return [Bool] always false for this ISA.
134
+ #
135
+ def proxy?
136
+ false
137
+ end
138
+
131
139
  end
132
140
  end
133
141
  end
@@ -60,7 +60,9 @@ module Xcodeproj
60
60
  # This class is used to gather localized files into one entry.
61
61
  #
62
62
  class PBXVariantGroup < PBXGroup
63
-
63
+ # @return [String] the file type guessed by Xcode.
64
+ #
65
+ attribute :last_known_file_type, String
64
66
  end
65
67
 
66
68
  # A group that contains multiple files references to the different
@@ -28,6 +28,18 @@ module Xcodeproj
28
28
  #
29
29
  attribute :source_tree, String
30
30
 
31
+ ## CONVENIENCE METHODS #################################################
32
+
33
+ # @!group Convenience methods
34
+
35
+ # Checks wheter the reference is a proxy.
36
+ #
37
+ # @return [Bool] always true for this ISA.
38
+ #
39
+ def proxy?
40
+ true
41
+ end
42
+
31
43
  end
32
44
  end
33
45
  end
@@ -234,7 +234,7 @@ module Xcodeproj
234
234
  # the default value for new objects.
235
235
  #
236
236
  # @example
237
- # attribute project_root
237
+ # attribute :project_root
238
238
  # #=> leads to the creation of the following methods
239
239
  #
240
240
  # def project_root
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcodeproj
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.rc5
4
+ version: 0.4.0.rc6
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-27 00:00:00.000000000 Z
12
+ date: 2012-11-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -100,9 +100,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
100
100
  - - ! '>='
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
- segments:
104
- - 0
105
- hash: -933464580637891352
106
103
  required_rubygems_version: !ruby/object:Gem::Requirement
107
104
  none: false
108
105
  requirements:
@@ -111,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
108
  version: '0'
112
109
  requirements: []
113
110
  rubyforge_project:
114
- rubygems_version: 1.8.24
111
+ rubygems_version: 1.8.23
115
112
  signing_key:
116
113
  specification_version: 3
117
114
  summary: Create and modify Xcode projects from Ruby.