zerg_xcode 0.3.5 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. data/.document +5 -0
  2. data/.project +17 -0
  3. data/Gemfile +10 -0
  4. data/Gemfile.lock +30 -0
  5. data/Rakefile +50 -23
  6. data/VERSION +1 -0
  7. data/lib/zerg_xcode/file_format/archiver.rb +0 -24
  8. data/lib/zerg_xcode/file_format/id_generator.rb +30 -0
  9. data/lib/zerg_xcode/file_format/lexer.rb +113 -56
  10. data/lib/zerg_xcode/file_format/parser.rb +28 -34
  11. data/lib/zerg_xcode/file_format/scan_buffer.rb +46 -0
  12. data/lib/zerg_xcode/objects/pbx_project.rb +1 -1
  13. data/lib/zerg_xcode/objects/xcode_object.rb +2 -1
  14. data/lib/zerg_xcode/{file_format/paths.rb → paths.rb} +5 -6
  15. data/lib/zerg_xcode/shortcuts.rb +2 -2
  16. data/lib/zerg_xcode.rb +7 -1
  17. data/spec/archiver_spec.rb +83 -0
  18. data/spec/builder/runner_spec.rb +27 -0
  19. data/spec/builder/sdk_spec.rb +11 -0
  20. data/spec/encoder_spec.rb +17 -0
  21. data/{test → spec}/fixtures/ClosedLib/ClosedLib.xcodeproj/project.pbxproj +0 -0
  22. data/{test → spec}/fixtures/ClosedLib/ClosedLib_Prefix.pch +0 -0
  23. data/{test → spec}/fixtures/ClosedLib/ClosedNative.c +0 -0
  24. data/{test → spec}/fixtures/ClosedLib/ClosedNative.h +0 -0
  25. data/{test → spec}/fixtures/FlatTestApp/FlatTestApp.xcodeproj/project.pbxproj +0 -0
  26. data/{test → spec}/fixtures/TestApp/TestApp.xcodeproj/project.pbxproj +0 -0
  27. data/{test → spec}/fixtures/TestApp30.xcodeproj/project.pbxproj +0 -0
  28. data/{test → spec}/fixtures/TestLib30.xcodeproj/project.pbxproj +0 -0
  29. data/{test → spec}/fixtures/ZergSupport.xcodeproj/project.pbxproj +0 -0
  30. data/{test → spec}/fixtures/project.pbxproj +0 -0
  31. data/{test → spec}/fixtures/project.pbxproj.compat +0 -0
  32. data/spec/id_generator_spec.rb +38 -0
  33. data/spec/lexer_spec.rb +111 -0
  34. data/spec/parser_spec.rb +34 -0
  35. data/spec/paths_spec.rb +75 -0
  36. data/spec/shortcuts_spec.rb +24 -0
  37. data/test/objects/pbx_build_file_test.rb +3 -3
  38. data/test/objects/pbx_build_phase_test.rb +1 -1
  39. data/test/objects/pbx_container_item_proxy_test.rb +1 -1
  40. data/test/objects/pbx_group_test.rb +1 -1
  41. data/test/objects/pbx_native_target_test.rb +2 -2
  42. data/test/objects/pbx_project_test.rb +9 -9
  43. data/test/objects/pbx_target_dependency_test.rb +1 -1
  44. data/test/objects/xc_configuration_list_test.rb +1 -1
  45. data/test/plugins/addlibrary_test.rb +2 -2
  46. data/test/plugins/core/core_test.rb +1 -1
  47. data/test/plugins/import_test.rb +71 -71
  48. data/test/plugins/irb_test.rb +3 -3
  49. data/test/plugins/ls_test.rb +3 -3
  50. data/test/plugins/lstargets_test.rb +3 -3
  51. data/test/plugins/retarget_test.rb +2 -2
  52. data/zerg_xcode.gemspec +112 -17
  53. metadata +115 -113
  54. data/test/builder/runner_test.rb +0 -35
  55. data/test/builder/sdk_test.rb +0 -17
  56. data/test/file_format/archiver_test.rb +0 -74
  57. data/test/file_format/encoder_test.rb +0 -15
  58. data/test/file_format/lexer_test.rb +0 -60
  59. data/test/file_format/parser_test.rb +0 -49
  60. data/test/file_format/path_test.rb +0 -47
  61. data/test/shortcuts_test.rb +0 -22
@@ -4,7 +4,7 @@
4
4
 
5
5
  require 'zerg_xcode'
6
6
  require 'test/unit'
