sprout 1.0.13.pre → 1.0.14.pre
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sprout might be problematic. Click here for more details.
- data/lib/sprout/version.rb +1 -1
- data/sprout-1.0.13.pre.gem +0 -0
- data/sprout.gemspec +1 -1
- metadata +3 -146
- data/POSTINSTALL.rdoc +0 -28
- data/lib/sprout/rdoc_parser.rb +0 -91
- data/rdoc/<.html +0 -274
- data/rdoc/Dir.html +0 -387
- data/rdoc/Object.html +0 -344
- data/rdoc/Sprout.html +0 -440
- data/rdoc/Sprout/ArchiveUnpacker.html +0 -1045
- data/rdoc/Sprout/Base.html +0 -283
- data/rdoc/Sprout/Base/ClassMethods.html +0 -474
- data/rdoc/Sprout/Concern.html +0 -415
- data/rdoc/Sprout/Errors.html +0 -324
- data/rdoc/Sprout/Errors/ArchiveUnpackerError.html +0 -284
- data/rdoc/Sprout/Errors/DestinationExistsError.html +0 -286
- data/rdoc/Sprout/Errors/DuplicateMemberError.html +0 -284
- data/rdoc/Sprout/Errors/ExecutableError.html +0 -285
- data/rdoc/Sprout/Errors/ExecutableRegistrationError.html +0 -284
- data/rdoc/Sprout/Errors/ExecutionError.html +0 -284
- data/rdoc/Sprout/Errors/GeneratorError.html +0 -284
- data/rdoc/Sprout/Errors/InvalidArgumentError.html +0 -284
- data/rdoc/Sprout/Errors/LoadError.html +0 -284
- data/rdoc/Sprout/Errors/MissingArgumentError.html +0 -284
- data/rdoc/Sprout/Errors/MissingExecutableError.html +0 -284
- data/rdoc/Sprout/Errors/MissingGeneratorError.html +0 -285
- data/rdoc/Sprout/Errors/MissingTemplateError.html +0 -285
- data/rdoc/Sprout/Errors/ProcessRunnerError.html +0 -284
- data/rdoc/Sprout/Errors/RemoteFileLoaderError.html +0 -284
- data/rdoc/Sprout/Errors/SproutError.html +0 -284
- data/rdoc/Sprout/Errors/UnknownArchiveType.html +0 -285
- data/rdoc/Sprout/Errors/UsageError.html +0 -284
- data/rdoc/Sprout/Errors/ValidationError.html +0 -284
- data/rdoc/Sprout/Errors/VersionRequirementNotMetError.html +0 -284
- data/rdoc/Sprout/Executable.html +0 -549
- data/rdoc/Sprout/Executable/Boolean.html +0 -445
- data/rdoc/Sprout/Executable/ClassMethods.html +0 -713
- data/rdoc/Sprout/Executable/CollectionParam.html +0 -501
- data/rdoc/Sprout/Executable/FileParam.html +0 -512
- data/rdoc/Sprout/Executable/Files.html +0 -385
- data/rdoc/Sprout/Executable/InstanceMethods.html +0 -1597
- data/rdoc/Sprout/Executable/Number.html +0 -284
- data/rdoc/Sprout/Executable/Param.html +0 -1660
- data/rdoc/Sprout/Executable/ParameterFactory.html +0 -345
- data/rdoc/Sprout/Executable/Path.html +0 -339
- data/rdoc/Sprout/Executable/Paths.html +0 -339
- data/rdoc/Sprout/Executable/StringParam.html +0 -333
- data/rdoc/Sprout/Executable/Strings.html +0 -295
- data/rdoc/Sprout/Executable/Url.html +0 -284
- data/rdoc/Sprout/Executable/Urls.html +0 -284
- data/rdoc/Sprout/FileTarget.html +0 -660
- data/rdoc/Sprout/Generator.html +0 -643
- data/rdoc/Sprout/Generator/Base.html +0 -1143
- data/rdoc/Sprout/Generator/Command.html +0 -604
- data/rdoc/Sprout/Generator/DirectoryManifest.html +0 -561
- data/rdoc/Sprout/Generator/FileManifest.html +0 -545
- data/rdoc/Sprout/Generator/Manifest.html +0 -387
- data/rdoc/Sprout/Generator/TemplateManifest.html +0 -331
- data/rdoc/Sprout/GeneratorGenerator.html +0 -358
- data/rdoc/Sprout/Library.html +0 -646
- data/rdoc/Sprout/LibraryGenerator.html +0 -368
- data/rdoc/Sprout/Log.html +0 -281
- data/rdoc/Sprout/Platform.html +0 -610
- data/rdoc/Sprout/ProcessRunner.html +0 -1145
- data/rdoc/Sprout/ProgressBar.html +0 -281
- data/rdoc/Sprout/ProgressBarImpl.html +0 -281
- data/rdoc/Sprout/ProgressBarManager.html +0 -281
- data/rdoc/Sprout/ProgressBarOutputStream.html +0 -281
- data/rdoc/Sprout/RDocParser.html +0 -702
- data/rdoc/Sprout/RemoteFileLoader.html +0 -537
- data/rdoc/Sprout/RemoteFileTarget.html +0 -741
- data/rdoc/Sprout/ReversedProgressBar.html +0 -281
- data/rdoc/Sprout/RubyFeature.html +0 -324
- data/rdoc/Sprout/RubyFeature/ClassMethods.html +0 -821
- data/rdoc/Sprout/RubyGenerator.html +0 -576
- data/rdoc/Sprout/Specification.html +0 -915
- data/rdoc/Sprout/System.html +0 -383
- data/rdoc/Sprout/System/BaseSystem.html +0 -1173
- data/rdoc/Sprout/System/JavaSystem.html +0 -284
- data/rdoc/Sprout/System/OSXSystem.html +0 -419
- data/rdoc/Sprout/System/ThreadMock.html +0 -281
- data/rdoc/Sprout/System/UnixSystem.html +0 -583
- data/rdoc/Sprout/System/VistaSystem.html +0 -367
- data/rdoc/Sprout/System/WinNixSystem.html +0 -417
- data/rdoc/Sprout/System/WinSystem.html +0 -672
- data/rdoc/Sprout/ToolGenerator.html +0 -376
- data/rdoc/Sprout/VERSION.html +0 -274
- data/rdoc/SproutTestCase.html +0 -279
- data/rdoc/String.html +0 -411
- data/rdoc/created.rid +0 -61
- data/rdoc/index.html +0 -795
- data/rdoc/lib/sprout/archive_unpacker_rb.html +0 -56
- data/rdoc/lib/sprout/base_rb.html +0 -111
- data/rdoc/lib/sprout/concern_rb.html +0 -52
- data/rdoc/lib/sprout/dir_rb.html +0 -52
- data/rdoc/lib/sprout/errors_rb.html +0 -52
- data/rdoc/lib/sprout/executable/boolean_rb.html +0 -52
- data/rdoc/lib/sprout/executable/collection_param_rb.html +0 -52
- data/rdoc/lib/sprout/executable/file_param_rb.html +0 -52
- data/rdoc/lib/sprout/executable/files_rb.html +0 -52
- data/rdoc/lib/sprout/executable/number_rb.html +0 -52
- data/rdoc/lib/sprout/executable/param_rb.html +0 -52
- data/rdoc/lib/sprout/executable/parameter_factory_rb.html +0 -52
- data/rdoc/lib/sprout/executable/path_rb.html +0 -52
- data/rdoc/lib/sprout/executable/paths_rb.html +0 -52
- data/rdoc/lib/sprout/executable/string_param_rb.html +0 -52
- data/rdoc/lib/sprout/executable/strings_rb.html +0 -52
- data/rdoc/lib/sprout/executable/url_rb.html +0 -52
- data/rdoc/lib/sprout/executable/urls_rb.html +0 -52
- data/rdoc/lib/sprout/executable_rb.html +0 -78
- data/rdoc/lib/sprout/file_target_rb.html +0 -52
- data/rdoc/lib/sprout/generator/base_rb.html +0 -54
- data/rdoc/lib/sprout/generator/command_rb.html +0 -52
- data/rdoc/lib/sprout/generator/directory_manifest_rb.html +0 -52
- data/rdoc/lib/sprout/generator/file_manifest_rb.html +0 -52
- data/rdoc/lib/sprout/generator/manifest_rb.html +0 -52
- data/rdoc/lib/sprout/generator/template_manifest_rb.html +0 -52
- data/rdoc/lib/sprout/generators/generator/generator_generator_rb.html +0 -52
- data/rdoc/lib/sprout/generators/generator/templates/generator_test_helper_rb.html +0 -64
- data/rdoc/lib/sprout/generators/library/library_generator_rb.html +0 -52
- data/rdoc/lib/sprout/generators/ruby/ruby_generator_rb.html +0 -52
- data/rdoc/lib/sprout/generators/ruby/templates/ruby_base_rb.html +0 -54
- data/rdoc/lib/sprout/generators/tool/tool_generator_rb.html +0 -52
- data/rdoc/lib/sprout/library_rb.html +0 -52
- data/rdoc/lib/sprout/log_rb.html +0 -52
- data/rdoc/lib/sprout/platform_rb.html +0 -52
- data/rdoc/lib/sprout/process_runner_rb.html +0 -58
- data/rdoc/lib/sprout/progress_bar_rb.html +0 -72
- data/rdoc/lib/sprout/rdoc_parser_rb.html +0 -54
- data/rdoc/lib/sprout/remote_file_loader_rb.html +0 -54
- data/rdoc/lib/sprout/remote_file_target_rb.html +0 -52
- data/rdoc/lib/sprout/ruby_feature_rb.html +0 -52
- data/rdoc/lib/sprout/specification_rb.html +0 -52
- data/rdoc/lib/sprout/string_rb.html +0 -52
- data/rdoc/lib/sprout/system/base_system_rb.html +0 -52
- data/rdoc/lib/sprout/system/java_system_rb.html +0 -52
- data/rdoc/lib/sprout/system/osx_system_rb.html +0 -52
- data/rdoc/lib/sprout/system/unix_system_rb.html +0 -52
- data/rdoc/lib/sprout/system/vista_system_rb.html +0 -52
- data/rdoc/lib/sprout/system/win_nix_system_rb.html +0 -52
- data/rdoc/lib/sprout/system/win_system_rb.html +0 -52
- data/rdoc/lib/sprout/system_rb.html +0 -66
- data/rdoc/lib/sprout/test/sprout_test_case_rb.html +0 -57
- data/rdoc/lib/sprout/version_rb.html +0 -52
- data/rdoc/lib/sprout_rb.html +0 -54
- data/rdoc/rdoc.css +0 -706
- data/test/unit/rdoc_parser_test.rb +0 -15
data/lib/sprout/version.rb
CHANGED
Binary file
|
data/sprout.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.required_rubygems_version = ">= 1.3.6"
|
20
20
|
s.rubyforge_project = "sprout"
|
21
21
|
s.require_path = ['lib']
|
22
|
-
s.files = FileList['**/**/*'].exclude /.git|.svn|.DS_Store/
|
22
|
+
s.files = FileList['**/**/*'].exclude /.git|.svn|.DS_Store|rdoc|doc/
|
23
23
|
s.executables = ['sprout', 'sprout-library', 'sprout-tool', 'sprout-generator']
|
24
24
|
s.add_bundler_dependencies
|
25
25
|
end
|
metadata
CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 14
|
9
9
|
- pre
|
10
|
-
version: 1.0.
|
10
|
+
version: 1.0.14.pre
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Luke Bayes
|
@@ -241,7 +241,6 @@ files:
|
|
241
241
|
- lib/sprout/platform.rb
|
242
242
|
- lib/sprout/process_runner.rb
|
243
243
|
- lib/sprout/progress_bar.rb
|
244
|
-
- lib/sprout/rdoc_parser.rb
|
245
244
|
- lib/sprout/remote_file_loader.rb
|
246
245
|
- lib/sprout/remote_file_target.rb
|
247
246
|
- lib/sprout/ruby_feature.rb
|
@@ -259,153 +258,12 @@ files:
|
|
259
258
|
- lib/sprout/version.rb
|
260
259
|
- lib/sprout.rb
|
261
260
|
- MIT-LICENSE
|
262
|
-
- POSTINSTALL.rdoc
|
263
261
|
- rakefile.rb
|
264
|
-
- rdoc/<.html
|
265
|
-
- rdoc/created.rid
|
266
|
-
- rdoc/Dir.html
|
267
|
-
- rdoc/index.html
|
268
|
-
- rdoc/lib/sprout/archive_unpacker_rb.html
|
269
|
-
- rdoc/lib/sprout/base_rb.html
|
270
|
-
- rdoc/lib/sprout/concern_rb.html
|
271
|
-
- rdoc/lib/sprout/dir_rb.html
|
272
|
-
- rdoc/lib/sprout/errors_rb.html
|
273
|
-
- rdoc/lib/sprout/executable/boolean_rb.html
|
274
|
-
- rdoc/lib/sprout/executable/collection_param_rb.html
|
275
|
-
- rdoc/lib/sprout/executable/file_param_rb.html
|
276
|
-
- rdoc/lib/sprout/executable/files_rb.html
|
277
|
-
- rdoc/lib/sprout/executable/number_rb.html
|
278
|
-
- rdoc/lib/sprout/executable/param_rb.html
|
279
|
-
- rdoc/lib/sprout/executable/parameter_factory_rb.html
|
280
|
-
- rdoc/lib/sprout/executable/path_rb.html
|
281
|
-
- rdoc/lib/sprout/executable/paths_rb.html
|
282
|
-
- rdoc/lib/sprout/executable/string_param_rb.html
|
283
|
-
- rdoc/lib/sprout/executable/strings_rb.html
|
284
|
-
- rdoc/lib/sprout/executable/url_rb.html
|
285
|
-
- rdoc/lib/sprout/executable/urls_rb.html
|
286
|
-
- rdoc/lib/sprout/executable_rb.html
|
287
|
-
- rdoc/lib/sprout/file_target_rb.html
|
288
|
-
- rdoc/lib/sprout/generator/base_rb.html
|
289
|
-
- rdoc/lib/sprout/generator/command_rb.html
|
290
|
-
- rdoc/lib/sprout/generator/directory_manifest_rb.html
|
291
|
-
- rdoc/lib/sprout/generator/file_manifest_rb.html
|
292
|
-
- rdoc/lib/sprout/generator/manifest_rb.html
|
293
|
-
- rdoc/lib/sprout/generator/template_manifest_rb.html
|
294
|
-
- rdoc/lib/sprout/generators/generator/generator_generator_rb.html
|
295
|
-
- rdoc/lib/sprout/generators/generator/templates/generator_test_helper_rb.html
|
296
|
-
- rdoc/lib/sprout/generators/library/library_generator_rb.html
|
297
|
-
- rdoc/lib/sprout/generators/ruby/ruby_generator_rb.html
|
298
|
-
- rdoc/lib/sprout/generators/ruby/templates/ruby_base_rb.html
|
299
|
-
- rdoc/lib/sprout/generators/tool/tool_generator_rb.html
|
300
|
-
- rdoc/lib/sprout/library_rb.html
|
301
|
-
- rdoc/lib/sprout/log_rb.html
|
302
|
-
- rdoc/lib/sprout/platform_rb.html
|
303
|
-
- rdoc/lib/sprout/process_runner_rb.html
|
304
|
-
- rdoc/lib/sprout/progress_bar_rb.html
|
305
|
-
- rdoc/lib/sprout/rdoc_parser_rb.html
|
306
|
-
- rdoc/lib/sprout/remote_file_loader_rb.html
|
307
|
-
- rdoc/lib/sprout/remote_file_target_rb.html
|
308
|
-
- rdoc/lib/sprout/ruby_feature_rb.html
|
309
|
-
- rdoc/lib/sprout/specification_rb.html
|
310
|
-
- rdoc/lib/sprout/string_rb.html
|
311
|
-
- rdoc/lib/sprout/system/base_system_rb.html
|
312
|
-
- rdoc/lib/sprout/system/java_system_rb.html
|
313
|
-
- rdoc/lib/sprout/system/osx_system_rb.html
|
314
|
-
- rdoc/lib/sprout/system/unix_system_rb.html
|
315
|
-
- rdoc/lib/sprout/system/vista_system_rb.html
|
316
|
-
- rdoc/lib/sprout/system/win_nix_system_rb.html
|
317
|
-
- rdoc/lib/sprout/system/win_system_rb.html
|
318
|
-
- rdoc/lib/sprout/system_rb.html
|
319
|
-
- rdoc/lib/sprout/test/sprout_test_case_rb.html
|
320
|
-
- rdoc/lib/sprout/version_rb.html
|
321
|
-
- rdoc/lib/sprout_rb.html
|
322
|
-
- rdoc/Object.html
|
323
|
-
- rdoc/rdoc.css
|
324
|
-
- rdoc/Sprout/ArchiveUnpacker.html
|
325
|
-
- rdoc/Sprout/Base/ClassMethods.html
|
326
|
-
- rdoc/Sprout/Base.html
|
327
|
-
- rdoc/Sprout/Concern.html
|
328
|
-
- rdoc/Sprout/Errors/ArchiveUnpackerError.html
|
329
|
-
- rdoc/Sprout/Errors/DestinationExistsError.html
|
330
|
-
- rdoc/Sprout/Errors/DuplicateMemberError.html
|
331
|
-
- rdoc/Sprout/Errors/ExecutableError.html
|
332
|
-
- rdoc/Sprout/Errors/ExecutableRegistrationError.html
|
333
|
-
- rdoc/Sprout/Errors/ExecutionError.html
|
334
|
-
- rdoc/Sprout/Errors/GeneratorError.html
|
335
|
-
- rdoc/Sprout/Errors/InvalidArgumentError.html
|
336
|
-
- rdoc/Sprout/Errors/LoadError.html
|
337
|
-
- rdoc/Sprout/Errors/MissingArgumentError.html
|
338
|
-
- rdoc/Sprout/Errors/MissingExecutableError.html
|
339
|
-
- rdoc/Sprout/Errors/MissingGeneratorError.html
|
340
|
-
- rdoc/Sprout/Errors/MissingTemplateError.html
|
341
|
-
- rdoc/Sprout/Errors/ProcessRunnerError.html
|
342
|
-
- rdoc/Sprout/Errors/RemoteFileLoaderError.html
|
343
|
-
- rdoc/Sprout/Errors/SproutError.html
|
344
|
-
- rdoc/Sprout/Errors/UnknownArchiveType.html
|
345
|
-
- rdoc/Sprout/Errors/UsageError.html
|
346
|
-
- rdoc/Sprout/Errors/ValidationError.html
|
347
|
-
- rdoc/Sprout/Errors/VersionRequirementNotMetError.html
|
348
|
-
- rdoc/Sprout/Errors.html
|
349
|
-
- rdoc/Sprout/Executable/Boolean.html
|
350
|
-
- rdoc/Sprout/Executable/ClassMethods.html
|
351
|
-
- rdoc/Sprout/Executable/CollectionParam.html
|
352
|
-
- rdoc/Sprout/Executable/FileParam.html
|
353
|
-
- rdoc/Sprout/Executable/Files.html
|
354
|
-
- rdoc/Sprout/Executable/InstanceMethods.html
|
355
|
-
- rdoc/Sprout/Executable/Number.html
|
356
|
-
- rdoc/Sprout/Executable/Param.html
|
357
|
-
- rdoc/Sprout/Executable/ParameterFactory.html
|
358
|
-
- rdoc/Sprout/Executable/Path.html
|
359
|
-
- rdoc/Sprout/Executable/Paths.html
|
360
|
-
- rdoc/Sprout/Executable/StringParam.html
|
361
|
-
- rdoc/Sprout/Executable/Strings.html
|
362
|
-
- rdoc/Sprout/Executable/Url.html
|
363
|
-
- rdoc/Sprout/Executable/Urls.html
|
364
|
-
- rdoc/Sprout/Executable.html
|
365
|
-
- rdoc/Sprout/FileTarget.html
|
366
|
-
- rdoc/Sprout/Generator/Base.html
|
367
|
-
- rdoc/Sprout/Generator/Command.html
|
368
|
-
- rdoc/Sprout/Generator/DirectoryManifest.html
|
369
|
-
- rdoc/Sprout/Generator/FileManifest.html
|
370
|
-
- rdoc/Sprout/Generator/Manifest.html
|
371
|
-
- rdoc/Sprout/Generator/TemplateManifest.html
|
372
|
-
- rdoc/Sprout/Generator.html
|
373
|
-
- rdoc/Sprout/GeneratorGenerator.html
|
374
|
-
- rdoc/Sprout/Library.html
|
375
|
-
- rdoc/Sprout/LibraryGenerator.html
|
376
|
-
- rdoc/Sprout/Log.html
|
377
|
-
- rdoc/Sprout/Platform.html
|
378
|
-
- rdoc/Sprout/ProcessRunner.html
|
379
|
-
- rdoc/Sprout/ProgressBar.html
|
380
|
-
- rdoc/Sprout/ProgressBarImpl.html
|
381
|
-
- rdoc/Sprout/ProgressBarManager.html
|
382
|
-
- rdoc/Sprout/ProgressBarOutputStream.html
|
383
|
-
- rdoc/Sprout/RDocParser.html
|
384
|
-
- rdoc/Sprout/RemoteFileLoader.html
|
385
|
-
- rdoc/Sprout/RemoteFileTarget.html
|
386
|
-
- rdoc/Sprout/ReversedProgressBar.html
|
387
|
-
- rdoc/Sprout/RubyFeature/ClassMethods.html
|
388
|
-
- rdoc/Sprout/RubyFeature.html
|
389
|
-
- rdoc/Sprout/RubyGenerator.html
|
390
|
-
- rdoc/Sprout/Specification.html
|
391
|
-
- rdoc/Sprout/System/BaseSystem.html
|
392
|
-
- rdoc/Sprout/System/JavaSystem.html
|
393
|
-
- rdoc/Sprout/System/OSXSystem.html
|
394
|
-
- rdoc/Sprout/System/ThreadMock.html
|
395
|
-
- rdoc/Sprout/System/UnixSystem.html
|
396
|
-
- rdoc/Sprout/System/VistaSystem.html
|
397
|
-
- rdoc/Sprout/System/WinNixSystem.html
|
398
|
-
- rdoc/Sprout/System/WinSystem.html
|
399
|
-
- rdoc/Sprout/System.html
|
400
|
-
- rdoc/Sprout/ToolGenerator.html
|
401
|
-
- rdoc/Sprout/VERSION.html
|
402
|
-
- rdoc/Sprout.html
|
403
|
-
- rdoc/SproutTestCase.html
|
404
|
-
- rdoc/String.html
|
405
262
|
- README.textile
|
406
263
|
- script/console
|
407
264
|
- script/destroy
|
408
265
|
- script/generate
|
266
|
+
- sprout-1.0.13.pre.gem
|
409
267
|
- sprout.gemspec
|
410
268
|
- test/fixtures/archive_unpacker/copyable/some_file.exe
|
411
269
|
- test/fixtures/archive_unpacker/copyable/some_file.rb
|
@@ -490,7 +348,6 @@ files:
|
|
490
348
|
- test/unit/paths_param_test.rb
|
491
349
|
- test/unit/platform_test.rb
|
492
350
|
- test/unit/process_runner_test.rb
|
493
|
-
- test/unit/rdoc_parser_test.rb
|
494
351
|
- test/unit/remote_file_loader_test.rb
|
495
352
|
- test/unit/remote_file_target_test.rb
|
496
353
|
- test/unit/ruby_feature_test.rb
|
data/POSTINSTALL.rdoc
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
+++++++++++++++++++++++++++++++++++
|
2
|
-
Welcome to Project Sprouts!
|
3
|
-
|
4
|
-
If you want to experiment with Sprouts, try the following steps:
|
5
|
-
|
6
|
-
1) Create a new ActionScript 3 Project:
|
7
|
-
sprout -n as3 SomeProject
|
8
|
-
|
9
|
-
2) cd to the new directory:
|
10
|
-
cd SomeProject
|
11
|
-
|
12
|
-
3) Install all prerequisites:
|
13
|
-
bundle install
|
14
|
-
|
15
|
-
4) Compile and run the new project:
|
16
|
-
rake
|
17
|
-
|
18
|
-
5) Generate a class, test and suite:
|
19
|
-
script/generate utils.MathUtil
|
20
|
-
|
21
|
-
6) Compile and run the test harness:
|
22
|
-
rake test
|
23
|
-
|
24
|
-
If you have any questions or issues, please email us at:
|
25
|
-
|
26
|
-
projectsprouts@googlegroups.com
|
27
|
-
|
28
|
-
+++++++++++++++++++++++++++++++++++
|
data/lib/sprout/rdoc_parser.rb
DELETED
@@ -1,91 +0,0 @@
|
|
1
|
-
require 'rdoc/rdoc'
|
2
|
-
|
3
|
-
module Sprout
|
4
|
-
|
5
|
-
class RDocParser
|
6
|
-
|
7
|
-
def parse content
|
8
|
-
end
|
9
|
-
|
10
|
-
def parse_from_caller_string caller_string
|
11
|
-
class_name, file_name, line_number = parse_caller_string caller_string
|
12
|
-
rdoc_description_for class_name, file_name, line_number
|
13
|
-
end
|
14
|
-
|
15
|
-
private
|
16
|
-
|
17
|
-
##
|
18
|
-
# NOTE: Don't forget that this string *sometimes* contains a colon on Windows...
|
19
|
-
def parse_caller_string caller_string
|
20
|
-
sections = caller_string.split(' ')
|
21
|
-
parts = sections.first.split(':')
|
22
|
-
file_name = parts.shift
|
23
|
-
line_number = parts.shift
|
24
|
-
class_name = class_name_from_caller_string caller_string
|
25
|
-
#puts ">> class_name: #{class_name} file_name: #{file_name} line_number: #{line_number}"
|
26
|
-
[class_name, file_name, line_number]
|
27
|
-
end
|
28
|
-
|
29
|
-
def class_name_from_caller_string caller_string
|
30
|
-
parts = caller_string.split(' ')
|
31
|
-
long = parts.pop
|
32
|
-
matched = long.match /<class:([\w:]+)>/
|
33
|
-
matched[1] unless matched.nil?
|
34
|
-
end
|
35
|
-
|
36
|
-
def rdoc_description_for class_name, file_name, line_number
|
37
|
-
rendered = rendered_rdoc file_name
|
38
|
-
end
|
39
|
-
|
40
|
-
def rendered_rdoc file
|
41
|
-
@rendered_rdoc ||= render_rdoc file
|
42
|
-
end
|
43
|
-
|
44
|
-
def render_rdoc file
|
45
|
-
rdoc = RDoc::RDoc.new
|
46
|
-
puts "==================================="
|
47
|
-
puts ">> generating rdoc for: #{file}"
|
48
|
-
|
49
|
-
rdoc.document [ file, "--format=xml", "--output=temp" ]
|
50
|
-
{}
|
51
|
-
end
|
52
|
-
|
53
|
-
def render_rdoc_from_files
|
54
|
-
# This works to some extent...
|
55
|
-
#rdoc test/fixtures/examples/echo_inputs.rb --fmt=xml --op=tmp --all -q
|
56
|
-
# But the following does not do the same thing:
|
57
|
-
#response = rdoc.document [ file, '--fmt=xml', '--op=tmp', '--all', '-q' ]
|
58
|
-
|
59
|
-
options = RDoc::Options.new
|
60
|
-
options.files = FileList[ file ]
|
61
|
-
options.formatter = 'markup'
|
62
|
-
options.op_dir = './tmp'
|
63
|
-
options.verbosity = 0
|
64
|
-
|
65
|
-
rdoc.options = options
|
66
|
-
|
67
|
-
#rdoc.stats = RDoc::Stats.new 1, options.verbosity
|
68
|
-
#response = rdoc.document []
|
69
|
-
|
70
|
-
response = rdoc.parse_files [ file ]
|
71
|
-
render_rdoc_toplevel response
|
72
|
-
end
|
73
|
-
|
74
|
-
def render_rdoc_toplevel toplevel
|
75
|
-
puts ">> toplevel: #{toplevel}"
|
76
|
-
toplevel.each do |file|
|
77
|
-
puts ">> file: #{file.name}"
|
78
|
-
puts ">> pretty: #{file.pretty_print}"
|
79
|
-
end
|
80
|
-
|
81
|
-
toplevel
|
82
|
-
end
|
83
|
-
|
84
|
-
def render_rdoc_bak file
|
85
|
-
rdoc = RDoc::RDoc.new
|
86
|
-
rdoc.options = RDoc::Options.new
|
87
|
-
rdoc.parse_files [file]
|
88
|
-
end
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
data/rdoc/<.html
DELETED
@@ -1,274 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
-
<head>
|
6
|
-
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
7
|
-
|
8
|
-
<title>Module: <</title>
|
9
|
-
|
10
|
-
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
|
11
|
-
|
12
|
-
<script src="./js/jquery.js" type="text/javascript"
|
13
|
-
charset="utf-8"></script>
|
14
|
-
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
15
|
-
charset="utf-8"></script>
|
16
|
-
<script src="./js/quicksearch.js" type="text/javascript"
|
17
|
-
charset="utf-8"></script>
|
18
|
-
<script src="./js/darkfish.js" type="text/javascript"
|
19
|
-
charset="utf-8"></script>
|
20
|
-
|
21
|
-
</head>
|
22
|
-
<body class="module">
|
23
|
-
|
24
|
-
<div id="metadata">
|
25
|
-
<div id="home-metadata">
|
26
|
-
<div id="home-section" class="section">
|
27
|
-
<h3 class="section-header">
|
28
|
-
<a href="./index.html">Home</a>
|
29
|
-
<a href="./index.html#classes">Classes</a>
|
30
|
-
<a href="./index.html#methods">Methods</a>
|
31
|
-
</h3>
|
32
|
-
</div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="file-metadata">
|
36
|
-
<div id="file-list-section" class="section">
|
37
|
-
<h3 class="section-header">In Files</h3>
|
38
|
-
<div class="section-body">
|
39
|
-
<ul>
|
40
|
-
|
41
|
-
<li><a href="./lib/sprout/generators/ruby/templates/ruby_base_rb.html?TB_iframe=true&height=550&width=785"
|
42
|
-
class="thickbox" title="lib/sprout/generators/ruby/templates/ruby_base.rb">lib/sprout/generators/ruby/templates/ruby_base.rb</a></li>
|
43
|
-
|
44
|
-
</ul>
|
45
|
-
</div>
|
46
|
-
</div>
|
47
|
-
|
48
|
-
|
49
|
-
</div>
|
50
|
-
|
51
|
-
<div id="class-metadata">
|
52
|
-
|
53
|
-
<!-- Parent Class -->
|
54
|
-
|
55
|
-
|
56
|
-
<!-- Namespace Contents -->
|
57
|
-
|
58
|
-
|
59
|
-
<!-- Method Quickref -->
|
60
|
-
|
61
|
-
|
62
|
-
<!-- Included Modules -->
|
63
|
-
|
64
|
-
</div>
|
65
|
-
|
66
|
-
<div id="project-metadata">
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
<div id="classindex-section" class="section project-section">
|
71
|
-
<h3 class="section-header">Class Index
|
72
|
-
<span class="search-toggle"><img src="./images/find.png"
|
73
|
-
height="16" width="16" alt="[+]"
|
74
|
-
title="show/hide quicksearch" /></span></h3>
|
75
|
-
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
76
|
-
<fieldset>
|
77
|
-
<legend>Quicksearch</legend>
|
78
|
-
<input type="text" name="quicksearch" value=""
|
79
|
-
class="quicksearch-field" />
|
80
|
-
</fieldset>
|
81
|
-
</form>
|
82
|
-
|
83
|
-
<ul class="link-list">
|
84
|
-
|
85
|
-
<li><a href="./Sprout/ArchiveUnpacker.html">Sprout::ArchiveUnpacker</a></li>
|
86
|
-
|
87
|
-
<li><a href="./Sprout/Base.html">Sprout::Base</a></li>
|
88
|
-
|
89
|
-
<li><a href="./Sprout/Base/ClassMethods.html">Sprout::Base::ClassMethods</a></li>
|
90
|
-
|
91
|
-
<li><a href="./Sprout/Concern.html">Sprout::Concern</a></li>
|
92
|
-
|
93
|
-
<li><a href="./Sprout/Errors.html">Sprout::Errors</a></li>
|
94
|
-
|
95
|
-
<li><a href="./Sprout/Errors/ArchiveUnpackerError.html">Sprout::Errors::ArchiveUnpackerError</a></li>
|
96
|
-
|
97
|
-
<li><a href="./Sprout/Errors/DestinationExistsError.html">Sprout::Errors::DestinationExistsError</a></li>
|
98
|
-
|
99
|
-
<li><a href="./Sprout/Errors/DuplicateMemberError.html">Sprout::Errors::DuplicateMemberError</a></li>
|
100
|
-
|
101
|
-
<li><a href="./Sprout/Errors/ExecutableError.html">Sprout::Errors::ExecutableError</a></li>
|
102
|
-
|
103
|
-
<li><a href="./Sprout/Errors/ExecutableRegistrationError.html">Sprout::Errors::ExecutableRegistrationError</a></li>
|
104
|
-
|
105
|
-
<li><a href="./Sprout/Errors/ExecutionError.html">Sprout::Errors::ExecutionError</a></li>
|
106
|
-
|
107
|
-
<li><a href="./Sprout/Errors/GeneratorError.html">Sprout::Errors::GeneratorError</a></li>
|
108
|
-
|
109
|
-
<li><a href="./Sprout/Errors/InvalidArgumentError.html">Sprout::Errors::InvalidArgumentError</a></li>
|
110
|
-
|
111
|
-
<li><a href="./Sprout/Errors/LoadError.html">Sprout::Errors::LoadError</a></li>
|
112
|
-
|
113
|
-
<li><a href="./Sprout/Errors/MissingArgumentError.html">Sprout::Errors::MissingArgumentError</a></li>
|
114
|
-
|
115
|
-
<li><a href="./Sprout/Errors/MissingExecutableError.html">Sprout::Errors::MissingExecutableError</a></li>
|
116
|
-
|
117
|
-
<li><a href="./Sprout/Errors/MissingGeneratorError.html">Sprout::Errors::MissingGeneratorError</a></li>
|
118
|
-
|
119
|
-
<li><a href="./Sprout/Errors/MissingTemplateError.html">Sprout::Errors::MissingTemplateError</a></li>
|
120
|
-
|
121
|
-
<li><a href="./Sprout/Errors/ProcessRunnerError.html">Sprout::Errors::ProcessRunnerError</a></li>
|
122
|
-
|
123
|
-
<li><a href="./Sprout/Errors/RemoteFileLoaderError.html">Sprout::Errors::RemoteFileLoaderError</a></li>
|
124
|
-
|
125
|
-
<li><a href="./Sprout/Errors/SproutError.html">Sprout::Errors::SproutError</a></li>
|
126
|
-
|
127
|
-
<li><a href="./Sprout/Errors/UnknownArchiveType.html">Sprout::Errors::UnknownArchiveType</a></li>
|
128
|
-
|
129
|
-
<li><a href="./Sprout/Errors/UsageError.html">Sprout::Errors::UsageError</a></li>
|
130
|
-
|
131
|
-
<li><a href="./Sprout/Errors/ValidationError.html">Sprout::Errors::ValidationError</a></li>
|
132
|
-
|
133
|
-
<li><a href="./Sprout/Errors/VersionRequirementNotMetError.html">Sprout::Errors::VersionRequirementNotMetError</a></li>
|
134
|
-
|
135
|
-
<li><a href="./Sprout/Executable.html">Sprout::Executable</a></li>
|
136
|
-
|
137
|
-
<li><a href="./Sprout/Executable/Boolean.html">Sprout::Executable::Boolean</a></li>
|
138
|
-
|
139
|
-
<li><a href="./Sprout/Executable/ClassMethods.html">Sprout::Executable::ClassMethods</a></li>
|
140
|
-
|
141
|
-
<li><a href="./Sprout/Executable/CollectionParam.html">Sprout::Executable::CollectionParam</a></li>
|
142
|
-
|
143
|
-
<li><a href="./Sprout/Executable/FileParam.html">Sprout::Executable::FileParam</a></li>
|
144
|
-
|
145
|
-
<li><a href="./Sprout/Executable/Files.html">Sprout::Executable::Files</a></li>
|
146
|
-
|
147
|
-
<li><a href="./Sprout/Executable/InstanceMethods.html">Sprout::Executable::InstanceMethods</a></li>
|
148
|
-
|
149
|
-
<li><a href="./Sprout/Executable/Number.html">Sprout::Executable::Number</a></li>
|
150
|
-
|
151
|
-
<li><a href="./Sprout/Executable/Param.html">Sprout::Executable::Param</a></li>
|
152
|
-
|
153
|
-
<li><a href="./Sprout/Executable/ParameterFactory.html">Sprout::Executable::ParameterFactory</a></li>
|
154
|
-
|
155
|
-
<li><a href="./Sprout/Executable/Path.html">Sprout::Executable::Path</a></li>
|
156
|
-
|
157
|
-
<li><a href="./Sprout/Executable/Paths.html">Sprout::Executable::Paths</a></li>
|
158
|
-
|
159
|
-
<li><a href="./Sprout/Executable/StringParam.html">Sprout::Executable::StringParam</a></li>
|
160
|
-
|
161
|
-
<li><a href="./Sprout/Executable/Strings.html">Sprout::Executable::Strings</a></li>
|
162
|
-
|
163
|
-
<li><a href="./Sprout/Executable/Url.html">Sprout::Executable::Url</a></li>
|
164
|
-
|
165
|
-
<li><a href="./Sprout/Executable/Urls.html">Sprout::Executable::Urls</a></li>
|
166
|
-
|
167
|
-
<li><a href="./Sprout/FileTarget.html">Sprout::FileTarget</a></li>
|
168
|
-
|
169
|
-
<li><a href="./Sprout/Generator.html">Sprout::Generator</a></li>
|
170
|
-
|
171
|
-
<li><a href="./Sprout/Generator/Base.html">Sprout::Generator::Base</a></li>
|
172
|
-
|
173
|
-
<li><a href="./Sprout/Generator/Command.html">Sprout::Generator::Command</a></li>
|
174
|
-
|
175
|
-
<li><a href="./Sprout/Generator/DirectoryManifest.html">Sprout::Generator::DirectoryManifest</a></li>
|
176
|
-
|
177
|
-
<li><a href="./Sprout/Generator/FileManifest.html">Sprout::Generator::FileManifest</a></li>
|
178
|
-
|
179
|
-
<li><a href="./Sprout/Generator/Manifest.html">Sprout::Generator::Manifest</a></li>
|
180
|
-
|
181
|
-
<li><a href="./Sprout/Generator/TemplateManifest.html">Sprout::Generator::TemplateManifest</a></li>
|
182
|
-
|
183
|
-
<li><a href="./Sprout/GeneratorGenerator.html">Sprout::GeneratorGenerator</a></li>
|
184
|
-
|
185
|
-
<li><a href="./Sprout/Library.html">Sprout::Library</a></li>
|
186
|
-
|
187
|
-
<li><a href="./Sprout/LibraryGenerator.html">Sprout::LibraryGenerator</a></li>
|
188
|
-
|
189
|
-
<li><a href="./Sprout/Platform.html">Sprout::Platform</a></li>
|
190
|
-
|
191
|
-
<li><a href="./Sprout/ProcessRunner.html">Sprout::ProcessRunner</a></li>
|
192
|
-
|
193
|
-
<li><a href="./Sprout/RDocParser.html">Sprout::RDocParser</a></li>
|
194
|
-
|
195
|
-
<li><a href="./Sprout/RemoteFileLoader.html">Sprout::RemoteFileLoader</a></li>
|
196
|
-
|
197
|
-
<li><a href="./Sprout/RemoteFileTarget.html">Sprout::RemoteFileTarget</a></li>
|
198
|
-
|
199
|
-
<li><a href="./Sprout/RubyFeature.html">Sprout::RubyFeature</a></li>
|
200
|
-
|
201
|
-
<li><a href="./Sprout/RubyFeature/ClassMethods.html">Sprout::RubyFeature::ClassMethods</a></li>
|
202
|
-
|
203
|
-
<li><a href="./Sprout/RubyGenerator.html">Sprout::RubyGenerator</a></li>
|
204
|
-
|
205
|
-
<li><a href="./Sprout/Specification.html">Sprout::Specification</a></li>
|
206
|
-
|
207
|
-
<li><a href="./Sprout/System.html">Sprout::System</a></li>
|
208
|
-
|
209
|
-
<li><a href="./Sprout/System/BaseSystem.html">Sprout::System::BaseSystem</a></li>
|
210
|
-
|
211
|
-
<li><a href="./Sprout/System/JavaSystem.html">Sprout::System::JavaSystem</a></li>
|
212
|
-
|
213
|
-
<li><a href="./Sprout/System/OSXSystem.html">Sprout::System::OSXSystem</a></li>
|
214
|
-
|
215
|
-
<li><a href="./Sprout/System/UnixSystem.html">Sprout::System::UnixSystem</a></li>
|
216
|
-
|
217
|
-
<li><a href="./Sprout/System/VistaSystem.html">Sprout::System::VistaSystem</a></li>
|
218
|
-
|
219
|
-
<li><a href="./Sprout/System/WinNixSystem.html">Sprout::System::WinNixSystem</a></li>
|
220
|
-
|
221
|
-
<li><a href="./Sprout/System/WinSystem.html">Sprout::System::WinSystem</a></li>
|
222
|
-
|
223
|
-
<li><a href="./Sprout/ToolGenerator.html">Sprout::ToolGenerator</a></li>
|
224
|
-
|
225
|
-
<li><a href="./<.html"><</a></li>
|
226
|
-
|
227
|
-
<li><a href="./Dir.html">Dir</a></li>
|
228
|
-
|
229
|
-
<li><a href="./Object.html">Object</a></li>
|
230
|
-
|
231
|
-
<li><a href="./String.html">String</a></li>
|
232
|
-
|
233
|
-
</ul>
|
234
|
-
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
235
|
-
</div>
|
236
|
-
|
237
|
-
|
238
|
-
</div>
|
239
|
-
</div>
|
240
|
-
|
241
|
-
<div id="documentation">
|
242
|
-
<h1 class="module"><</h1>
|
243
|
-
|
244
|
-
<div id="description">
|
245
|
-
|
246
|
-
</div>
|
247
|
-
|
248
|
-
<!-- Constants -->
|
249
|
-
|
250
|
-
|
251
|
-
<!-- Attributes -->
|
252
|
-
|
253
|
-
|
254
|
-
<!-- Methods -->
|
255
|
-
|
256
|
-
|
257
|
-
</div>
|
258
|
-
|
259
|
-
|
260
|
-
<div id="rdoc-debugging-section-dump" class="debugging-section">
|
261
|
-
|
262
|
-
<p>Disabled; run with --debug to generate this.</p>
|
263
|
-
|
264
|
-
</div>
|
265
|
-
|
266
|
-
<div id="validator-badges">
|
267
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
268
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
269
|
-
Rdoc Generator</a> 1.1.6</small>.</p>
|
270
|
-
</div>
|
271
|
-
|
272
|
-
</body>
|
273
|
-
</html>
|
274
|
-
|