zerg_xcode 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/Manifest +1 -2
- data/lib/zerg_xcode/file_format/encoder.rb +2 -2
- data/lib/zerg_xcode/file_format/lexer.rb +1 -1
- data/test/file_format/encoder_test.rb +1 -0
- data/test/file_format/parser_test.rb +1 -0
- data/test/file_format/path_test.rb +1 -0
- data/test/objects/pbx_project_test.rb +1 -1
- data/test/plugins/addlibrary_test.rb +1 -3
- data/test/plugins/core/core_test.rb +1 -1
- data/test/plugins/{test_helper.rb → helper.rb} +1 -0
- data/test/plugins/import_test.rb +1 -1
- data/test/plugins/irb_test.rb +1 -1
- data/test/plugins/ls_test.rb +1 -1
- data/test/plugins/lstargets_test.rb +1 -1
- data/test/plugins/retarget_test.rb +1 -1
- data/testdata/project.pbxproj.compat +229 -229
- data/zerg_xcode.gemspec +4 -4
- metadata +3 -4
data/CHANGELOG
CHANGED
data/Manifest
CHANGED
@@ -45,12 +45,12 @@ test/objects/xc_configuration_list_test.rb
|
|
45
45
|
test/objects/xcode_object_test.rb
|
46
46
|
test/plugins/addlibrary_test.rb
|
47
47
|
test/plugins/core/core_test.rb
|
48
|
+
test/plugins/helper.rb
|
48
49
|
test/plugins/import_test.rb
|
49
50
|
test/plugins/irb_test.rb
|
50
51
|
test/plugins/ls_test.rb
|
51
52
|
test/plugins/lstargets_test.rb
|
52
53
|
test/plugins/retarget_test.rb
|
53
|
-
test/plugins/test_helper.rb
|
54
54
|
test/shortcuts_test.rb
|
55
55
|
testdata/FlatTestApp/FlatTestApp.xcodeproj/project.pbxproj
|
56
56
|
testdata/project.pbxproj
|
@@ -59,4 +59,3 @@ testdata/TestApp/TestApp.xcodeproj/project.pbxproj
|
|
59
59
|
testdata/TestApp30.xcodeproj/project.pbxproj
|
60
60
|
testdata/TestLib30.xcodeproj/project.pbxproj
|
61
61
|
testdata/ZergSupport.xcodeproj/project.pbxproj
|
62
|
-
zerg_xcode.gemspec
|
@@ -4,10 +4,10 @@ module ZergXcode::Encoder
|
|
4
4
|
end
|
5
5
|
|
6
6
|
def self.encode_hash(hash, indentation)
|
7
|
-
"{\n" + hash.map { |key
|
7
|
+
"{\n" + hash.keys.sort.map { |key|
|
8
8
|
encode_indentation(indentation + 1) +
|
9
9
|
encode_value(key, indentation + 1) + " = " +
|
10
|
-
encode_object(
|
10
|
+
encode_object(hash[key], indentation + 1) + ";\n"
|
11
11
|
}.join + encode_indentation(indentation) + "}"
|
12
12
|
end
|
13
13
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module ZergXcode::Lexer
|
2
2
|
def self.tokenize(string)
|
3
3
|
|
4
|
-
encoding_match = string.match
|
4
|
+
encoding_match = string.match(/^\/\/ \!\$\*(.*?)\*\$\!/)
|
5
5
|
raise "No encoding - #{string[0, 20]}" unless encoding_match
|
6
6
|
|
7
7
|
i = encoding_match[0].length
|
data/test/plugins/import_test.rb
CHANGED
data/test/plugins/irb_test.rb
CHANGED
data/test/plugins/ls_test.rb
CHANGED
@@ -1,320 +1,320 @@
|
|
1
1
|
// !$*UTF8*$!
|
2
2
|
{
|
3
3
|
"archiveVersion" = "1";
|
4
|
-
"rootObject" = "29B97313FDCFA39411CA2CEA";
|
5
4
|
"classes" = {
|
6
5
|
};
|
7
6
|
"objectVersion" = "45";
|
8
7
|
"objects" = {
|
9
|
-
"
|
10
|
-
"name" = "CustomTemplate";
|
11
|
-
"isa" = "PBXGroup";
|
12
|
-
"sourceTree" = "<group>";
|
8
|
+
"080E96DDFE201D6D7F000001" = {
|
13
9
|
"children" = (
|
14
|
-
"
|
15
|
-
"
|
16
|
-
"
|
17
|
-
"
|
18
|
-
"19C28FACFE9D520D11CA2CBB",
|
10
|
+
"1D3623240D0F684500981E51",
|
11
|
+
"1D3623250D0F684500981E51",
|
12
|
+
"28D7ACF60DDB3853001CB0EB",
|
13
|
+
"28D7ACF70DDB3853001CB0EB",
|
19
14
|
);
|
20
|
-
|
21
|
-
|
22
|
-
"isa" = "PBXFileReference";
|
15
|
+
"isa" = "PBXGroup";
|
16
|
+
"path" = "Classes";
|
23
17
|
"sourceTree" = "<group>";
|
24
|
-
"lastKnownFileType" = "sourcecode.c.h";
|
25
|
-
"fileEncoding" = "4";
|
26
|
-
"path" = "TestAppViewController.h";
|
27
|
-
};
|
28
|
-
"1D6058950D05DD3E006BFB54" = {
|
29
|
-
"name" = "Release";
|
30
|
-
"isa" = "XCBuildConfiguration";
|
31
|
-
"buildSettings" = {
|
32
|
-
"ALWAYS_SEARCH_USER_PATHS" = "NO";
|
33
|
-
"GCC_PREFIX_HEADER" = "TestApp_Prefix.pch";
|
34
|
-
"COPY_PHASE_STRIP" = "YES";
|
35
|
-
"GCC_PRECOMPILE_PREFIX_HEADER" = "YES";
|
36
|
-
"PRODUCT_NAME" = "TestApp";
|
37
|
-
"INFOPLIST_FILE" = "Info.plist";
|
38
|
-
};
|
39
18
|
};
|
40
|
-
"
|
41
|
-
"
|
42
|
-
|
43
|
-
};
|
44
|
-
"1D6058900D05DD3D006BFB54" = {
|
45
|
-
"name" = "TestApp";
|
46
|
-
"isa" = "PBXNativeTarget";
|
47
|
-
"productType" = "com.apple.product-type.application";
|
48
|
-
"productReference" = "1D6058910D05DD3D006BFB54";
|
49
|
-
"buildConfigurationList" = "1D6058960D05DD3E006BFB54";
|
50
|
-
"productName" = "TestApp";
|
51
|
-
"dependencies" = (
|
52
|
-
);
|
53
|
-
"buildRules" = (
|
54
|
-
);
|
55
|
-
"buildPhases" = (
|
56
|
-
"1D60588D0D05DD3D006BFB54",
|
57
|
-
"1D60588E0D05DD3D006BFB54",
|
58
|
-
"1D60588F0D05DD3D006BFB54",
|
19
|
+
"19C28FACFE9D520D11CA2CBB" = {
|
20
|
+
"children" = (
|
21
|
+
"1D6058910D05DD3D006BFB54",
|
59
22
|
);
|
60
|
-
};
|
61
|
-
"29B97316FDCFA39411CA2CEA" = {
|
62
|
-
"isa" = "PBXFileReference";
|
63
|
-
"sourceTree" = "<group>";
|
64
|
-
"lastKnownFileType" = "sourcecode.c.objc";
|
65
|
-
"fileEncoding" = "4";
|
66
|
-
"path" = "main.m";
|
67
|
-
};
|
68
|
-
"28D7ACF80DDB3853001CB0EB" = {
|
69
|
-
"isa" = "PBXBuildFile";
|
70
|
-
"fileRef" = "28D7ACF70DDB3853001CB0EB";
|
71
|
-
};
|
72
|
-
"29B97317FDCFA39411CA2CEA" = {
|
73
|
-
"name" = "Resources";
|
74
23
|
"isa" = "PBXGroup";
|
24
|
+
"name" = "Products";
|
75
25
|
"sourceTree" = "<group>";
|
76
|
-
"children" = (
|
77
|
-
"2899E5210DE3E06400AC0155",
|
78
|
-
"28AD733E0D9D9553002E5188",
|
79
|
-
"8D1107310486CEB800E47090",
|
80
|
-
);
|
81
26
|
};
|
82
|
-
"
|
27
|
+
"1D30AB110D05D00D00671497" = {
|
83
28
|
"isa" = "PBXFileReference";
|
84
|
-
"
|
85
|
-
"
|
86
|
-
"
|
87
|
-
"
|
29
|
+
"lastKnownFileType" = "wrapper.framework";
|
30
|
+
"name" = "Foundation.framework";
|
31
|
+
"path" = "System/Library/Frameworks/Foundation.framework";
|
32
|
+
"sourceTree" = "SDKROOT";
|
88
33
|
};
|
89
|
-
"
|
90
|
-
"isa" = "PBXFileReference";
|
91
|
-
"sourceTree" = "<group>";
|
92
|
-
"lastKnownFileType" = "sourcecode.c.h";
|
34
|
+
"1D3623240D0F684500981E51" = {
|
93
35
|
"fileEncoding" = "4";
|
94
|
-
"path" = "TestApp_Prefix.pch";
|
95
|
-
};
|
96
|
-
"C01FCF4E08A954540054247B" = {
|
97
|
-
"buildConfigurations" = (
|
98
|
-
"C01FCF4F08A954540054247B",
|
99
|
-
"C01FCF5008A954540054247B",
|
100
|
-
);
|
101
|
-
"defaultConfigurationIsVisible" = "0";
|
102
|
-
"isa" = "XCConfigurationList";
|
103
|
-
"defaultConfigurationName" = "Release";
|
104
|
-
};
|
105
|
-
"1D60588F0D05DD3D006BFB54" = {
|
106
|
-
"files" = (
|
107
|
-
"1D60589F0D05DD5A006BFB54",
|
108
|
-
"1DF5F4E00D08C38300B7A737",
|
109
|
-
"288765A50DF7441C002DB57D",
|
110
|
-
);
|
111
|
-
"isa" = "PBXFrameworksBuildPhase";
|
112
|
-
"buildActionMask" = "2147483647";
|
113
|
-
"runOnlyForDeploymentPostprocessing" = "0";
|
114
|
-
};
|
115
|
-
"288765A40DF7441C002DB57D" = {
|
116
|
-
"name" = "CoreGraphics.framework";
|
117
36
|
"isa" = "PBXFileReference";
|
118
|
-
"
|
119
|
-
"
|
120
|
-
"
|
37
|
+
"lastKnownFileType" = "sourcecode.c.h";
|
38
|
+
"path" = "TestAppAppDelegate.h";
|
39
|
+
"sourceTree" = "<group>";
|
121
40
|
};
|
122
41
|
"1D3623250D0F684500981E51" = {
|
42
|
+
"fileEncoding" = "4";
|
123
43
|
"isa" = "PBXFileReference";
|
124
|
-
"sourceTree" = "<group>";
|
125
44
|
"lastKnownFileType" = "sourcecode.c.objc";
|
126
|
-
"fileEncoding" = "4";
|
127
45
|
"path" = "TestAppAppDelegate.m";
|
128
|
-
};
|
129
|
-
"28AD733F0D9D9553002E5188" = {
|
130
|
-
"isa" = "PBXBuildFile";
|
131
|
-
"fileRef" = "28AD733E0D9D9553002E5188";
|
132
|
-
};
|
133
|
-
"2899E5220DE3E06400AC0155" = {
|
134
|
-
"isa" = "PBXBuildFile";
|
135
|
-
"fileRef" = "2899E5210DE3E06400AC0155";
|
136
|
-
};
|
137
|
-
"C01FCF4F08A954540054247B" = {
|
138
|
-
"name" = "Debug";
|
139
|
-
"isa" = "XCBuildConfiguration";
|
140
|
-
"buildSettings" = {
|
141
|
-
"GCC_WARN_ABOUT_RETURN_TYPE" = "YES";
|
142
|
-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
143
|
-
"SDKROOT" = "iphoneos2.2.1";
|
144
|
-
"PREBINDING" = "NO";
|
145
|
-
"ARCHS" = "$(ARCHS_STANDARD_32_BIT)";
|
146
|
-
"GCC_WARN_UNUSED_VARIABLE" = "YES";
|
147
|
-
"GCC_C_LANGUAGE_STANDARD" = "c99";
|
148
|
-
"ONLY_ACTIVE_ARCH" = "YES";
|
149
|
-
};
|
150
|
-
};
|
151
|
-
"29B97315FDCFA39411CA2CEA" = {
|
152
|
-
"name" = "Other Sources";
|
153
|
-
"isa" = "PBXGroup";
|
154
46
|
"sourceTree" = "<group>";
|
155
|
-
"children" = (
|
156
|
-
"32CA4F630368D1EE00C91783",
|
157
|
-
"29B97316FDCFA39411CA2CEA",
|
158
|
-
);
|
159
|
-
};
|
160
|
-
"1D30AB110D05D00D00671497" = {
|
161
|
-
"name" = "Foundation.framework";
|
162
|
-
"isa" = "PBXFileReference";
|
163
|
-
"sourceTree" = "SDKROOT";
|
164
|
-
"lastKnownFileType" = "wrapper.framework";
|
165
|
-
"path" = "System/Library/Frameworks/Foundation.framework";
|
166
47
|
};
|
167
48
|
"1D3623260D0F684500981E51" = {
|
168
|
-
"isa" = "PBXBuildFile";
|
169
49
|
"fileRef" = "1D3623250D0F684500981E51";
|
50
|
+
"isa" = "PBXBuildFile";
|
170
51
|
};
|
171
52
|
"1D60588D0D05DD3D006BFB54" = {
|
53
|
+
"buildActionMask" = "2147483647";
|
172
54
|
"files" = (
|
173
55
|
"28AD733F0D9D9553002E5188",
|
174
56
|
"2899E5220DE3E06400AC0155",
|
175
57
|
);
|
176
58
|
"isa" = "PBXResourcesBuildPhase";
|
59
|
+
"runOnlyForDeploymentPostprocessing" = "0";
|
60
|
+
};
|
61
|
+
"1D60588E0D05DD3D006BFB54" = {
|
62
|
+
"buildActionMask" = "2147483647";
|
63
|
+
"files" = (
|
64
|
+
"1D60589B0D05DD56006BFB54",
|
65
|
+
"1D3623260D0F684500981E51",
|
66
|
+
"28D7ACF80DDB3853001CB0EB",
|
67
|
+
);
|
68
|
+
"isa" = "PBXSourcesBuildPhase";
|
69
|
+
"runOnlyForDeploymentPostprocessing" = "0";
|
70
|
+
};
|
71
|
+
"1D60588F0D05DD3D006BFB54" = {
|
177
72
|
"buildActionMask" = "2147483647";
|
73
|
+
"files" = (
|
74
|
+
"1D60589F0D05DD5A006BFB54",
|
75
|
+
"1DF5F4E00D08C38300B7A737",
|
76
|
+
"288765A50DF7441C002DB57D",
|
77
|
+
);
|
78
|
+
"isa" = "PBXFrameworksBuildPhase";
|
178
79
|
"runOnlyForDeploymentPostprocessing" = "0";
|
179
80
|
};
|
180
|
-
"
|
181
|
-
"
|
182
|
-
"
|
183
|
-
|
184
|
-
|
185
|
-
"
|
81
|
+
"1D6058900D05DD3D006BFB54" = {
|
82
|
+
"buildConfigurationList" = "1D6058960D05DD3E006BFB54";
|
83
|
+
"buildPhases" = (
|
84
|
+
"1D60588D0D05DD3D006BFB54",
|
85
|
+
"1D60588E0D05DD3D006BFB54",
|
86
|
+
"1D60588F0D05DD3D006BFB54",
|
87
|
+
);
|
88
|
+
"buildRules" = (
|
186
89
|
);
|
90
|
+
"dependencies" = (
|
91
|
+
);
|
92
|
+
"isa" = "PBXNativeTarget";
|
93
|
+
"name" = "TestApp";
|
94
|
+
"productName" = "TestApp";
|
95
|
+
"productReference" = "1D6058910D05DD3D006BFB54";
|
96
|
+
"productType" = "com.apple.product-type.application";
|
187
97
|
};
|
188
|
-
"
|
189
|
-
"
|
190
|
-
"
|
98
|
+
"1D6058910D05DD3D006BFB54" = {
|
99
|
+
"explicitFileType" = "wrapper.application";
|
100
|
+
"includeInIndex" = "0";
|
101
|
+
"isa" = "PBXFileReference";
|
102
|
+
"path" = "TestApp.app";
|
103
|
+
"sourceTree" = "BUILT_PRODUCTS_DIR";
|
191
104
|
};
|
192
105
|
"1D6058940D05DD3E006BFB54" = {
|
193
|
-
"name" = "Debug";
|
194
|
-
"isa" = "XCBuildConfiguration";
|
195
106
|
"buildSettings" = {
|
196
107
|
"ALWAYS_SEARCH_USER_PATHS" = "NO";
|
197
|
-
"GCC_PREFIX_HEADER" = "TestApp_Prefix.pch";
|
198
|
-
"GCC_OPTIMIZATION_LEVEL" = "0";
|
199
108
|
"COPY_PHASE_STRIP" = "NO";
|
200
|
-
"GCC_PRECOMPILE_PREFIX_HEADER" = "YES";
|
201
109
|
"GCC_DYNAMIC_NO_PIC" = "NO";
|
110
|
+
"GCC_OPTIMIZATION_LEVEL" = "0";
|
111
|
+
"GCC_PRECOMPILE_PREFIX_HEADER" = "YES";
|
112
|
+
"GCC_PREFIX_HEADER" = "TestApp_Prefix.pch";
|
113
|
+
"INFOPLIST_FILE" = "Info.plist";
|
202
114
|
"PRODUCT_NAME" = "TestApp";
|
115
|
+
};
|
116
|
+
"isa" = "XCBuildConfiguration";
|
117
|
+
"name" = "Debug";
|
118
|
+
};
|
119
|
+
"1D6058950D05DD3E006BFB54" = {
|
120
|
+
"buildSettings" = {
|
121
|
+
"ALWAYS_SEARCH_USER_PATHS" = "NO";
|
122
|
+
"COPY_PHASE_STRIP" = "YES";
|
123
|
+
"GCC_PRECOMPILE_PREFIX_HEADER" = "YES";
|
124
|
+
"GCC_PREFIX_HEADER" = "TestApp_Prefix.pch";
|
203
125
|
"INFOPLIST_FILE" = "Info.plist";
|
126
|
+
"PRODUCT_NAME" = "TestApp";
|
204
127
|
};
|
128
|
+
"isa" = "XCBuildConfiguration";
|
129
|
+
"name" = "Release";
|
205
130
|
};
|
206
|
-
"
|
207
|
-
"
|
208
|
-
"
|
209
|
-
"
|
210
|
-
"28D7ACF80DDB3853001CB0EB",
|
131
|
+
"1D6058960D05DD3E006BFB54" = {
|
132
|
+
"buildConfigurations" = (
|
133
|
+
"1D6058940D05DD3E006BFB54",
|
134
|
+
"1D6058950D05DD3E006BFB54",
|
211
135
|
);
|
212
|
-
"
|
213
|
-
"
|
214
|
-
"
|
136
|
+
"defaultConfigurationIsVisible" = "0";
|
137
|
+
"defaultConfigurationName" = "Release";
|
138
|
+
"isa" = "XCConfigurationList";
|
139
|
+
};
|
140
|
+
"1D60589B0D05DD56006BFB54" = {
|
141
|
+
"fileRef" = "29B97316FDCFA39411CA2CEA";
|
142
|
+
"isa" = "PBXBuildFile";
|
143
|
+
};
|
144
|
+
"1D60589F0D05DD5A006BFB54" = {
|
145
|
+
"fileRef" = "1D30AB110D05D00D00671497";
|
146
|
+
"isa" = "PBXBuildFile";
|
147
|
+
};
|
148
|
+
"1DF5F4DF0D08C38300B7A737" = {
|
149
|
+
"isa" = "PBXFileReference";
|
150
|
+
"lastKnownFileType" = "wrapper.framework";
|
151
|
+
"name" = "UIKit.framework";
|
152
|
+
"path" = "System/Library/Frameworks/UIKit.framework";
|
153
|
+
"sourceTree" = "SDKROOT";
|
154
|
+
};
|
155
|
+
"1DF5F4E00D08C38300B7A737" = {
|
156
|
+
"fileRef" = "1DF5F4DF0D08C38300B7A737";
|
157
|
+
"isa" = "PBXBuildFile";
|
158
|
+
};
|
159
|
+
"288765A40DF7441C002DB57D" = {
|
160
|
+
"isa" = "PBXFileReference";
|
161
|
+
"lastKnownFileType" = "wrapper.framework";
|
162
|
+
"name" = "CoreGraphics.framework";
|
163
|
+
"path" = "System/Library/Frameworks/CoreGraphics.framework";
|
164
|
+
"sourceTree" = "SDKROOT";
|
165
|
+
};
|
166
|
+
"288765A50DF7441C002DB57D" = {
|
167
|
+
"fileRef" = "288765A40DF7441C002DB57D";
|
168
|
+
"isa" = "PBXBuildFile";
|
215
169
|
};
|
216
170
|
"2899E5210DE3E06400AC0155" = {
|
217
171
|
"isa" = "PBXFileReference";
|
218
|
-
"sourceTree" = "<group>";
|
219
172
|
"lastKnownFileType" = "file.xib";
|
220
173
|
"path" = "TestAppViewController.xib";
|
174
|
+
"sourceTree" = "<group>";
|
221
175
|
};
|
222
|
-
"
|
176
|
+
"2899E5220DE3E06400AC0155" = {
|
177
|
+
"fileRef" = "2899E5210DE3E06400AC0155";
|
178
|
+
"isa" = "PBXBuildFile";
|
179
|
+
};
|
180
|
+
"28AD733E0D9D9553002E5188" = {
|
223
181
|
"isa" = "PBXFileReference";
|
224
|
-
"
|
225
|
-
"
|
226
|
-
"sourceTree" = "
|
227
|
-
"path" = "TestApp.app";
|
182
|
+
"lastKnownFileType" = "file.xib";
|
183
|
+
"path" = "MainWindow.xib";
|
184
|
+
"sourceTree" = "<group>";
|
228
185
|
};
|
229
|
-
"
|
230
|
-
"
|
186
|
+
"28AD733F0D9D9553002E5188" = {
|
187
|
+
"fileRef" = "28AD733E0D9D9553002E5188";
|
188
|
+
"isa" = "PBXBuildFile";
|
189
|
+
};
|
190
|
+
"28D7ACF60DDB3853001CB0EB" = {
|
191
|
+
"fileEncoding" = "4";
|
192
|
+
"isa" = "PBXFileReference";
|
193
|
+
"lastKnownFileType" = "sourcecode.c.h";
|
194
|
+
"path" = "TestAppViewController.h";
|
231
195
|
"sourceTree" = "<group>";
|
232
|
-
"path" = "Classes";
|
233
|
-
"children" = (
|
234
|
-
"1D3623240D0F684500981E51",
|
235
|
-
"1D3623250D0F684500981E51",
|
236
|
-
"28D7ACF60DDB3853001CB0EB",
|
237
|
-
"28D7ACF70DDB3853001CB0EB",
|
238
|
-
);
|
239
196
|
};
|
240
197
|
"28D7ACF70DDB3853001CB0EB" = {
|
198
|
+
"fileEncoding" = "4";
|
241
199
|
"isa" = "PBXFileReference";
|
242
|
-
"sourceTree" = "<group>";
|
243
200
|
"lastKnownFileType" = "sourcecode.c.objc";
|
244
|
-
"fileEncoding" = "4";
|
245
201
|
"path" = "TestAppViewController.m";
|
202
|
+
"sourceTree" = "<group>";
|
246
203
|
};
|
247
|
-
"
|
248
|
-
"
|
249
|
-
"isa" = "PBXFileReference";
|
250
|
-
"sourceTree" = "SDKROOT";
|
251
|
-
"lastKnownFileType" = "wrapper.framework";
|
252
|
-
"path" = "System/Library/Frameworks/UIKit.framework";
|
253
|
-
};
|
254
|
-
"1D60589B0D05DD56006BFB54" = {
|
204
|
+
"28D7ACF80DDB3853001CB0EB" = {
|
205
|
+
"fileRef" = "28D7ACF70DDB3853001CB0EB";
|
255
206
|
"isa" = "PBXBuildFile";
|
256
|
-
"fileRef" = "29B97316FDCFA39411CA2CEA";
|
257
207
|
};
|
258
|
-
"
|
259
|
-
"
|
260
|
-
|
261
|
-
|
208
|
+
"29B97313FDCFA39411CA2CEA" = {
|
209
|
+
"buildConfigurationList" = "C01FCF4E08A954540054247B";
|
210
|
+
"compatibilityVersion" = "Xcode 3.1";
|
211
|
+
"hasScannedForEncodings" = "1";
|
212
|
+
"isa" = "PBXProject";
|
213
|
+
"mainGroup" = "29B97314FDCFA39411CA2CEA";
|
214
|
+
"projectDirPath" = "";
|
215
|
+
"projectRoot" = "";
|
216
|
+
"targets" = (
|
217
|
+
"1D6058900D05DD3D006BFB54",
|
262
218
|
);
|
263
|
-
"defaultConfigurationIsVisible" = "0";
|
264
|
-
"isa" = "XCConfigurationList";
|
265
|
-
"defaultConfigurationName" = "Release";
|
266
219
|
};
|
267
|
-
"
|
268
|
-
"
|
220
|
+
"29B97314FDCFA39411CA2CEA" = {
|
221
|
+
"children" = (
|
222
|
+
"080E96DDFE201D6D7F000001",
|
223
|
+
"29B97315FDCFA39411CA2CEA",
|
224
|
+
"29B97317FDCFA39411CA2CEA",
|
225
|
+
"29B97323FDCFA39411CA2CEA",
|
226
|
+
"19C28FACFE9D520D11CA2CBB",
|
227
|
+
);
|
269
228
|
"isa" = "PBXGroup";
|
229
|
+
"name" = "CustomTemplate";
|
270
230
|
"sourceTree" = "<group>";
|
231
|
+
};
|
232
|
+
"29B97315FDCFA39411CA2CEA" = {
|
233
|
+
"children" = (
|
234
|
+
"32CA4F630368D1EE00C91783",
|
235
|
+
"29B97316FDCFA39411CA2CEA",
|
236
|
+
);
|
237
|
+
"isa" = "PBXGroup";
|
238
|
+
"name" = "Other Sources";
|
239
|
+
"sourceTree" = "<group>";
|
240
|
+
};
|
241
|
+
"29B97316FDCFA39411CA2CEA" = {
|
242
|
+
"fileEncoding" = "4";
|
243
|
+
"isa" = "PBXFileReference";
|
244
|
+
"lastKnownFileType" = "sourcecode.c.objc";
|
245
|
+
"path" = "main.m";
|
246
|
+
"sourceTree" = "<group>";
|
247
|
+
};
|
248
|
+
"29B97317FDCFA39411CA2CEA" = {
|
249
|
+
"children" = (
|
250
|
+
"2899E5210DE3E06400AC0155",
|
251
|
+
"28AD733E0D9D9553002E5188",
|
252
|
+
"8D1107310486CEB800E47090",
|
253
|
+
);
|
254
|
+
"isa" = "PBXGroup";
|
255
|
+
"name" = "Resources";
|
256
|
+
"sourceTree" = "<group>";
|
257
|
+
};
|
258
|
+
"29B97323FDCFA39411CA2CEA" = {
|
271
259
|
"children" = (
|
272
260
|
"1DF5F4DF0D08C38300B7A737",
|
273
261
|
"1D30AB110D05D00D00671497",
|
274
262
|
"288765A40DF7441C002DB57D",
|
275
263
|
);
|
264
|
+
"isa" = "PBXGroup";
|
265
|
+
"name" = "Frameworks";
|
266
|
+
"sourceTree" = "<group>";
|
276
267
|
};
|
277
|
-
"
|
268
|
+
"32CA4F630368D1EE00C91783" = {
|
269
|
+
"fileEncoding" = "4";
|
278
270
|
"isa" = "PBXFileReference";
|
271
|
+
"lastKnownFileType" = "sourcecode.c.h";
|
272
|
+
"path" = "TestApp_Prefix.pch";
|
279
273
|
"sourceTree" = "<group>";
|
280
|
-
"lastKnownFileType" = "file.xib";
|
281
|
-
"path" = "MainWindow.xib";
|
282
274
|
};
|
283
|
-
"
|
284
|
-
"
|
285
|
-
"
|
275
|
+
"8D1107310486CEB800E47090" = {
|
276
|
+
"fileEncoding" = "4";
|
277
|
+
"isa" = "PBXFileReference";
|
278
|
+
"lastKnownFileType" = "text.plist.xml";
|
279
|
+
"path" = "Info.plist";
|
280
|
+
"sourceTree" = "<group>";
|
286
281
|
};
|
287
|
-
"
|
288
|
-
"
|
289
|
-
|
282
|
+
"C01FCF4E08A954540054247B" = {
|
283
|
+
"buildConfigurations" = (
|
284
|
+
"C01FCF4F08A954540054247B",
|
285
|
+
"C01FCF5008A954540054247B",
|
286
|
+
);
|
287
|
+
"defaultConfigurationIsVisible" = "0";
|
288
|
+
"defaultConfigurationName" = "Release";
|
289
|
+
"isa" = "XCConfigurationList";
|
290
|
+
};
|
291
|
+
"C01FCF4F08A954540054247B" = {
|
290
292
|
"buildSettings" = {
|
291
|
-
"
|
293
|
+
"ARCHS" = "$(ARCHS_STANDARD_32_BIT)";
|
292
294
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
293
|
-
"
|
295
|
+
"GCC_C_LANGUAGE_STANDARD" = "c99";
|
296
|
+
"GCC_WARN_ABOUT_RETURN_TYPE" = "YES";
|
297
|
+
"GCC_WARN_UNUSED_VARIABLE" = "YES";
|
298
|
+
"ONLY_ACTIVE_ARCH" = "YES";
|
294
299
|
"PREBINDING" = "NO";
|
300
|
+
"SDKROOT" = "iphoneos2.2.1";
|
301
|
+
};
|
302
|
+
"isa" = "XCBuildConfiguration";
|
303
|
+
"name" = "Debug";
|
304
|
+
};
|
305
|
+
"C01FCF5008A954540054247B" = {
|
306
|
+
"buildSettings" = {
|
295
307
|
"ARCHS" = "$(ARCHS_STANDARD_32_BIT)";
|
296
|
-
"
|
308
|
+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
297
309
|
"GCC_C_LANGUAGE_STANDARD" = "c99";
|
310
|
+
"GCC_WARN_ABOUT_RETURN_TYPE" = "YES";
|
311
|
+
"GCC_WARN_UNUSED_VARIABLE" = "YES";
|
312
|
+
"PREBINDING" = "NO";
|
313
|
+
"SDKROOT" = "iphoneos2.2.1";
|
298
314
|
};
|
299
|
-
|
300
|
-
|
301
|
-
"isa" = "PBXProject";
|
302
|
-
"targets" = (
|
303
|
-
"1D6058900D05DD3D006BFB54",
|
304
|
-
);
|
305
|
-
"hasScannedForEncodings" = "1";
|
306
|
-
"buildConfigurationList" = "C01FCF4E08A954540054247B";
|
307
|
-
"projectDirPath" = "";
|
308
|
-
"compatibilityVersion" = "Xcode 3.1";
|
309
|
-
"projectRoot" = "";
|
310
|
-
"mainGroup" = "29B97314FDCFA39411CA2CEA";
|
311
|
-
};
|
312
|
-
"1D3623240D0F684500981E51" = {
|
313
|
-
"isa" = "PBXFileReference";
|
314
|
-
"sourceTree" = "<group>";
|
315
|
-
"lastKnownFileType" = "sourcecode.c.h";
|
316
|
-
"fileEncoding" = "4";
|
317
|
-
"path" = "TestAppAppDelegate.h";
|
315
|
+
"isa" = "XCBuildConfiguration";
|
316
|
+
"name" = "Release";
|
318
317
|
};
|
319
318
|
};
|
319
|
+
"rootObject" = "29B97313FDCFA39411CA2CEA";
|
320
320
|
}
|
data/zerg_xcode.gemspec
CHANGED
@@ -2,24 +2,24 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{zerg_xcode}
|
5
|
-
s.version = "0.3.
|
5
|
+
s.version = "0.3.4"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Victor Costan"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-07-05}
|
10
10
|
s.default_executable = %q{bin/zerg-xcode}
|
11
11
|
s.description = %q{Automated modifications for Xcode project files}
|
12
12
|
s.email = %q{victor@zergling.net}
|
13
13
|
s.executables = ["zerg-xcode"]
|
14
14
|
s.extra_rdoc_files = ["bin/zerg-xcode", "CHANGELOG", "lib/zerg_xcode/file_format/archiver.rb", "lib/zerg_xcode/file_format/encoder.rb", "lib/zerg_xcode/file_format/lexer.rb", "lib/zerg_xcode/file_format/parser.rb", "lib/zerg_xcode/file_format/paths.rb", "lib/zerg_xcode/objects/pbx_build_file.rb", "lib/zerg_xcode/objects/pbx_build_phase.rb", "lib/zerg_xcode/objects/pbx_container_item_proxy.rb", "lib/zerg_xcode/objects/pbx_group.rb", "lib/zerg_xcode/objects/pbx_native_target.rb", "lib/zerg_xcode/objects/pbx_project.rb", "lib/zerg_xcode/objects/pbx_target_dependency.rb", "lib/zerg_xcode/objects/xc_configuration_list.rb", "lib/zerg_xcode/objects/xcode_object.rb", "lib/zerg_xcode/plugins/addlibrary.rb", "lib/zerg_xcode/plugins/core/core.rb", "lib/zerg_xcode/plugins/help.rb", "lib/zerg_xcode/plugins/import.rb", "lib/zerg_xcode/plugins/irb.rb", "lib/zerg_xcode/plugins/ls.rb", "lib/zerg_xcode/plugins/lstargets.rb", "lib/zerg_xcode/plugins/retarget.rb", "lib/zerg_xcode/shortcuts.rb", "lib/zerg_xcode.rb", "LICENSE", "README.textile"]
|
15
|
-
s.files = ["bin/zerg-xcode", "CHANGELOG", "lib/zerg_xcode/file_format/archiver.rb", "lib/zerg_xcode/file_format/encoder.rb", "lib/zerg_xcode/file_format/lexer.rb", "lib/zerg_xcode/file_format/parser.rb", "lib/zerg_xcode/file_format/paths.rb", "lib/zerg_xcode/objects/pbx_build_file.rb", "lib/zerg_xcode/objects/pbx_build_phase.rb", "lib/zerg_xcode/objects/pbx_container_item_proxy.rb", "lib/zerg_xcode/objects/pbx_group.rb", "lib/zerg_xcode/objects/pbx_native_target.rb", "lib/zerg_xcode/objects/pbx_project.rb", "lib/zerg_xcode/objects/pbx_target_dependency.rb", "lib/zerg_xcode/objects/xc_configuration_list.rb", "lib/zerg_xcode/objects/xcode_object.rb", "lib/zerg_xcode/plugins/addlibrary.rb", "lib/zerg_xcode/plugins/core/core.rb", "lib/zerg_xcode/plugins/help.rb", "lib/zerg_xcode/plugins/import.rb", "lib/zerg_xcode/plugins/irb.rb", "lib/zerg_xcode/plugins/ls.rb", "lib/zerg_xcode/plugins/lstargets.rb", "lib/zerg_xcode/plugins/retarget.rb", "lib/zerg_xcode/shortcuts.rb", "lib/zerg_xcode.rb", "LICENSE", "Manifest", "Rakefile", "README.textile", "RUBYFORGE", "test/file_format/archiver_test.rb", "test/file_format/encoder_test.rb", "test/file_format/lexer_test.rb", "test/file_format/parser_test.rb", "test/file_format/path_test.rb", "test/objects/pbx_build_file_test.rb", "test/objects/pbx_build_phase_test.rb", "test/objects/pbx_container_item_proxy_test.rb", "test/objects/pbx_group_test.rb", "test/objects/pbx_native_target_test.rb", "test/objects/pbx_project_test.rb", "test/objects/pbx_target_dependency_test.rb", "test/objects/xc_configuration_list_test.rb", "test/objects/xcode_object_test.rb", "test/plugins/addlibrary_test.rb", "test/plugins/core/core_test.rb", "test/plugins/
|
15
|
+
s.files = ["bin/zerg-xcode", "CHANGELOG", "lib/zerg_xcode/file_format/archiver.rb", "lib/zerg_xcode/file_format/encoder.rb", "lib/zerg_xcode/file_format/lexer.rb", "lib/zerg_xcode/file_format/parser.rb", "lib/zerg_xcode/file_format/paths.rb", "lib/zerg_xcode/objects/pbx_build_file.rb", "lib/zerg_xcode/objects/pbx_build_phase.rb", "lib/zerg_xcode/objects/pbx_container_item_proxy.rb", "lib/zerg_xcode/objects/pbx_group.rb", "lib/zerg_xcode/objects/pbx_native_target.rb", "lib/zerg_xcode/objects/pbx_project.rb", "lib/zerg_xcode/objects/pbx_target_dependency.rb", "lib/zerg_xcode/objects/xc_configuration_list.rb", "lib/zerg_xcode/objects/xcode_object.rb", "lib/zerg_xcode/plugins/addlibrary.rb", "lib/zerg_xcode/plugins/core/core.rb", "lib/zerg_xcode/plugins/help.rb", "lib/zerg_xcode/plugins/import.rb", "lib/zerg_xcode/plugins/irb.rb", "lib/zerg_xcode/plugins/ls.rb", "lib/zerg_xcode/plugins/lstargets.rb", "lib/zerg_xcode/plugins/retarget.rb", "lib/zerg_xcode/shortcuts.rb", "lib/zerg_xcode.rb", "LICENSE", "Manifest", "Rakefile", "README.textile", "RUBYFORGE", "test/file_format/archiver_test.rb", "test/file_format/encoder_test.rb", "test/file_format/lexer_test.rb", "test/file_format/parser_test.rb", "test/file_format/path_test.rb", "test/objects/pbx_build_file_test.rb", "test/objects/pbx_build_phase_test.rb", "test/objects/pbx_container_item_proxy_test.rb", "test/objects/pbx_group_test.rb", "test/objects/pbx_native_target_test.rb", "test/objects/pbx_project_test.rb", "test/objects/pbx_target_dependency_test.rb", "test/objects/xc_configuration_list_test.rb", "test/objects/xcode_object_test.rb", "test/plugins/addlibrary_test.rb", "test/plugins/core/core_test.rb", "test/plugins/helper.rb", "test/plugins/import_test.rb", "test/plugins/irb_test.rb", "test/plugins/ls_test.rb", "test/plugins/lstargets_test.rb", "test/plugins/retarget_test.rb", "test/shortcuts_test.rb", "testdata/FlatTestApp/FlatTestApp.xcodeproj/project.pbxproj", "testdata/project.pbxproj", "testdata/project.pbxproj.compat", "testdata/TestApp/TestApp.xcodeproj/project.pbxproj", "testdata/TestApp30.xcodeproj/project.pbxproj", "testdata/TestLib30.xcodeproj/project.pbxproj", "testdata/ZergSupport.xcodeproj/project.pbxproj", "zerg_xcode.gemspec"]
|
16
16
|
s.homepage = %q{http://www.zergling.net/}
|
17
17
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Zerg_xcode", "--main", "README.textile"]
|
18
18
|
s.require_paths = ["lib"]
|
19
19
|
s.rubyforge_project = %q{zerglings}
|
20
20
|
s.rubygems_version = %q{1.3.4}
|
21
21
|
s.summary = %q{Automated modifications for Xcode project files}
|
22
|
-
s.test_files = ["test/file_format/archiver_test.rb", "test/file_format/encoder_test.rb", "test/file_format/lexer_test.rb", "test/file_format/parser_test.rb", "test/file_format/path_test.rb", "test/objects/pbx_build_file_test.rb", "test/objects/pbx_build_phase_test.rb", "test/objects/pbx_container_item_proxy_test.rb", "test/objects/pbx_group_test.rb", "test/objects/pbx_native_target_test.rb", "test/objects/pbx_project_test.rb", "test/objects/pbx_target_dependency_test.rb", "test/objects/xc_configuration_list_test.rb", "test/objects/xcode_object_test.rb", "test/plugins/addlibrary_test.rb", "test/plugins/core/core_test.rb", "test/plugins/import_test.rb", "test/plugins/irb_test.rb", "test/plugins/ls_test.rb", "test/plugins/lstargets_test.rb", "test/plugins/retarget_test.rb", "test/
|
22
|
+
s.test_files = ["test/file_format/archiver_test.rb", "test/file_format/encoder_test.rb", "test/file_format/lexer_test.rb", "test/file_format/parser_test.rb", "test/file_format/path_test.rb", "test/objects/pbx_build_file_test.rb", "test/objects/pbx_build_phase_test.rb", "test/objects/pbx_container_item_proxy_test.rb", "test/objects/pbx_group_test.rb", "test/objects/pbx_native_target_test.rb", "test/objects/pbx_project_test.rb", "test/objects/pbx_target_dependency_test.rb", "test/objects/xc_configuration_list_test.rb", "test/objects/xcode_object_test.rb", "test/plugins/addlibrary_test.rb", "test/plugins/core/core_test.rb", "test/plugins/import_test.rb", "test/plugins/irb_test.rb", "test/plugins/ls_test.rb", "test/plugins/lstargets_test.rb", "test/plugins/retarget_test.rb", "test/shortcuts_test.rb"]
|
23
23
|
|
24
24
|
if s.respond_to? :specification_version then
|
25
25
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zerg_xcode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Costan
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-07-05 00:00:00 -04:00
|
13
13
|
default_executable: bin/zerg-xcode
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -96,12 +96,12 @@ files:
|
|
96
96
|
- test/objects/xcode_object_test.rb
|
97
97
|
- test/plugins/addlibrary_test.rb
|
98
98
|
- test/plugins/core/core_test.rb
|
99
|
+
- test/plugins/helper.rb
|
99
100
|
- test/plugins/import_test.rb
|
100
101
|
- test/plugins/irb_test.rb
|
101
102
|
- test/plugins/ls_test.rb
|
102
103
|
- test/plugins/lstargets_test.rb
|
103
104
|
- test/plugins/retarget_test.rb
|
104
|
-
- test/plugins/test_helper.rb
|
105
105
|
- test/shortcuts_test.rb
|
106
106
|
- testdata/FlatTestApp/FlatTestApp.xcodeproj/project.pbxproj
|
107
107
|
- testdata/project.pbxproj
|
@@ -166,5 +166,4 @@ test_files:
|
|
166
166
|
- test/plugins/ls_test.rb
|
167
167
|
- test/plugins/lstargets_test.rb
|
168
168
|
- test/plugins/retarget_test.rb
|
169
|
-
- test/plugins/test_helper.rb
|
170
169
|
- test/shortcuts_test.rb
|