7
- require 'test/plugins/helper.rb'
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 'test/fixtures/TestApp'
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 'test/fixtures/ZergSupport'
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 'test/fixtures/TestApp30'
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 'test/fixtures/TestApp30'
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 'test/fixtures/TestApp'
44
- large = ZergXcode.load 'test/fixtures/ZergSupport'
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 'test/fixtures/TestApp30'
50
- large = ZergXcode.load 'test/fixtures/TestLib30'
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 'test/fixtures/TestApp'
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 'test/fixtures/TestApp'
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 'test/fixtures/ZergSupport'
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 'test/fixtures/TestApp30'
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 'test/fixtures/TestLib30'
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 => 'test/fixtures/junk.m' },
165
+ ops = [{ :op => :delete, :path => 'spec/fixtures/junk.m' },
166
166
  { :op => :copy, :from => 'test/awesome.m',
167
- :to => 'test/fixtures/NewDir/awesome.m' },
167
+ :to => 'spec/fixtures/NewDir/awesome.m' },
168
168
  { :op => :copy, :from => 'test/ghost.m',
169
- :to => 'test/fixtures/Dir/ghost.m' },
169
+ :to => 'spec/fixtures/Dir/ghost.m' },
170
170
  ]
171
- flexmock(File).should_receive(:exist?).with('test/fixtures/junk.m').
171
+ flexmock(File).should_receive(:exist?).with('spec/fixtures/junk.m').
172
172
  and_return(true)
173
- flexmock(FileUtils).should_receive(:rm_r).with('test/fixtures/junk.m').
173
+ flexmock(FileUtils).should_receive(:rm_r).with('spec/fixtures/junk.m').
174
174
  and_return(nil)
175
- flexmock(File).should_receive(:exist?).with('test/fixtures/NewDir').
175
+ flexmock(File).should_receive(:exist?).with('spec/fixtures/NewDir').
176
176
  and_return(false)
177
- flexmock(FileUtils).should_receive(:mkdir_p).with('test/fixtures/NewDir').
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
- 'test/fixtures/NewDir/awesome.m').
183
+ 'spec/fixtures/NewDir/awesome.m').
184
184
  and_return(nil)
185
- flexmock(File).should_receive(:exist?).with('test/fixtures/Dir').
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 'test/fixtures/TestApp'
196
- flat = ZergXcode.load 'test/fixtures/FlatTestApp'
195
+ small = ZergXcode.load 'spec/fixtures/TestApp'
196
+ flat = ZergXcode.load 'spec/fixtures/FlatTestApp'
197
197
 
