zerg_xcode 0.3.5 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.project +17 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +30 -0
- data/Rakefile +50 -23
- data/VERSION +1 -0
- data/lib/zerg_xcode/file_format/archiver.rb +0 -24
- data/lib/zerg_xcode/file_format/id_generator.rb +30 -0
- data/lib/zerg_xcode/file_format/lexer.rb +113 -56
- data/lib/zerg_xcode/file_format/parser.rb +28 -34
- data/lib/zerg_xcode/file_format/scan_buffer.rb +46 -0
- data/lib/zerg_xcode/objects/pbx_project.rb +1 -1
- data/lib/zerg_xcode/objects/xcode_object.rb +2 -1
- data/lib/zerg_xcode/{file_format/paths.rb → paths.rb} +5 -6
- data/lib/zerg_xcode/shortcuts.rb +2 -2
- data/lib/zerg_xcode.rb +7 -1
- data/spec/archiver_spec.rb +83 -0
- data/spec/builder/runner_spec.rb +27 -0
- data/spec/builder/sdk_spec.rb +11 -0
- data/spec/encoder_spec.rb +17 -0
- data/{test → spec}/fixtures/ClosedLib/ClosedLib.xcodeproj/project.pbxproj +0 -0
- data/{test → spec}/fixtures/ClosedLib/ClosedLib_Prefix.pch +0 -0
- data/{test → spec}/fixtures/ClosedLib/ClosedNative.c +0 -0
- data/{test → spec}/fixtures/ClosedLib/ClosedNative.h +0 -0
- data/{test → spec}/fixtures/FlatTestApp/FlatTestApp.xcodeproj/project.pbxproj +0 -0
- data/{test → spec}/fixtures/TestApp/TestApp.xcodeproj/project.pbxproj +0 -0
- data/{test → spec}/fixtures/TestApp30.xcodeproj/project.pbxproj +0 -0
- data/{test → spec}/fixtures/TestLib30.xcodeproj/project.pbxproj +0 -0
- data/{test → spec}/fixtures/ZergSupport.xcodeproj/project.pbxproj +0 -0
- data/{test → spec}/fixtures/project.pbxproj +0 -0
- data/{test → spec}/fixtures/project.pbxproj.compat +0 -0
- data/spec/id_generator_spec.rb +38 -0
- data/spec/lexer_spec.rb +111 -0
- data/spec/parser_spec.rb +34 -0
- data/spec/paths_spec.rb +75 -0
- data/spec/shortcuts_spec.rb +24 -0
- data/test/objects/pbx_build_file_test.rb +3 -3
- data/test/objects/pbx_build_phase_test.rb +1 -1
- data/test/objects/pbx_container_item_proxy_test.rb +1 -1
- data/test/objects/pbx_group_test.rb +1 -1
- data/test/objects/pbx_native_target_test.rb +2 -2
- data/test/objects/pbx_project_test.rb +9 -9
- data/test/objects/pbx_target_dependency_test.rb +1 -1
- data/test/objects/xc_configuration_list_test.rb +1 -1
- data/test/plugins/addlibrary_test.rb +2 -2
- data/test/plugins/core/core_test.rb +1 -1
- data/test/plugins/import_test.rb +71 -71
- data/test/plugins/irb_test.rb +3 -3
- data/test/plugins/ls_test.rb +3 -3
- data/test/plugins/lstargets_test.rb +3 -3
- data/test/plugins/retarget_test.rb +2 -2
- data/zerg_xcode.gemspec +112 -17
- metadata +115 -113
- data/test/builder/runner_test.rb +0 -35
- data/test/builder/sdk_test.rb +0 -17
- data/test/file_format/archiver_test.rb +0 -74
- data/test/file_format/encoder_test.rb +0 -15
- data/test/file_format/lexer_test.rb +0 -60
- data/test/file_format/parser_test.rb +0 -49
- data/test/file_format/path_test.rb +0 -47
- data/test/shortcuts_test.rb +0 -22
data/test/plugins/import_test.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
require 'zerg_xcode'
|
6
6
|
require 'test/unit'
|
7
|
-
require '
|
7
|
+
require 'plugins/helper.rb'
|
8
8
|
|
9
9
|
require 'rubygems'
|
10
10
|
require 'flexmock/test_unit'
|
@@ -20,34 +20,34 @@ class Plugins::ImportTest < Test::Unit::TestCase
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def test_import_identical_small
|
23
|
-
project = ZergXcode.load '
|
23
|
+
project = ZergXcode.load 'spec/fixtures/TestApp'
|
24
24
|
assert_import_identical project
|
25
25
|
end
|
26
26
|
|
27
27
|
def test_import_identical_large
|
28
|
-
project = ZergXcode.load '
|
28
|
+
project = ZergXcode.load 'spec/fixtures/ZergSupport'
|
29
29
|
assert_import_identical project
|
30
30
|
end
|
31
31
|
|
32
32
|
def test_import_identical_30app
|
33
|
-
project = ZergXcode.load '
|
33
|
+
project = ZergXcode.load 'spec/fixtures/TestApp30'
|
34
34
|
assert_import_identical project
|
35
35
|
end
|
36
36
|
|
37
37
|
def test_import_identical_30lib
|
38
|
-
project = ZergXcode.load '
|
38
|
+
project = ZergXcode.load 'spec/fixtures/TestApp30'
|
39
39
|
assert_import_identical project
|
40
40
|
end
|
41
41
|
|
42
42
|
def test_import_differents
|
43
|
-
small = ZergXcode.load '
|
44
|
-
large = ZergXcode.load '
|
43
|
+
small = ZergXcode.load 'spec/fixtures/TestApp'
|
44
|
+
large = ZergXcode.load 'spec/fixtures/ZergSupport'
|
45
45
|
assert_import_differents small, large
|
46
46
|
end
|
47
47
|
|
48
48
|
def test_import_differents_30
|
49
|
-
small = ZergXcode.load '
|
50
|
-
large = ZergXcode.load '
|
49
|
+
small = ZergXcode.load 'spec/fixtures/TestApp30'
|
50
|
+
large = ZergXcode.load 'spec/fixtures/TestLib30'
|
51
51
|
assert_import_differents small, large
|
52
52
|
end
|
53
53
|
|
@@ -105,7 +105,7 @@ class Plugins::ImportTest < Test::Unit::TestCase
|
|
105
105
|
end
|
106
106
|
|
107
107
|
def test_bin_mappings
|
108
|
-
proj = ZergXcode.load '
|
108
|
+
proj = ZergXcode.load 'spec/fixtures/TestApp'
|
109
109
|
mappings = @plugin.cross_reference proj, ZergXcode::XcodeObject.from(proj)
|
110
110
|
|
111
111
|
bins = @plugin.bin_mappings mappings, proj
|
@@ -123,22 +123,22 @@ class Plugins::ImportTest < Test::Unit::TestCase
|
|
123
123
|
end
|
124
124
|
|
125
125
|
def test_cross_reference_identical_small
|
126
|
-
project = ZergXcode.load '
|
126
|
+
project = ZergXcode.load 'spec/fixtures/TestApp'
|
127
127
|
assert_cross_reference_covers_project project
|
128
128
|
end
|
129
129
|
|
130
130
|
def test_cross_reference_identical_large
|
131
|
-
project = ZergXcode.load '
|
131
|
+
project = ZergXcode.load 'spec/fixtures/ZergSupport'
|
132
132
|
assert_cross_reference_covers_project project
|
133
133
|
end
|
134
134
|
|
135
135
|
def test_cross_reference_identical_30app
|
136
|
-
project = ZergXcode.load '
|
136
|
+
project = ZergXcode.load 'spec/fixtures/TestApp30'
|
137
137
|
assert_cross_reference_covers_project project
|
138
138
|
end
|
139
139
|
|
140
140
|
def test_cross_reference_identical_30lib
|
141
|
-
project = ZergXcode.load '
|
141
|
+
project = ZergXcode.load 'spec/fixtures/TestLib30'
|
142
142
|
assert_cross_reference_covers_project project
|
143
143
|
end
|
144
144
|
|
@@ -162,27 +162,27 @@ class Plugins::ImportTest < Test::Unit::TestCase
|
|
162
162
|
end
|
163
163
|
|
164
164
|
def test_execute_file_ops
|
165
|
-
ops = [{ :op => :delete, :path => '
|
165
|
+
ops = [{ :op => :delete, :path => 'spec/fixtures/junk.m' },
|
166
166
|
{ :op => :copy, :from => 'test/awesome.m',
|
167
|
-
:to => '
|
167
|
+
:to => 'spec/fixtures/NewDir/awesome.m' },
|
168
168
|
{ :op => :copy, :from => 'test/ghost.m',
|
169
|
-
:to => '
|
169
|
+
:to => 'spec/fixtures/Dir/ghost.m' },
|
170
170
|
]
|
171
|
-
flexmock(File).should_receive(:exist?).with('
|
171
|
+
flexmock(File).should_receive(:exist?).with('spec/fixtures/junk.m').
|
172
172
|
and_return(true)
|
173
|
-
flexmock(FileUtils).should_receive(:rm_r).with('
|
173
|
+
flexmock(FileUtils).should_receive(:rm_r).with('spec/fixtures/junk.m').
|
174
174
|
and_return(nil)
|
175
|
-
flexmock(File).should_receive(:exist?).with('
|
175
|
+
flexmock(File).should_receive(:exist?).with('spec/fixtures/NewDir').
|
176
176
|
and_return(false)
|
177
|
-
flexmock(FileUtils).should_receive(:mkdir_p).with('
|
177
|
+
flexmock(FileUtils).should_receive(:mkdir_p).with('spec/fixtures/NewDir').
|
178
178
|
and_return(nil)
|
179
179
|
flexmock(File).should_receive(:exist?).with('test/awesome.m').
|
180
180
|
and_return(true)
|
181
181
|
flexmock(FileUtils).should_receive(:cp_r).
|
182
182
|
with('test/awesome.m',
|
183
|
-
'
|
183
|
+
'spec/fixtures/NewDir/awesome.m').
|
184
184
|
and_return(nil)
|
185
|
-
flexmock(File).should_receive(:exist?).with('
|
185
|
+
flexmock(File).should_receive(:exist?).with('spec/fixtures/Dir').
|
186
186
|
and_return(true)
|
187
187
|
flexmock(File).should_receive(:exist?).with('test/ghost.m').
|
188
188
|
and_return(false)
|
@@ -192,32 +192,32 @@ class Plugins::ImportTest < Test::Unit::TestCase
|
|
192
192
|
end
|
193
193
|
|
194
194
|
def test_import_file_ops_flatten
|
195
|
-
small = ZergXcode.load '
|
196
|
-
flat = ZergXcode.load '
|
195
|
+
small = ZergXcode.load 'spec/fixtures/TestApp'
|
196
|
+
flat = ZergXcode.load 'spec/fixtures/FlatTestApp'
|
197
197
|
|
198
198
|
golden_ops = [
|
199
|
-
['delete', '
|
200
|
-
['delete', '
|
201
|
-
['delete', '
|
202
|
-
['delete', '
|
203
|
-
['copy', '
|
204
|
-
'
|
205
|
-
['copy', '
|
206
|
-
'
|
207
|
-
['copy', '
|
208
|
-
'
|
209
|
-
['copy', '
|
210
|
-
'
|
211
|
-
['copy', '
|
212
|
-
'
|
213
|
-
['copy', '
|
214
|
-
'
|
215
|
-
['copy', '
|
216
|
-
'
|
217
|
-
['copy', '
|
218
|
-
'
|
219
|
-
['copy', '
|
220
|
-
'
|
199
|
+
['delete', 'spec/fixtures/TestApp/Classes/TestAppAppDelegate.h', '*'],
|
200
|
+
['delete', 'spec/fixtures/TestApp/Classes/TestAppAppDelegate.m', '*'],
|
201
|
+
['delete', 'spec/fixtures/TestApp/Classes/TestAppViewController.h', '*'],
|
202
|
+
['delete', 'spec/fixtures/TestApp/Classes/TestAppViewController.m', '*'],
|
203
|
+
['copy', 'spec/fixtures/TestApp/TestAppAppDelegate.h',
|
204
|
+
'spec/fixtures/FlatTestApp/TestAppAppDelegate.h'],
|
205
|
+
['copy', 'spec/fixtures/TestApp/TestAppAppDelegate.m',
|
206
|
+
'spec/fixtures/FlatTestApp/TestAppAppDelegate.m'],
|
207
|
+
['copy', 'spec/fixtures/TestApp/TestAppViewController.h',
|
208
|
+
'spec/fixtures/FlatTestApp/TestAppViewController.h'],
|
209
|
+
['copy', 'spec/fixtures/TestApp/TestAppViewController.m',
|
210
|
+
'spec/fixtures/FlatTestApp/TestAppViewController.m'],
|
211
|
+
['copy', 'spec/fixtures/TestApp/TestApp_Prefix.pch',
|
212
|
+
'spec/fixtures/FlatTestApp/TestApp_Prefix.pch'],
|
213
|
+
['copy', 'spec/fixtures/TestApp/main.m',
|
214
|
+
'spec/fixtures/FlatTestApp/main.m'],
|
215
|
+
['copy', 'spec/fixtures/TestApp/TestAppViewController.xib',
|
216
|
+
'spec/fixtures/FlatTestApp/TestAppViewController.xib'],
|
217
|
+
['copy', 'spec/fixtures/TestApp/MainWindow.xib',
|
218
|
+
'spec/fixtures/FlatTestApp/MainWindow.xib'],
|
219
|
+
['copy', 'spec/fixtures/TestApp/Info.plist',
|
220
|
+
'spec/fixtures/FlatTestApp/Info.plist'],
|
221
221
|
]
|
222
222
|
|
223
223
|
|
@@ -229,32 +229,32 @@ class Plugins::ImportTest < Test::Unit::TestCase
|
|
229
229
|
end
|
230
230
|
|
231
231
|
def test_import_file_ops_branch
|
232
|
-
small = ZergXcode.load '
|
233
|
-
flat = ZergXcode.load '
|
232
|
+
small = ZergXcode.load 'spec/fixtures/TestApp'
|
233
|
+
flat = ZergXcode.load 'spec/fixtures/FlatTestApp'
|
234
234
|
|
235
235
|
golden_ops = [
|
236
|
-
['delete', '
|
237
|
-
['delete', '
|
238
|
-
['delete', '
|
239
|
-
['delete', '
|
240
|
-
['copy', '
|
241
|
-
'
|
242
|
-
['copy', '
|
243
|
-
'
|
244
|
-
['copy', '
|
245
|
-
'
|
246
|
-
['copy', '
|
247
|
-
'
|
248
|
-
['copy', '
|
249
|
-
'
|
250
|
-
['copy', '
|
251
|
-
'
|
252
|
-
['copy', '
|
253
|
-
'
|
254
|
-
['copy', '
|
255
|
-
'
|
256
|
-
['copy', '
|
257
|
-
'
|
236
|
+
['delete', 'spec/fixtures/FlatTestApp/TestAppAppDelegate.h', '*'],
|
237
|
+
['delete', 'spec/fixtures/FlatTestApp/TestAppAppDelegate.m', '*'],
|
238
|
+
['delete', 'spec/fixtures/FlatTestApp/TestAppViewController.h', '*'],
|
239
|
+
['delete', 'spec/fixtures/FlatTestApp/TestAppViewController.m', '*'],
|
240
|
+
['copy', 'spec/fixtures/FlatTestApp/Classes/TestAppAppDelegate.h',
|
241
|
+
'spec/fixtures/TestApp/Classes/TestAppAppDelegate.h'],
|
242
|
+
['copy', 'spec/fixtures/FlatTestApp/Classes/TestAppAppDelegate.m',
|
243
|
+
'spec/fixtures/TestApp/Classes/TestAppAppDelegate.m'],
|
244
|
+
['copy', 'spec/fixtures/FlatTestApp/Classes/TestAppViewController.h',
|
245
|
+
'spec/fixtures/TestApp/Classes/TestAppViewController.h'],
|
246
|
+
['copy', 'spec/fixtures/FlatTestApp/Classes/TestAppViewController.m',
|
247
|
+
'spec/fixtures/TestApp/Classes/TestAppViewController.m'],
|
248
|
+
['copy', 'spec/fixtures/FlatTestApp/TestApp_Prefix.pch',
|
249
|
+
'spec/fixtures/TestApp/TestApp_Prefix.pch'],
|
250
|
+
['copy', 'spec/fixtures/FlatTestApp/main.m',
|
251
|
+
'spec/fixtures/TestApp/main.m'],
|
252
|
+
['copy', 'spec/fixtures/FlatTestApp/TestAppViewController.xib',
|
253
|
+
'spec/fixtures/TestApp/TestAppViewController.xib'],
|
254
|
+
['copy', 'spec/fixtures/FlatTestApp/MainWindow.xib',
|
255
|
+
'spec/fixtures/TestApp/MainWindow.xib'],
|
256
|
+
['copy', 'spec/fixtures/FlatTestApp/Info.plist',
|
257
|
+
'spec/fixtures/TestApp/Info.plist'],
|
258
258
|
]
|
259
259
|
|
260
260
|
file_ops = @plugin.import_project! small, flat
|
data/test/plugins/irb_test.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
require 'zerg_xcode'
|
6
6
|
require 'test/unit'
|
7
|
-
require '
|
7
|
+
require 'plugins/helper.rb'
|
8
8
|
|
9
9
|
require 'rubygems'
|
10
10
|
require 'flexmock/test_unit'
|
@@ -21,10 +21,10 @@ class Plugins::IrbTest < Test::Unit::TestCase
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def test_irb_call
|
24
|
-
test_project = ZergXcode.load '
|
24
|
+
test_project = ZergXcode.load 'spec'
|
25
25
|
|
26
26
|
flexmock(IRB).should_receive(:start).and_return(nil)
|
27
|
-
output = Dir.chdir('
|
27
|
+
output = Dir.chdir('spec') do
|
28
28
|
capture_output { @plugin.run([]) }
|
29
29
|
end
|
30
30
|
assert_equal test_project.attrs, $p.attrs, 'Loaded incorrect project'
|
data/test/plugins/ls_test.rb
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
require 'zerg_xcode'
|
6
6
|
require 'stringio'
|
7
7
|
require 'test/unit'
|
8
|
-
require '
|
8
|
+
require 'plugins/helper.rb'
|
9
9
|
|
10
10
|
module Plugins; end
|
11
11
|
|
@@ -34,12 +34,12 @@ class Plugins::LsTest < Test::Unit::TestCase
|
|
34
34
|
["SDKROOT/System/Library/Frameworks/CoreGraphics.framework",
|
35
35
|
"wrapper.framework"],
|
36
36
|
["BUILT_PRODUCTS_DIR/TestApp.app", nil]]
|
37
|
-
file_list = @plugin.list_for '
|
37
|
+
file_list = @plugin.list_for 'spec/fixtures/project.pbxproj'
|
38
38
|
assert_equal golden_list.sort, file_list.sort
|
39
39
|
end
|
40
40
|
|
41
41
|
def test_run
|
42
|
-
output = capture_output { @plugin.run(['
|
42
|
+
output = capture_output { @plugin.run(['spec/fixtures']) }
|
43
43
|
assert_equal "sourcecode.c.h ./Classes/TestAppAppDelegate.h",
|
44
44
|
output[/^(.*?)$/]
|
45
45
|
end
|
@@ -5,7 +5,7 @@
|
|
5
5
|
require 'zerg_xcode'
|
6
6
|
require 'stringio'
|
7
7
|
require 'test/unit'
|
8
|
-
require '
|
8
|
+
require 'plugins/helper.rb'
|
9
9
|
|
10
10
|
module Plugins; end
|
11
11
|
|
@@ -24,12 +24,12 @@ class Plugins::LstargetsTest < Test::Unit::TestCase
|
|
24
24
|
["ZergSupportTests", "ZergSupportTests",
|
25
25
|
"com.apple.product-type.application"],
|
26
26
|
]
|
27
|
-
file_list = @plugin.list_for '
|
27
|
+
file_list = @plugin.list_for 'spec/fixtures/ZergSupport'
|
28
28
|
assert_equal golden_list.sort, file_list.sort
|
29
29
|
end
|
30
30
|
|
31
31
|
def test_run
|
32
|
-
output = capture_output { @plugin.run(['
|
32
|
+
output = capture_output { @plugin.run(['spec/fixtures/ZergSupport']) }
|
33
33
|
assert_equal "library.static ZergSupport > ZergSupport",
|
34
34
|
output[/^(.*?)$/]
|
35
35
|
end
|
@@ -6,7 +6,7 @@ require 'zerg_xcode'
|
|
6
6
|
require 'stringio'
|
7
7
|
require 'test/unit'
|
8
8
|
|
9
|
-
require '
|
9
|
+
require 'plugins/helper.rb'
|
10
10
|
require 'rubygems'
|
11
11
|
require 'flexmock'
|
12
12
|
|
@@ -16,7 +16,7 @@ class Plugins::RetargetTest < Test::Unit::TestCase
|
|
16
16
|
def setup
|
17
17
|
super
|
18
18
|
@plugin = ZergXcode.plugin 'retarget'
|
19
|
-
@proj = ZergXcode.load '
|
19
|
+
@proj = ZergXcode.load 'spec/fixtures/TestApp/TestApp.xcodeproj'
|
20
20
|
@regexp = /^Test.*\.[^a]/
|
21
21
|
|
22
22
|
@golden_list_for_app = [
|
data/zerg_xcode.gemspec
CHANGED
@@ -1,33 +1,128 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
1
4
|
# -*- encoding: utf-8 -*-
|
2
5
|
|
3
6
|
Gem::Specification.new do |s|
|
4
|
-
s.name =
|
5
|
-
s.version = "0.
|
7
|
+
s.name = "zerg_xcode"
|
8
|
+
s.version = "0.4.0"
|
6
9
|
|
7
|
-
s.required_rubygems_version = Gem::Requirement.new(">=
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
11
|
s.authors = ["Victor Costan"]
|
9
|
-
s.date =
|
10
|
-
s.
|
11
|
-
s.description = %q{Automated modifications for Xcode project files}
|
12
|
-
s.email = %q{victor@zergling.net}
|
12
|
+
s.date = "2012-01-03"
|
13
|
+
s.email = "victor@zergling.net"
|
13
14
|
s.executables = ["zerg-xcode"]
|
14
|
-
s.extra_rdoc_files = [
|
15
|
-
|
16
|
-
|
17
|
-
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.textile"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".project",
|
22
|
+
"CHANGELOG",
|
23
|
+
"Gemfile",
|
24
|
+
"Gemfile.lock",
|
25
|
+
"LICENSE",
|
26
|
+
"Manifest",
|
27
|
+
"README.textile",
|
28
|
+
"RUBYFORGE",
|
29
|
+
"Rakefile",
|
30
|
+
"VERSION",
|
31
|
+
"bin/zerg-xcode",
|
32
|
+
"lib/zerg_xcode.rb",
|
33
|
+
"lib/zerg_xcode/builder/runner.rb",
|
34
|
+
"lib/zerg_xcode/builder/sdks.rb",
|
35
|
+
"lib/zerg_xcode/file_format/archiver.rb",
|
36
|
+
"lib/zerg_xcode/file_format/encoder.rb",
|
37
|
+
"lib/zerg_xcode/file_format/id_generator.rb",
|
38
|
+
"lib/zerg_xcode/file_format/lexer.rb",
|
39
|
+
"lib/zerg_xcode/file_format/parser.rb",
|
40
|
+
"lib/zerg_xcode/file_format/scan_buffer.rb",
|
41
|
+
"lib/zerg_xcode/objects/pbx_build_file.rb",
|
42
|
+
"lib/zerg_xcode/objects/pbx_build_phase.rb",
|
43
|
+
"lib/zerg_xcode/objects/pbx_container_item_proxy.rb",
|
44
|
+
"lib/zerg_xcode/objects/pbx_group.rb",
|
45
|
+
"lib/zerg_xcode/objects/pbx_native_target.rb",
|
46
|
+
"lib/zerg_xcode/objects/pbx_project.rb",
|
47
|
+
"lib/zerg_xcode/objects/pbx_target_dependency.rb",
|
48
|
+
"lib/zerg_xcode/objects/xc_configuration_list.rb",
|
49
|
+
"lib/zerg_xcode/objects/xcode_object.rb",
|
50
|
+
"lib/zerg_xcode/paths.rb",
|
51
|
+
"lib/zerg_xcode/plugins/addlibrary.rb",
|
52
|
+
"lib/zerg_xcode/plugins/core/core.rb",
|
53
|
+
"lib/zerg_xcode/plugins/help.rb",
|
54
|
+
"lib/zerg_xcode/plugins/import.rb",
|
55
|
+
"lib/zerg_xcode/plugins/irb.rb",
|
56
|
+
"lib/zerg_xcode/plugins/ls.rb",
|
57
|
+
"lib/zerg_xcode/plugins/lstargets.rb",
|
58
|
+
"lib/zerg_xcode/plugins/retarget.rb",
|
59
|
+
"lib/zerg_xcode/shortcuts.rb",
|
60
|
+
"spec/archiver_spec.rb",
|
61
|
+
"spec/builder/runner_spec.rb",
|
62
|
+
"spec/builder/sdk_spec.rb",
|
63
|
+
"spec/encoder_spec.rb",
|
64
|
+
"spec/fixtures/ClosedLib/ClosedLib.xcodeproj/project.pbxproj",
|
65
|
+
"spec/fixtures/ClosedLib/ClosedLib_Prefix.pch",
|
66
|
+
"spec/fixtures/ClosedLib/ClosedNative.c",
|
67
|
+
"spec/fixtures/ClosedLib/ClosedNative.h",
|
68
|
+
"spec/fixtures/FlatTestApp/FlatTestApp.xcodeproj/project.pbxproj",
|
69
|
+
"spec/fixtures/TestApp/TestApp.xcodeproj/project.pbxproj",
|
70
|
+
"spec/fixtures/TestApp30.xcodeproj/project.pbxproj",
|
71
|
+
"spec/fixtures/TestLib30.xcodeproj/project.pbxproj",
|
72
|
+
"spec/fixtures/ZergSupport.xcodeproj/project.pbxproj",
|
73
|
+
"spec/fixtures/project.pbxproj",
|
74
|
+
"spec/fixtures/project.pbxproj.compat",
|
75
|
+
"spec/id_generator_spec.rb",
|
76
|
+
"spec/lexer_spec.rb",
|
77
|
+
"spec/parser_spec.rb",
|
78
|
+
"spec/paths_spec.rb",
|
79
|
+
"spec/shortcuts_spec.rb",
|
80
|
+
"test/objects/pbx_build_file_test.rb",
|
81
|
+
"test/objects/pbx_build_phase_test.rb",
|
82
|
+
"test/objects/pbx_container_item_proxy_test.rb",
|
83
|
+
"test/objects/pbx_group_test.rb",
|
84
|
+
"test/objects/pbx_native_target_test.rb",
|
85
|
+
"test/objects/pbx_project_test.rb",
|
86
|
+
"test/objects/pbx_target_dependency_test.rb",
|
87
|
+
"test/objects/xc_configuration_list_test.rb",
|
88
|
+
"test/objects/xcode_object_test.rb",
|
89
|
+
"test/plugins/addlibrary_test.rb",
|
90
|
+
"test/plugins/core/core_test.rb",
|
91
|
+
"test/plugins/helper.rb",
|
92
|
+
"test/plugins/import_test.rb",
|
93
|
+
"test/plugins/irb_test.rb",
|
94
|
+
"test/plugins/ls_test.rb",
|
95
|
+
"test/plugins/lstargets_test.rb",
|
96
|
+
"test/plugins/retarget_test.rb",
|
97
|
+
"zerg_xcode.gemspec"
|
98
|
+
]
|
99
|
+
s.homepage = "http://github.com/zerglings/zerg_xcode"
|
18
100
|
s.require_paths = ["lib"]
|
19
|
-
s.
|
20
|
-
s.
|
21
|
-
s.summary = %q{Automated modifications for Xcode project files}
|
22
|
-
s.test_files = ["test/builder/runner_test.rb", "test/builder/sdk_test.rb", "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"]
|
101
|
+
s.rubygems_version = "1.8.10"
|
102
|
+
s.summary = "Automated modifications for Xcode project files"
|
23
103
|
|
24
104
|
if s.respond_to? :specification_version then
|
25
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
26
105
|
s.specification_version = 3
|
27
106
|
|
28
|
-
if Gem::Version.new(Gem::
|
107
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
108
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
109
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
110
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
111
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.7.0"])
|
112
|
+
s.add_development_dependency(%q<flexmock>, [">= 0"])
|
29
113
|
else
|
114
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
115
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
116
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
117
|
+
s.add_dependency(%q<rspec>, ["~> 2.7.0"])
|
118
|
+
s.add_dependency(%q<flexmock>, [">= 0"])
|
30
119
|
end
|
31
120
|
else
|
121
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
122
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
123
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
124
|
+
s.add_dependency(%q<rspec>, ["~> 2.7.0"])
|
125
|
+
s.add_dependency(%q<flexmock>, [">= 0"])
|
32
126
|
end
|
33
127
|
end
|
128
|
+
|