198
198
  golden_ops = [
199
- ['delete', 'test/fixtures/TestApp/Classes/TestAppAppDelegate.h', '*'],
200
- ['delete', 'test/fixtures/TestApp/Classes/TestAppAppDelegate.m', '*'],
201
- ['delete', 'test/fixtures/TestApp/Classes/TestAppViewController.h', '*'],
202
- ['delete', 'test/fixtures/TestApp/Classes/TestAppViewController.m', '*'],
203
- ['copy', 'test/fixtures/TestApp/TestAppAppDelegate.h',
204
- 'test/fixtures/FlatTestApp/TestAppAppDelegate.h'],
205
- ['copy', 'test/fixtures/TestApp/TestAppAppDelegate.m',
206
- 'test/fixtures/FlatTestApp/TestAppAppDelegate.m'],
207
- ['copy', 'test/fixtures/TestApp/TestAppViewController.h',
208
- 'test/fixtures/FlatTestApp/TestAppViewController.h'],
209
- ['copy', 'test/fixtures/TestApp/TestAppViewController.m',
210
- 'test/fixtures/FlatTestApp/TestAppViewController.m'],
211
- ['copy', 'test/fixtures/TestApp/TestApp_Prefix.pch',
212
- 'test/fixtures/FlatTestApp/TestApp_Prefix.pch'],
213
- ['copy', 'test/fixtures/TestApp/main.m',
214
- 'test/fixtures/FlatTestApp/main.m'],
215
- ['copy', 'test/fixtures/TestApp/TestAppViewController.xib',
216
- 'test/fixtures/FlatTestApp/TestAppViewController.xib'],
217
- ['copy', 'test/fixtures/TestApp/MainWindow.xib',
218
- 'test/fixtures/FlatTestApp/MainWindow.xib'],
219
- ['copy', 'test/fixtures/TestApp/Info.plist',
220
- 'test/fixtures/FlatTestApp/Info.plist'],
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 'test/fixtures/TestApp'
233
- flat = ZergXcode.load 'test/fixtures/FlatTestApp'
232
+ small = ZergXcode.load 'spec/fixtures/TestApp'
233
+ flat = ZergXcode.load 'spec/fixtures/FlatTestApp'
234
234
 
235
235
  golden_ops = [
236
- ['delete', 'test/fixtures/FlatTestApp/TestAppAppDelegate.h', '*'],
237
- ['delete', 'test/fixtures/FlatTestApp/TestAppAppDelegate.m', '*'],
238
- ['delete', 'test/fixtures/FlatTestApp/TestAppViewController.h', '*'],
239
- ['delete', 'test/fixtures/FlatTestApp/TestAppViewController.m', '*'],
240
- ['copy', 'test/fixtures/FlatTestApp/Classes/TestAppAppDelegate.h',
241
- 'test/fixtures/TestApp/Classes/TestAppAppDelegate.h'],
242
- ['copy', 'test/fixtures/FlatTestApp/Classes/TestAppAppDelegate.m',
243
- 'test/fixtures/TestApp/Classes/TestAppAppDelegate.m'],
244
- ['copy', 'test/fixtures/FlatTestApp/Classes/TestAppViewController.h',
245
- 'test/fixtures/TestApp/Classes/TestAppViewController.h'],
246
- ['copy', 'test/fixtures/FlatTestApp/Classes/TestAppViewController.m',
247
- 'test/fixtures/TestApp/Classes/TestAppViewController.m'],
248
- ['copy', 'test/fixtures/FlatTestApp/TestApp_Prefix.pch',
249
- 'test/fixtures/TestApp/TestApp_Prefix.pch'],
250
- ['copy', 'test/fixtures/FlatTestApp/main.m',
251
- 'test/fixtures/TestApp/main.m'],
252
- ['copy', 'test/fixtures/FlatTestApp/TestAppViewController.xib',
253
- 'test/fixtures/TestApp/TestAppViewController.xib'],
254
- ['copy', 'test/fixtures/FlatTestApp/MainWindow.xib',
255
- 'test/fixtures/TestApp/MainWindow.xib'],
256
- ['copy', 'test/fixtures/FlatTestApp/Info.plist',
257
- 'test/fixtures/TestApp/Info.plist'],
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
@@ -4,7 +4,7 @@
4
4
 
5
5
  require 'zerg_xcode'
6
6
  require 'test/unit'
7
- require 'test/plugins/helper.rb'
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 'test'
24
+ test_project = ZergXcode.load 'spec'
25
25
 
26
26
  flexmock(IRB).should_receive(:start).and_return(nil)
27
- output = Dir.chdir('test') do
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'
@@ -5,7 +5,7 @@
5
5
  require 'zerg_xcode'
6
6
  require 'stringio'
7
7
  require 'test/unit'
8
- require 'test/plugins/helper.rb'
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 'test/fixtures/project.pbxproj'
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(['test/fixtures']) }
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 'test/plugins/helper.rb'
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 'test/fixtures/ZergSupport'
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(['test/fixtures/ZergSupport']) }
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 'test/plugins/helper.rb'
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 'test/fixtures/TestApp/TestApp.xcodeproj'
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 = %q{zerg_xcode}
5
- s.version = "0.3.5"
7
+ s.name = "zerg_xcode"
8
+ s.version = "0.4.0"
6
9
 
7
- s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
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 = %q{2009-12-06}
10
- s.default_executable = %q{bin/zerg-xcode}
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 = ["CHANGELOG", "LICENSE", "README.textile", "bin/zerg-xcode", "lib/zerg_xcode.rb", "lib/zerg_xcode/builder/runner.rb", "lib/zerg_xcode/builder/sdks.rb", "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"]
15
- s.files = ["CHANGELOG", "LICENSE", "Manifest", "README.textile", "RUBYFORGE", "Rakefile", "bin/zerg-xcode", "lib/zerg_xcode.rb", "lib/zerg_xcode/builder/runner.rb", "lib/zerg_xcode/builder/sdks.rb", "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", "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/fixtures/ClosedLib/ClosedLib.xcodeproj/project.pbxproj", "test/fixtures/ClosedLib/ClosedLib_Prefix.pch", "test/fixtures/ClosedLib/ClosedNative.c", "test/fixtures/ClosedLib/ClosedNative.h", "test/fixtures/FlatTestApp/FlatTestApp.xcodeproj/project.pbxproj", "test/fixtures/TestApp/TestApp.xcodeproj/project.pbxproj", "test/fixtures/TestApp30.xcodeproj/project.pbxproj", "test/fixtures/TestLib30.xcodeproj/project.pbxproj", "test/fixtures/ZergSupport.xcodeproj/project.pbxproj", "test/fixtures/project.pbxproj", "test/fixtures/project.pbxproj.compat", "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", "zerg_xcode.gemspec"]
16
- s.homepage = %q{http://www.zergling.net/}
17
- s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Zerg_xcode", "--main", "README.textile"]
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.rubyforge_project = %q{zerglings}
20
- s.rubygems_version = %q{1.3.5}
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::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
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
+