logstash-input-remote_proc 0.0.24 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +58 -0
- data/USAGE.md +60 -43
- data/logstash-input-remote_proc.gemspec +1 -1
- data/vendor/bundle/jruby/1.9/bin/rake +23 -0
- data/vendor/bundle/jruby/1.9/cache/rake-11.3.0.gem +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/FileUtils/cdesc-FileUtils.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/FileUtils/ruby-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/FileUtils/safe_ln-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/FileUtils/sh-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/FileUtils/split_all-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Module/cdesc-Module.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Object/cdesc-Object.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Pathname/cdesc-Pathname.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Pathname/ext-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Pathname/pathmap-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Application/add_loader-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Application/cdesc-Application.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Application/init-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Application/load_rakefile-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Application/name-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Application/new-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Application/options-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Application/original_dir-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Application/rakefile-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Application/run-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Application/run_with_threads-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Application/terminal_columns-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Application/top_level-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Application/top_level_tasks-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Application/tty_output-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Backtrace/cdesc-Backtrace.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Cleaner/cdesc-Cleaner.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Cloneable/cdesc-Cloneable.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/CompositePublisher/add-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/CompositePublisher/cdesc-CompositePublisher.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/CompositePublisher/new-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/CompositePublisher/upload-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/CpuCounter/cdesc-CpuCounter.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/DSL/cdesc-DSL.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/DSL/desc-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/DSL/directory-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/DSL/file-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/DSL/file_create-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/DSL/import-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/DSL/multitask-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/DSL/namespace-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/DSL/rule-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/DSL/task-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/DefaultLoader/cdesc-DefaultLoader.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/DefaultLoader/load-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/EarlyTime/%3c%3d%3e-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/EarlyTime/cdesc-EarlyTime.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileCreationTask/cdesc-FileCreationTask.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileCreationTask/needed%3f-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileCreationTask/timestamp-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileList/cdesc-FileList.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileTask/cdesc-FileTask.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileTask/needed%3f-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileTask/out_of_date%3f-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileTask/scope_name-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileTask/timestamp-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileUtilsExt/cdesc-FileUtilsExt.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileUtilsExt/nowrite-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileUtilsExt/nowrite_flag-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileUtilsExt/rake_check_options-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileUtilsExt/rake_merge_option-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileUtilsExt/rake_output_message-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileUtilsExt/verbose-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileUtilsExt/verbose_flag-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FileUtilsExt/when_writing-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FtpFile/cdesc-FtpFile.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/FtpUploader/cdesc-FtpUploader.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/InvocationChain/EmptyInvocationChain/append-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/InvocationChain/EmptyInvocationChain/cdesc-EmptyInvocationChain.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/InvocationChain/EmptyInvocationChain/member%3f-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/InvocationChain/EmptyInvocationChain/to_s-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/InvocationChain/append-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/InvocationChain/append-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/InvocationChain/cdesc-InvocationChain.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/InvocationChain/member%3f-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/InvocationChain/prefix-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/InvocationChain/to_s-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/InvocationExceptionMixin/cdesc-InvocationExceptionMixin.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/InvocationExceptionMixin/chain%3d-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/InvocationExceptionMixin/chain-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LateTime/%3c%3d%3e-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LateTime/cdesc-LateTime.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LateTime/to_s-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/%3d%3d-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/EmptyLinkedList/cdesc-EmptyLinkedList.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/EmptyLinkedList/cons-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/EmptyLinkedList/empty%3f-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/EmptyLinkedList/new-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/cdesc-LinkedList.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/conj-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/cons-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/each-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/empty%3f-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/empty-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/head-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/inspect-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/make-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/new-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/tail-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/LinkedList/to_s-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/MakefileLoader/cdesc-MakefileLoader.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/MultiTask/cdesc-MultiTask.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/NameSpace/%5b%5d-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/NameSpace/cdesc-NameSpace.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/NameSpace/new-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/NameSpace/scope-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/NameSpace/tasks-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/cdesc-PackageTask.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/define-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/init-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/name-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/need_tar-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/need_tar_bz2-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/need_tar_gz-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/need_tar_xz-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/need_zip-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/new-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/package_dir-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/package_dir_path-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/package_files-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/package_name-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/tar_bz2_file-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/tar_command-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/tar_gz_file-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/tar_xz_file-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/tgz_file-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/version-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/zip_command-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PackageTask/zip_file-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PrivateReader/ClassMethods/cdesc-ClassMethods.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PrivateReader/cdesc-PrivateReader.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Promise/cdesc-Promise.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/PseudoStatus/cdesc-PseudoStatus.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/RuleRecursionOverflowError/add_target-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/RuleRecursionOverflowError/cdesc-RuleRecursionOverflowError.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/RuleRecursionOverflowError/message-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/RuleRecursionOverflowError/new-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Scope/EmptyScope/cdesc-EmptyScope.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Scope/cdesc-Scope.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/SshDirPublisher/cdesc-SshDirPublisher.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/SshDirPublisher/new-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/SshDirPublisher/upload-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/SshFilePublisher/cdesc-SshFilePublisher.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/SshFilePublisher/new-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/SshFilePublisher/upload-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/SshFreshDirPublisher/cdesc-SshFreshDirPublisher.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/SshFreshDirPublisher/upload-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/%5b%5d-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/actions-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/add_description-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/all_prerequisite_tasks-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/already_invoked-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/application-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/arg_names-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/cdesc-Task.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/clear-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/clear-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/clear_actions-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/clear_comments-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/clear_prerequisites-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/comment-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/create_rule-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/define_task-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/enhance-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/execute-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/first_sentence-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/format_trace_flags-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/full_comment-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/investigation-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/invoke-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/locations-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/name-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/needed%3f-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/new-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/prerequisite_tasks-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/prerequisites-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/reenable-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/scope-i.ri +3 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/scope_name-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/set_arg_names-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/source-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/sources-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/task_defined%3f-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/tasks-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/timestamp-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/to_s-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Task/transform_comments-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskArgumentError/cdesc-TaskArgumentError.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskArguments/%5b%5d-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskArguments/cdesc-TaskArguments.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskArguments/each-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskArguments/extras-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskArguments/fetch-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskArguments/has_key%3f-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskArguments/method_missing-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskArguments/names-i.ri +3 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskArguments/new-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskArguments/new_scope-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskArguments/to_a-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskArguments/to_hash-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskArguments/values_at-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskArguments/with_defaults-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskLib/cdesc-TaskLib.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/%5b%5d-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/add_location-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/attempt_rule-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/cdesc-TaskManager.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/clear-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/current_scope-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/enhance_with_matching_rule-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/find_location-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/generate_name-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/get_description-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/in_namespace-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/intern-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/last_description-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/lookup-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/lookup_in_scope-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/make_sources-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/resolve_args-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/resolve_args_without_dependencies-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/tasks-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TaskManager/tasks_in_scope-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TestTask/cdesc-TestTask.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TestTask/define-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TestTask/deps-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TestTask/description-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TestTask/libs-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TestTask/loader-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TestTask/name-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TestTask/new-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TestTask/options-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TestTask/pattern-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TestTask/ruby_opts-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TestTask/test_files%3d-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TestTask/verbose-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TestTask/warning-i.ri +2 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/ThreadHistoryDisplay/cdesc-ThreadHistoryDisplay.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/ThreadPool/cdesc-ThreadPool.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/TraceOutput/cdesc-TraceOutput.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Version/cdesc-Version.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Win32/Win32HomeError/cdesc-Win32HomeError.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/Win32/cdesc-Win32.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/add_rakelib-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/application%3d-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/application-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/cdesc-Rake.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/load_rakefile-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/Rake/original_dir-c.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/String/cdesc-String.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/String/ext-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/String/pathmap-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/String/pathmap_explode-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/String/pathmap_partial-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/String/pathmap_replace-i.ri +0 -0
- data/vendor/bundle/jruby/1.9/doc/rake-11.3.0/ri/cache.ri +0 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/CONTRIBUTING.rdoc +36 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/Gemfile +3 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/History.rdoc +2234 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/MIT-LICENSE +21 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/README.rdoc +157 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/Rakefile +33 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/appveyor.yml +22 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/bin/console +7 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/bin/setup +6 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/example/a.c +6 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/example/b.c +6 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/example/main.c +11 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/glossary.rdoc +42 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/jamis.rb +591 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/rake.1 +141 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/rakefile.rdoc +624 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/rational.rdoc +151 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/README.md +4 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.8.6.rdoc +37 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.9.0.rdoc +112 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.9.1.rdoc +52 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.9.2.rdoc +49 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.9.3.rdoc +102 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.9.4.rdoc +60 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.9.5.rdoc +55 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-0.9.6.rdoc +64 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-10.0.0.rdoc +178 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-10.0.1.rdoc +58 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-10.0.2.rdoc +53 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-10.0.3.rdoc +191 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/doc/release_notes/rake-10.1.0.rdoc +61 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/exe/rake +27 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake.rb +70 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/application.rb +784 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/backtrace.rb +23 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/clean.rb +76 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/cloneable.rb +16 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/contrib/ftptools.rb +137 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/contrib/sshpublisher.rb +60 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/cpu_counter.rb +106 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/default_loader.rb +14 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/dsl_definition.rb +194 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/early_time.rb +21 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/ext/core.rb +25 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/ext/pathname.rb +25 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/ext/string.rb +175 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/file_list.rb +436 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/file_task.rb +46 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/file_utils.rb +139 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/file_utils_ext.rb +144 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/invocation_chain.rb +56 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/late_time.rb +17 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/linked_list.rb +111 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/loaders/makefile.rb +53 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/multi_task.rb +13 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/packagetask.rb +210 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/phony.rb +15 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/private_reader.rb +20 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/promise.rb +99 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/pseudo_status.rb +29 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/rake_module.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/rake_test_loader.rb +21 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/rule_recursion_overflow_error.rb +19 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/scope.rb +42 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/task.rb +391 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/task_arguments.rb +103 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/task_manager.rb +316 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/tasklib.rb +11 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/testtask.rb +212 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/thread_history_display.rb +48 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/thread_pool.rb +162 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/trace_output.rb +22 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/version.rb +9 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/lib/rake/win32.rb +50 -0
- data/vendor/bundle/jruby/1.9/gems/rake-11.3.0/rake.gemspec +30 -0
- data/vendor/bundle/jruby/1.9/specifications/rake-11.3.0.gemspec +43 -0
- metadata +362 -2
@@ -0,0 +1,127 @@
|
|
1
|
+
= Original Prototype Rake
|
2
|
+
|
3
|
+
This is the original 100 line prototype rake program.
|
4
|
+
|
5
|
+
---
|
6
|
+
#!/usr/bin/env ruby
|
7
|
+
|
8
|
+
require 'ftools'
|
9
|
+
|
10
|
+
class Task
|
11
|
+
TASKS = Hash.new
|
12
|
+
|
13
|
+
attr_reader :prerequisites
|
14
|
+
|
15
|
+
def initialize(task_name)
|
16
|
+
@name = task_name
|
17
|
+
@prerequisites = []
|
18
|
+
@actions = []
|
19
|
+
end
|
20
|
+
|
21
|
+
def enhance(deps=nil, &block)
|
22
|
+
@prerequisites |= deps if deps
|
23
|
+
@actions << block if block_given?
|
24
|
+
self
|
25
|
+
end
|
26
|
+
|
27
|
+
def name
|
28
|
+
@name.to_s
|
29
|
+
end
|
30
|
+
|
31
|
+
def invoke
|
32
|
+
@prerequisites.each { |n| Task[n].invoke }
|
33
|
+
execute if needed?
|
34
|
+
end
|
35
|
+
|
36
|
+
def execute
|
37
|
+
return if @triggered
|
38
|
+
@triggered = true
|
39
|
+
@actions.collect { |act| result = act.call(self) }.last
|
40
|
+
end
|
41
|
+
|
42
|
+
def needed?
|
43
|
+
true
|
44
|
+
end
|
45
|
+
|
46
|
+
def timestamp
|
47
|
+
Time.now
|
48
|
+
end
|
49
|
+
|
50
|
+
class << self
|
51
|
+
def [](task_name)
|
52
|
+
TASKS[intern(task_name)] or fail "Don't know how to rake #{task_name}"
|
53
|
+
end
|
54
|
+
|
55
|
+
def define_task(args, &block)
|
56
|
+
case args
|
57
|
+
when Hash
|
58
|
+
fail "Too Many Target Names: #{args.keys.join(' ')}" if args.size > 1
|
59
|
+
fail "No Task Name Given" if args.size < 1
|
60
|
+
task_name = args.keys[0]
|
61
|
+
deps = args[task_name]
|
62
|
+
else
|
63
|
+
task_name = args
|
64
|
+
deps = []
|
65
|
+
end
|
66
|
+
deps = deps.collect {|d| intern(d) }
|
67
|
+
get(task_name).enhance(deps, &block)
|
68
|
+
end
|
69
|
+
|
70
|
+
def get(task_name)
|
71
|
+
name = intern(task_name)
|
72
|
+
TASKS[name] ||= self.new(name)
|
73
|
+
end
|
74
|
+
|
75
|
+
def intern(task_name)
|
76
|
+
(Symbol === task_name) ? task_name : task_name.intern
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
class FileTask < Task
|
82
|
+
def needed?
|
83
|
+
return true unless File.exist?(name)
|
84
|
+
latest_prereq = @prerequisites.collect{|n| Task[n].timestamp}.max
|
85
|
+
return false if latest_prereq.nil?
|
86
|
+
timestamp < latest_prereq
|
87
|
+
end
|
88
|
+
|
89
|
+
def timestamp
|
90
|
+
File.new(name.to_s).mtime
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
def task(args, &block)
|
95
|
+
Task.define_task(args, &block)
|
96
|
+
end
|
97
|
+
|
98
|
+
def file(args, &block)
|
99
|
+
FileTask.define_task(args, &block)
|
100
|
+
end
|
101
|
+
|
102
|
+
def sys(cmd)
|
103
|
+
puts cmd
|
104
|
+
system(cmd) or fail "Command Failed: [#{cmd}]"
|
105
|
+
end
|
106
|
+
|
107
|
+
def rake
|
108
|
+
begin
|
109
|
+
here = Dir.pwd
|
110
|
+
while ! File.exist?("Rakefile")
|
111
|
+
Dir.chdir("..")
|
112
|
+
fail "No Rakefile found" if Dir.pwd == here
|
113
|
+
here = Dir.pwd
|
114
|
+
end
|
115
|
+
puts "(in #{Dir.pwd})"
|
116
|
+
load "./Rakefile"
|
117
|
+
ARGV.push("default") if ARGV.size == 0
|
118
|
+
ARGV.each { |task_name| Task[task_name].invoke }
|
119
|
+
rescue Exception => ex
|
120
|
+
puts "rake aborted ... #{ex.message}"
|
121
|
+
puts ex.backtrace.find {|str| str =~ /Rakefile/ } || ""
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
if __FILE__ == $0 then
|
126
|
+
rake
|
127
|
+
end
|
@@ -0,0 +1,141 @@
|
|
1
|
+
.\" Hey, EMACS: -*- nroff -*-
|
2
|
+
.\" First parameter, NAME, should be all caps
|
3
|
+
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
4
|
+
.\" other parameters are allowed: see man(7), man(1)
|
5
|
+
.TH RAKE 1 "December 3, 2014" "rake 10.4.2" "Rake User Commands"
|
6
|
+
.\" Please adjust this date whenever revising the manpage.
|
7
|
+
.\"
|
8
|
+
.\" Some roff macros, for reference:
|
9
|
+
.\" .nh disable hyphenation
|
10
|
+
.\" .hy enable hyphenation
|
11
|
+
.\" .ad l left justify
|
12
|
+
.\" .ad b justify to both left and right margins
|
13
|
+
.\" .nf disable filling
|
14
|
+
.\" .fi enable filling
|
15
|
+
.\" .br insert line break
|
16
|
+
.\" .sp <n> insert n+1 empty lines
|
17
|
+
.\" for manpage-specific macros, see man(7)
|
18
|
+
.SH NAME
|
19
|
+
rake \- a make-like build utility for Ruby
|
20
|
+
.SH SYNOPSIS
|
21
|
+
\fBrake\fR [\fI\-f rakefile\fR] {\fIOPTIONS\fR} \fITARGETS...\fR
|
22
|
+
.br
|
23
|
+
.SH DESCRIPTION
|
24
|
+
.B rake
|
25
|
+
is a make-like build utility for Ruby. Tasks and dependencies are specified in
|
26
|
+
standard Ruby syntax.
|
27
|
+
.SH OPTIONS
|
28
|
+
.TP
|
29
|
+
\fB\-m\fR, \fB\-\-multitask\fR
|
30
|
+
Treat all tasks as multitasks.
|
31
|
+
.TP
|
32
|
+
\fB\-B\fR, \fB\-\-build\-all\fR
|
33
|
+
Build all prerequisites, including those which are up\-to\-date.
|
34
|
+
|
35
|
+
.TP
|
36
|
+
\fB\-j\fR, \fB\-\-jobs\fR [\fINUMBER\fR]
|
37
|
+
Specifies the maximum number of tasks to execute in parallel (default is number of CPU cores + 4).
|
38
|
+
|
39
|
+
.SS Modules
|
40
|
+
.TP
|
41
|
+
\fB\-I\fR, \fB\-\-libdir\fR \fILIBDIR\fR
|
42
|
+
Include \fILIBDIR\fR in the search path for required modules.
|
43
|
+
.TP
|
44
|
+
\fB\-r\fR, \fB\-\-require\fR \fIMODULE\fR
|
45
|
+
Require \fIMODULE\fR before executing rakefile.
|
46
|
+
|
47
|
+
.SS Rakefile location
|
48
|
+
.TP
|
49
|
+
\fB\-f\fR, \fB\-\-rakefile\fR [\fIFILENAME\fR]
|
50
|
+
Use \fIFILENAME\fR as the rakefile to search for.
|
51
|
+
.TP
|
52
|
+
\fB\-N\fR, \fB\-\-no\-search\fR, \fB\-\-nosearch\fR
|
53
|
+
Do not search parent directories for the Rakefile.
|
54
|
+
.TP
|
55
|
+
\fB\-G\fR, \fB\-\-no\-system\fR, \fB\-\-nosystem\fR
|
56
|
+
Use standard project Rakefile search paths, ignore system wide rakefiles.
|
57
|
+
.TP
|
58
|
+
\fB\-R\fR, \fB\-\-rakelibdir\fR \fIRAKELIBDIR\fR
|
59
|
+
Auto\-import any .rake files in \fIRAKELIBDIR\fR (default is 'rakelib')
|
60
|
+
.HP
|
61
|
+
\fB\-\-rakelib\fR
|
62
|
+
.TP
|
63
|
+
\fB\-g\fR, \fB\-\-system\fR
|
64
|
+
Using system wide (global) rakefiles (usually '\fI~/.rake/*.rake\fR').
|
65
|
+
|
66
|
+
.SS Debugging
|
67
|
+
.TP
|
68
|
+
\fB\-\-backtrace\fR=\fI\,[OUT]\/\fR
|
69
|
+
Enable full backtrace. \fIOUT\fR can be stderr (default) or stdout.
|
70
|
+
.TP
|
71
|
+
\fB\-t\fR, \fB\-\-trace\fR=\fI\,[OUT]\/\fR
|
72
|
+
Turn on invoke/execute tracing, enable full backtrace. \fIOUT\fR can be stderr (default) or stdout.
|
73
|
+
.TP
|
74
|
+
\fB\-\-suppress\-backtrace\fR \fIPATTERN\fR
|
75
|
+
Suppress backtrace lines matching regexp \fIPATTERN\fR. Ignored if \fI\-\-trace\fR is on.
|
76
|
+
.TP
|
77
|
+
\fB\-\-rules\fR
|
78
|
+
Trace the rules resolution.
|
79
|
+
|
80
|
+
.TP
|
81
|
+
\fB\-n\fR, \fB\-\-dry\-run\fR
|
82
|
+
Do a dry run without executing actions.
|
83
|
+
.TP
|
84
|
+
\fB\-T\fR, \fB\-\-tasks\fR [\fIPATTERN\fR]
|
85
|
+
Display the tasks (matching optional \fIPATTERN\fR) with descriptions, then exit.
|
86
|
+
.TP
|
87
|
+
\fB\-D\fR, \fB\-\-describe\fR [\fIPATTERN\fR]
|
88
|
+
Describe the tasks (matching optional \fIPATTERN\fR), then exit.
|
89
|
+
.TP
|
90
|
+
\fB\-W\fR, \fB\-\-where\fR [\fIPATTERN\fR]
|
91
|
+
Describe the tasks (matching optional \fIPATTERN\fR), then exit.
|
92
|
+
.TP
|
93
|
+
\fB\-P\fR, \fB\-\-prereqs\fR
|
94
|
+
Display the tasks and dependencies, then exit.
|
95
|
+
|
96
|
+
.TP
|
97
|
+
\fB\-e\fR, \fB\-\-execute\fR \fICODE\fR
|
98
|
+
Execute some Ruby code and exit.
|
99
|
+
.TP
|
100
|
+
\fB\-p\fR, \fB\-\-execute\-print\fR \fICODE\fR
|
101
|
+
Execute some Ruby code, print the result, then exit.
|
102
|
+
.TP
|
103
|
+
\fB\-E\fR, \fB\-\-execute\-continue\fR \fICODE\fR
|
104
|
+
Execute some Ruby code, then continue with normal task processing.
|
105
|
+
|
106
|
+
.SS Information
|
107
|
+
.TP
|
108
|
+
\fB\-v\fR, \fB\-\-verbose\fR
|
109
|
+
Log message to standard output.
|
110
|
+
.TP
|
111
|
+
\fB\-q\fR, \fB\-\-quiet\fR
|
112
|
+
Do not log messages to standard output.
|
113
|
+
.TP
|
114
|
+
\fB\-s\fR, \fB\-\-silent\fR
|
115
|
+
Like \fB\-\-quiet\fR, but also suppresses the 'in directory' announcement.
|
116
|
+
.TP
|
117
|
+
\fB\-X\fR, \fB\-\-no\-deprecation\-warnings\fR
|
118
|
+
Disable the deprecation warnings.
|
119
|
+
.TP
|
120
|
+
\fB\-\-comments\fR
|
121
|
+
Show commented tasks only
|
122
|
+
.TP
|
123
|
+
\fB\-A\fR, \fB\-\-all\fR
|
124
|
+
Show all tasks, even uncommented ones (in combination with \fB\-T\fR or \fB\-D\fR)
|
125
|
+
.TP
|
126
|
+
\fB\-\-job\-stats\fR [\fILEVEL\fR]
|
127
|
+
Display job statistics. \fILEVEL=history\fR displays a complete job list
|
128
|
+
.TP
|
129
|
+
\fB\-V\fR, \fB\-\-version\fR
|
130
|
+
Display the program version.
|
131
|
+
.TP
|
132
|
+
\fB\-h\fR, \fB\-H\fR, \fB\-\-help\fR
|
133
|
+
Display a help message.
|
134
|
+
|
135
|
+
.SH SEE ALSO
|
136
|
+
The complete documentation for \fBrake\fR has been installed at \fI/usr/share/doc/rake-doc/html/index.html\fR. It is also available online at \fIhttp://docs.seattlerb.org/rake\fR.
|
137
|
+
.SH AUTHOR
|
138
|
+
.B rake
|
139
|
+
was written by Jim Weirich <jim@weirichhouse.org>
|
140
|
+
.PP
|
141
|
+
This manual was created by Caitlin Matos <caitlin.matos@zoho.com> for the Debian project (but may be used by others). It was inspired by the manual by Jani Monoses <jani@iv.ro> for the Ubuntu project.
|
@@ -0,0 +1,624 @@
|
|
1
|
+
= Rakefile Format
|
2
|
+
|
3
|
+
First of all, there is no special format for a Rakefile. A Rakefile
|
4
|
+
contains executable Ruby code. Anything legal in a ruby script is
|
5
|
+
allowed in a Rakefile.
|
6
|
+
|
7
|
+
Now that we understand there is no special syntax in a Rakefile, there
|
8
|
+
are some conventions that are used in a Rakefile that are a little
|
9
|
+
unusual in a typical Ruby program. Since a Rakefile is tailored to
|
10
|
+
specifying tasks and actions, the idioms used in a Rakefile are
|
11
|
+
designed to support that.
|
12
|
+
|
13
|
+
So, what goes into a Rakefile?
|
14
|
+
|
15
|
+
== Tasks
|
16
|
+
|
17
|
+
Tasks are the main unit of work in a Rakefile. Tasks have a name
|
18
|
+
(usually given as a symbol or a string), a list of prerequisites (more
|
19
|
+
symbols or strings) and a list of actions (given as a block).
|
20
|
+
|
21
|
+
=== Simple Tasks
|
22
|
+
|
23
|
+
A task is declared by using the +task+ method. +task+ takes a single
|
24
|
+
parameter that is the name of the task.
|
25
|
+
|
26
|
+
task :name
|
27
|
+
|
28
|
+
=== Tasks with Prerequisites
|
29
|
+
|
30
|
+
Any prerequisites are given as a list (enclosed in square brackets)
|
31
|
+
following the name and an arrow (=>).
|
32
|
+
|
33
|
+
task name: [:prereq1, :prereq2]
|
34
|
+
|
35
|
+
*NOTE:* Although this syntax looks a little funky, it is legal
|
36
|
+
Ruby. We are constructing a hash where the key is :name and the value
|
37
|
+
for that key is the list of prerequisites. It is equivalent to the
|
38
|
+
following ...
|
39
|
+
|
40
|
+
hash = Hash.new
|
41
|
+
hash[:name] = [:prereq1, :prereq2]
|
42
|
+
task(hash)
|
43
|
+
|
44
|
+
You can also use strings for task names and prerequisites, rake doesn't care.
|
45
|
+
This is the same task definition:
|
46
|
+
|
47
|
+
task 'name' => %w[prereq1 prereq2]
|
48
|
+
|
49
|
+
As is this:
|
50
|
+
|
51
|
+
task name: %w[prereq1 prereq2]
|
52
|
+
|
53
|
+
We'll prefer this style for regular tasks with prerequisites throughout the
|
54
|
+
rest of the document. Using an array of strings for the prerequisites means
|
55
|
+
you will need to make fewer changes if you need to move tasks into namespaces
|
56
|
+
or perform other refactorings.
|
57
|
+
|
58
|
+
=== Tasks with Actions
|
59
|
+
|
60
|
+
Actions are defined by passing a block to the +task+ method. Any Ruby
|
61
|
+
code can be placed in the block. The block may reference the task
|
62
|
+
object via the block parameter.
|
63
|
+
|
64
|
+
task name: [:prereq1, :prereq2] do |t|
|
65
|
+
# actions (may reference t)
|
66
|
+
end
|
67
|
+
|
68
|
+
=== Multiple Definitions
|
69
|
+
|
70
|
+
A task may be specified more than once. Each specification adds its
|
71
|
+
prerequisites and actions to the existing definition. This allows one
|
72
|
+
part of a rakefile to specify the actions and a different rakefile
|
73
|
+
(perhaps separately generated) to specify the dependencies.
|
74
|
+
|
75
|
+
For example, the following is equivalent to the single task
|
76
|
+
specification given above.
|
77
|
+
|
78
|
+
task :name
|
79
|
+
task name: :prereq1
|
80
|
+
task name: %w[prereq2]
|
81
|
+
task :name do |t|
|
82
|
+
# actions
|
83
|
+
end
|
84
|
+
|
85
|
+
== File Tasks
|
86
|
+
|
87
|
+
Some tasks are designed to create a file from one or more other files.
|
88
|
+
Tasks that generate these files may be skipped if the file already
|
89
|
+
exists. File tasks are used to specify file creation tasks.
|
90
|
+
|
91
|
+
File tasks are declared using the +file+ method (instead of the +task+
|
92
|
+
method). In addition, file tasks are usually named with a string
|
93
|
+
rather than a symbol.
|
94
|
+
|
95
|
+
The following file task creates a executable program (named +prog+)
|
96
|
+
given two object files named +a.o+ and +b.o+. The tasks
|
97
|
+
for creating +a.o+ and +b.o+ are not shown.
|
98
|
+
|
99
|
+
file "prog" => ["a.o", "b.o"] do |t|
|
100
|
+
sh "cc -o #{t.name} #{t.prerequisites.join(' ')}"
|
101
|
+
end
|
102
|
+
|
103
|
+
== Directory Tasks
|
104
|
+
|
105
|
+
It is common to need to create directories upon demand. The
|
106
|
+
+directory+ convenience method is a short-hand for creating a FileTask
|
107
|
+
that creates the directory. For example, the following declaration
|
108
|
+
...
|
109
|
+
|
110
|
+
directory "testdata/examples/doc"
|
111
|
+
|
112
|
+
is equivalent to ...
|
113
|
+
|
114
|
+
file "testdata" do |t| mkdir t.name end
|
115
|
+
file "testdata/examples" => ["testdata"] do |t| mkdir t.name end
|
116
|
+
file "testdata/examples/doc" => ["testdata/examples"] do |t| mkdir t.name end
|
117
|
+
|
118
|
+
The +directory+ method does not accept prerequisites or actions, but
|
119
|
+
both prerequisites and actions can be added later. For example ...
|
120
|
+
|
121
|
+
directory "testdata"
|
122
|
+
file "testdata" => ["otherdata"]
|
123
|
+
file "testdata" do
|
124
|
+
cp Dir["standard_data/*.data"], "testdata"
|
125
|
+
end
|
126
|
+
|
127
|
+
== Tasks with Parallel Prerequisites
|
128
|
+
|
129
|
+
Rake allows parallel execution of prerequisites using the following syntax:
|
130
|
+
|
131
|
+
multitask copy_files: %w[copy_src copy_doc copy_bin] do
|
132
|
+
puts "All Copies Complete"
|
133
|
+
end
|
134
|
+
|
135
|
+
In this example, +copy_files+ is a normal rake task. Its actions are
|
136
|
+
executed whenever all of its prerequisites are done. The big
|
137
|
+
difference is that the prerequisites (+copy_src+, +copy_bin+ and
|
138
|
+
+copy_doc+) are executed in parallel. Each of the prerequisites are
|
139
|
+
run in their own Ruby thread, possibly allowing faster overall runtime.
|
140
|
+
|
141
|
+
=== Secondary Prerequisites
|
142
|
+
|
143
|
+
If any of the primary prerequisites of a multitask have common secondary
|
144
|
+
prerequisites, all of the primary/parallel prerequisites will wait
|
145
|
+
until the common prerequisites have been run.
|
146
|
+
|
147
|
+
For example, if the <tt>copy_<em>xxx</em></tt> tasks have the
|
148
|
+
following prerequisites:
|
149
|
+
|
150
|
+
task copy_src: :prep_for_copy
|
151
|
+
task copy_bin: :prep_for_copy
|
152
|
+
task copy_doc: :prep_for_copy
|
153
|
+
|
154
|
+
Then the +prep_for_copy+ task is run before starting all the copies in
|
155
|
+
parallel. Once +prep_for_copy+ is complete, +copy_src+, +copy_bin+,
|
156
|
+
and +copy_doc+ are all run in parallel. Note that +prep_for_copy+ is
|
157
|
+
run only once, even though it is referenced in multiple threads.
|
158
|
+
|
159
|
+
=== Thread Safety
|
160
|
+
|
161
|
+
The Rake internal data structures are thread-safe with respect
|
162
|
+
to the multitask parallel execution, so there is no need for the user
|
163
|
+
to do extra synchronization for Rake's benefit. However, if there are
|
164
|
+
user data structures shared between the parallel prerequisites, the
|
165
|
+
user must do whatever is necessary to prevent race conditions.
|
166
|
+
|
167
|
+
== Tasks with Arguments
|
168
|
+
|
169
|
+
Prior to version 0.8.0, rake was only able to handle command line
|
170
|
+
arguments of the form NAME=VALUE that were passed into Rake via the
|
171
|
+
ENV hash. Many folks had asked for some kind of simple command line
|
172
|
+
arguments, perhaps using "--" to separate regular task names from
|
173
|
+
argument values on the command line. The problem is that there was no
|
174
|
+
easy way to associate positional arguments on the command line with
|
175
|
+
different tasks. Suppose both tasks :a and :b expect a command line
|
176
|
+
argument: does the first value go with :a? What if :b is run first?
|
177
|
+
Should it then get the first command line argument.
|
178
|
+
|
179
|
+
Rake 0.8.0 solves this problem by explicitly passing values directly
|
180
|
+
to the tasks that need them. For example, if I had a release task
|
181
|
+
that required a version number, I could say:
|
182
|
+
|
183
|
+
rake release[0.8.2]
|
184
|
+
|
185
|
+
And the string "0.8.2" will be passed to the :release task. Multiple
|
186
|
+
arguments can be passed by separating them with a comma, for example:
|
187
|
+
|
188
|
+
rake name[john,doe]
|
189
|
+
|
190
|
+
Just a few words of caution. The rake task name and its arguments
|
191
|
+
need to be a single command line argument to rake. This generally
|
192
|
+
means no spaces. If spaces are needed, then the entire name +
|
193
|
+
argument string should be quoted. Something like this:
|
194
|
+
|
195
|
+
rake "name[billy bob, smith]"
|
196
|
+
|
197
|
+
(Quoting rules vary between operating systems and shells, so make sure
|
198
|
+
you consult the proper docs for your OS/shell).
|
199
|
+
|
200
|
+
=== Tasks that Expect Parameters
|
201
|
+
|
202
|
+
Parameters are only given to tasks that are setup to expect them. In
|
203
|
+
order to handle named parameters, the task declaration syntax for
|
204
|
+
tasks has been extended slightly.
|
205
|
+
|
206
|
+
For example, a task that needs a first name and last name might be
|
207
|
+
declared as:
|
208
|
+
|
209
|
+
task :name, [:first_name, :last_name]
|
210
|
+
|
211
|
+
The first argument is still the name of the task (:name in this case).
|
212
|
+
The next two arguments are the names of the parameters expected by
|
213
|
+
:name in an array (:first_name and :last_name in the example).
|
214
|
+
|
215
|
+
To access the values of the parameters, the block defining the task
|
216
|
+
behaviour can now accept a second parameter:
|
217
|
+
|
218
|
+
task :name, [:first_name, :last_name] do |t, args|
|
219
|
+
puts "First name is #{args.first_name}"
|
220
|
+
puts "Last name is #{args.last_name}"
|
221
|
+
end
|
222
|
+
|
223
|
+
The first argument of the block "t" is always bound to the current
|
224
|
+
task object. The second argument "args" is an open-struct like object
|
225
|
+
that allows access to the task arguments. Extra command line
|
226
|
+
arguments to a task are ignored. Missing command line arguments are
|
227
|
+
picked up from matching environment variables. If there are no
|
228
|
+
matching environment variables, they are given the nil value.
|
229
|
+
|
230
|
+
If you wish to specify default values for the arguments, you can use
|
231
|
+
the with_defaults method in the task body. Here is the above example
|
232
|
+
where we specify default values for the first and last names:
|
233
|
+
|
234
|
+
task :name, [:first_name, :last_name] do |t, args|
|
235
|
+
args.with_defaults(:first_name => "John", :last_name => "Dough")
|
236
|
+
puts "First name is #{args.first_name}"
|
237
|
+
puts "Last name is #{args.last_name}"
|
238
|
+
end
|
239
|
+
|
240
|
+
=== Tasks that Expect Parameters and Have Prerequisites
|
241
|
+
|
242
|
+
Tasks that use parameters have a slightly different format for
|
243
|
+
prerequisites. Use the arrow notation to indicate the prerequisites
|
244
|
+
for tasks with arguments. For example:
|
245
|
+
|
246
|
+
task :name, [:first_name, :last_name] => [:pre_name] do |t, args|
|
247
|
+
args.with_defaults(:first_name => "John", :last_name => "Dough")
|
248
|
+
puts "First name is #{args.first_name}"
|
249
|
+
puts "Last name is #{args.last_name}"
|
250
|
+
end
|
251
|
+
|
252
|
+
=== Tasks that take Variable-length Parameters
|
253
|
+
|
254
|
+
Tasks that need to handle a list of values as a parameter can use the
|
255
|
+
extras method of the args variable. This allows for tasks that can
|
256
|
+
loop over a variable number of values, and its compatible with named
|
257
|
+
parameters as well:
|
258
|
+
|
259
|
+
task :email, [:message] do |t, args|
|
260
|
+
mail = Mail.new(args.message)
|
261
|
+
recipients = args.extras
|
262
|
+
recipients.each do |target|
|
263
|
+
mail.send_to(target)
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
There is also the convenience method to_a that returns all parameters
|
268
|
+
in the sequential order they were given, including those associated
|
269
|
+
with named parameters.
|
270
|
+
|
271
|
+
=== Deprecated Task Parameters Format
|
272
|
+
|
273
|
+
There is an older format for declaring task parameters that omitted
|
274
|
+
the task argument array and used the :needs keyword to introduce the
|
275
|
+
dependencies. That format is still supported for compatibility, but
|
276
|
+
is not recommended for use. The older format may be dropped in future
|
277
|
+
versions of rake.
|
278
|
+
|
279
|
+
== Accessing Task Programmatically
|
280
|
+
|
281
|
+
Sometimes it is useful to manipulate tasks programmatically in a
|
282
|
+
Rakefile. To find a task object use Rake::Task.[].
|
283
|
+
|
284
|
+
=== Programmatic Task Example
|
285
|
+
|
286
|
+
For example, the following Rakefile defines two tasks. The :doit task
|
287
|
+
simply prints a simple "DONE" message. The :dont class will lookup
|
288
|
+
the doit class and remove (clear) all of its prerequisites and
|
289
|
+
actions.
|
290
|
+
|
291
|
+
task :doit do
|
292
|
+
puts "DONE"
|
293
|
+
end
|
294
|
+
|
295
|
+
task :dont do
|
296
|
+
Rake::Task[:doit].clear
|
297
|
+
end
|
298
|
+
|
299
|
+
Running this example:
|
300
|
+
|
301
|
+
$ rake doit
|
302
|
+
(in /Users/jim/working/git/rake/x)
|
303
|
+
DONE
|
304
|
+
$ rake dont doit
|
305
|
+
(in /Users/jim/working/git/rake/x)
|
306
|
+
$
|
307
|
+
|
308
|
+
The ability to programmatically manipulate tasks gives rake very
|
309
|
+
powerful meta-programming capabilities w.r.t. task execution, but
|
310
|
+
should be used with caution.
|
311
|
+
|
312
|
+
== Rules
|
313
|
+
|
314
|
+
When a file is named as a prerequisite, but does not have a file task
|
315
|
+
defined for it, Rake will attempt to synthesize a task by looking at a
|
316
|
+
list of rules supplied in the Rakefile.
|
317
|
+
|
318
|
+
Suppose we were trying to invoke task "mycode.o", but no task is
|
319
|
+
defined for it. But the rakefile has a rule that look like this ...
|
320
|
+
|
321
|
+
rule '.o' => ['.c'] do |t|
|
322
|
+
sh "cc #{t.source} -c -o #{t.name}"
|
323
|
+
end
|
324
|
+
|
325
|
+
This rule will synthesize any task that ends in ".o". It has a
|
326
|
+
prerequisite a source file with an extension of ".c" must exist. If
|
327
|
+
Rake is able to find a file named "mycode.c", it will automatically
|
328
|
+
create a task that builds "mycode.o" from "mycode.c".
|
329
|
+
|
330
|
+
If the file "mycode.c" does not exist, rake will attempt
|
331
|
+
to recursively synthesize a rule for it.
|
332
|
+
|
333
|
+
When a task is synthesized from a rule, the +source+ attribute of the
|
334
|
+
task is set to the matching source file. This allows us to write
|
335
|
+
rules with actions that reference the source file.
|
336
|
+
|
337
|
+
=== Advanced Rules
|
338
|
+
|
339
|
+
Any regular expression may be used as the rule pattern. Additionally,
|
340
|
+
a proc may be used to calculate the name of the source file. This
|
341
|
+
allows for complex patterns and sources.
|
342
|
+
|
343
|
+
The following rule is equivalent to the example above.
|
344
|
+
|
345
|
+
rule( /\.o$/ => [
|
346
|
+
proc {|task_name| task_name.sub(/\.[^.]+$/, '.c') }
|
347
|
+
]) do |t|
|
348
|
+
sh "cc #{t.source} -c -o #{t.name}"
|
349
|
+
end
|
350
|
+
|
351
|
+
*NOTE:* Because of a _quirk_ in Ruby syntax, parenthesis are
|
352
|
+
required on *rule* when the first argument is a regular expression.
|
353
|
+
|
354
|
+
The following rule might be used for Java files ...
|
355
|
+
|
356
|
+
rule '.class' => [
|
357
|
+
proc { |tn| tn.sub(/\.class$/, '.java').sub(/^classes\//, 'src/') }
|
358
|
+
] do |t|
|
359
|
+
java_compile(t.source, t.name)
|
360
|
+
end
|
361
|
+
|
362
|
+
*NOTE:* +java_compile+ is a hypothetical method that invokes the
|
363
|
+
java compiler.
|
364
|
+
|
365
|
+
== Importing Dependencies
|
366
|
+
|
367
|
+
Any ruby file (including other rakefiles) can be included with a
|
368
|
+
standard Ruby +require+ command. The rules and declarations in the
|
369
|
+
required file are just added to the definitions already accumulated.
|
370
|
+
|
371
|
+
Because the files are loaded _before_ the rake targets are evaluated,
|
372
|
+
the loaded files must be "ready to go" when the rake command is
|
373
|
+
invoked. This makes generated dependency files difficult to use. By
|
374
|
+
the time rake gets around to updating the dependencies file, it is too
|
375
|
+
late to load it.
|
376
|
+
|
377
|
+
The +import+ command addresses this by specifying a file to be loaded
|
378
|
+
_after_ the main rakefile is loaded, but _before_ any targets on the
|
379
|
+
command line are invoked. In addition, if the file name matches an
|
380
|
+
explicit task, that task is invoked before loading the file. This
|
381
|
+
allows dependency files to be generated and used in a single rake
|
382
|
+
command invocation.
|
383
|
+
|
384
|
+
Example:
|
385
|
+
|
386
|
+
require 'rake/loaders/makefile'
|
387
|
+
|
388
|
+
file ".depends.mf" => [SRC_LIST] do |t|
|
389
|
+
sh "makedepend -f- -- #{CFLAGS} -- #{t.prerequisites} > #{t.name}"
|
390
|
+
end
|
391
|
+
|
392
|
+
import ".depends.mf"
|
393
|
+
|
394
|
+
If ".depends" does not exist, or is out of date w.r.t. the source
|
395
|
+
files, a new ".depends" file is generated using +makedepend+ before
|
396
|
+
loading.
|
397
|
+
|
398
|
+
== Comments
|
399
|
+
|
400
|
+
Standard Ruby comments (beginning with "#") can be used anywhere it is
|
401
|
+
legal in Ruby source code, including comments for tasks and rules.
|
402
|
+
However, if you wish a task to be described using the "-T" switch,
|
403
|
+
then you need to use the +desc+ command to describe the task.
|
404
|
+
|
405
|
+
Example:
|
406
|
+
|
407
|
+
desc "Create a distribution package"
|
408
|
+
task package: %w[ ... ] do ... end
|
409
|
+
|
410
|
+
The "-T" switch (or "--tasks" if you like to spell things out) will
|
411
|
+
display a list of tasks that have a description. If you use +desc+ to
|
412
|
+
describe your major tasks, you have a semi-automatic way of generating
|
413
|
+
a summary of your Rake file.
|
414
|
+
|
415
|
+
traken$ rake -T
|
416
|
+
(in /home/.../rake)
|
417
|
+
rake clean # Remove any temporary products.
|
418
|
+
rake clobber # Remove any generated file.
|
419
|
+
rake clobber_rdoc # Remove rdoc products
|
420
|
+
rake contrib_test # Run tests for contrib_test
|
421
|
+
rake default # Default Task
|
422
|
+
rake install # Install the application
|
423
|
+
rake lines # Count lines in the main rake file
|
424
|
+
rake rdoc # Build the rdoc HTML Files
|
425
|
+
rake rerdoc # Force a rebuild of the RDOC files
|
426
|
+
rake test # Run tests
|
427
|
+
rake testall # Run all test targets
|
428
|
+
|
429
|
+
Only tasks with descriptions will be displayed with the "-T" switch.
|
430
|
+
Use "-P" (or "--prereqs") to get a list of all tasks and their
|
431
|
+
prerequisites.
|
432
|
+
|
433
|
+
== Namespaces
|
434
|
+
|
435
|
+
As projects grow (and along with it, the number of tasks), it is
|
436
|
+
common for task names to begin to clash. For example, if you might
|
437
|
+
have a main program and a set of sample programs built by a single
|
438
|
+
Rakefile. By placing the tasks related to the main program in one
|
439
|
+
namespace, and the tasks for building the sample programs in a
|
440
|
+
different namespace, the task names will not interfere with each other.
|
441
|
+
|
442
|
+
For example:
|
443
|
+
|
444
|
+
namespace "main" do
|
445
|
+
task :build do
|
446
|
+
# Build the main program
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
450
|
+
namespace "samples" do
|
451
|
+
task :build do
|
452
|
+
# Build the sample programs
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
task build: %w[main:build samples:build]
|
457
|
+
|
458
|
+
Referencing a task in a separate namespace can be achieved by
|
459
|
+
prefixing the task name with the namespace and a colon
|
460
|
+
(e.g. "main:build" refers to the :build task in the +main+ namespace).
|
461
|
+
Nested namespaces are supported.
|
462
|
+
|
463
|
+
Note that the name given in the +task+ command is always the unadorned
|
464
|
+
task name without any namespace prefixes. The +task+ command always
|
465
|
+
defines a task in the current namespace.
|
466
|
+
|
467
|
+
=== FileTasks
|
468
|
+
|
469
|
+
File task names are not scoped by the namespace command. Since the
|
470
|
+
name of a file task is the name of an actual file in the file system,
|
471
|
+
it makes little sense to include file task names in name space.
|
472
|
+
Directory tasks (created by the +directory+ command) are a type of
|
473
|
+
file task and are also not affected by namespaces.
|
474
|
+
|
475
|
+
=== Name Resolution
|
476
|
+
|
477
|
+
When looking up a task name, rake will start with the current
|
478
|
+
namespace and attempt to find the name there. If it fails to find a
|
479
|
+
name in the current namespace, it will search the parent namespaces
|
480
|
+
until a match is found (or an error occurs if there is no match).
|
481
|
+
|
482
|
+
The "rake" namespace is a special implicit namespace that refers to
|
483
|
+
the toplevel names.
|
484
|
+
|
485
|
+
If a task name begins with a "^" character, the name resolution will
|
486
|
+
start in the parent namespace. Multiple "^" characters are allowed.
|
487
|
+
|
488
|
+
Here is an example file with multiple :run tasks and how various names
|
489
|
+
resolve in different locations.
|
490
|
+
|
491
|
+
task :run
|
492
|
+
|
493
|
+
namespace "one" do
|
494
|
+
task :run
|
495
|
+
|
496
|
+
namespace "two" do
|
497
|
+
task :run
|
498
|
+
|
499
|
+
# :run => "one:two:run"
|
500
|
+
# "two:run" => "one:two:run"
|
501
|
+
# "one:two:run" => "one:two:run"
|
502
|
+
# "one:run" => "one:run"
|
503
|
+
# "^run" => "one:run"
|
504
|
+
# "^^run" => "rake:run" (the top level task)
|
505
|
+
# "rake:run" => "rake:run" (the top level task)
|
506
|
+
end
|
507
|
+
|
508
|
+
# :run => "one:run"
|
509
|
+
# "two:run" => "one:two:run"
|
510
|
+
# "^run" => "rake:run"
|
511
|
+
end
|
512
|
+
|
513
|
+
# :run => "rake:run"
|
514
|
+
# "one:run" => "one:run"
|
515
|
+
# "one:two:run" => "one:two:run"
|
516
|
+
|
517
|
+
== FileLists
|
518
|
+
|
519
|
+
FileLists are the way Rake manages lists of files. You can treat a
|
520
|
+
FileList as an array of strings for the most part, but FileLists
|
521
|
+
support some additional operations.
|
522
|
+
|
523
|
+
=== Creating a FileList
|
524
|
+
|
525
|
+
Creating a file list is easy. Just give it the list of file names:
|
526
|
+
|
527
|
+
fl = FileList['file1.rb', file2.rb']
|
528
|
+
|
529
|
+
Or give it a glob pattern:
|
530
|
+
|
531
|
+
fl = FileList['*.rb']
|
532
|
+
|
533
|
+
== Odds and Ends
|
534
|
+
|
535
|
+
=== do/end versus { }
|
536
|
+
|
537
|
+
Blocks may be specified with either a +do+/+end+ pair, or with curly
|
538
|
+
braces in Ruby. We _strongly_ recommend using +do+/+end+ to specify the
|
539
|
+
actions for tasks and rules. Because the rakefile idiom tends to
|
540
|
+
leave off parentheses on the task/file/rule methods, unusual
|
541
|
+
ambiguities can arise when using curly braces.
|
542
|
+
|
543
|
+
For example, suppose that the method +object_files+ returns a list of
|
544
|
+
object files in a project. Now we use +object_files+ as the
|
545
|
+
prerequisites in a rule specified with actions in curly braces.
|
546
|
+
|
547
|
+
# DON'T DO THIS!
|
548
|
+
file "prog" => object_files {
|
549
|
+
# Actions are expected here (but it doesn't work)!
|
550
|
+
}
|
551
|
+
|
552
|
+
Because curly braces have a higher precedence than +do+/+end+, the
|
553
|
+
block is associated with the +object_files+ method rather than the
|
554
|
+
+file+ method.
|
555
|
+
|
556
|
+
This is the proper way to specify the task ...
|
557
|
+
|
558
|
+
# THIS IS FINE
|
559
|
+
file "prog" => object_files do
|
560
|
+
# Actions go here
|
561
|
+
end
|
562
|
+
|
563
|
+
== Rakefile Path
|
564
|
+
|
565
|
+
When issuing the +rake+ command in a terminal, Rake will look
|
566
|
+
for a Rakefile in the current directory. If a Rakefile is not found,
|
567
|
+
it will search parent directories until one is found.
|
568
|
+
|
569
|
+
For example, if a Rakefile resides in the +project/+ directory,
|
570
|
+
moving deeper into the project's directory tree will not have an adverse
|
571
|
+
effect on rake tasks:
|
572
|
+
|
573
|
+
$ pwd
|
574
|
+
/home/user/project
|
575
|
+
|
576
|
+
$ cd lib/foo/bar
|
577
|
+
$ pwd
|
578
|
+
/home/user/project/lib/foo/bar
|
579
|
+
|
580
|
+
$ rake run_pwd
|
581
|
+
/home/user/project
|
582
|
+
|
583
|
+
As far as rake is concerned, all tasks are run from the directory in
|
584
|
+
which the Rakefile resides.
|
585
|
+
|
586
|
+
=== Multiple Rake Files
|
587
|
+
|
588
|
+
Not all tasks need to be included in a single Rakefile. Additional
|
589
|
+
rake files (with the file extension "+.rake+") may be placed in
|
590
|
+
+rakelib+ directory located at the top level of a project (i.e.
|
591
|
+
the same directory that contains the main +Rakefile+).
|
592
|
+
|
593
|
+
Also, rails projects may include additional rake files in the
|
594
|
+
+lib/tasks+ directory.
|
595
|
+
|
596
|
+
=== Clean and Clobber Tasks
|
597
|
+
|
598
|
+
Through <tt>require 'rake/clean'</tt> Rake provides +clean+ and +clobber+
|
599
|
+
tasks:
|
600
|
+
|
601
|
+
+clean+ ::
|
602
|
+
Clean up the project by deleting scratch files and backup files. Add files
|
603
|
+
to the +CLEAN+ FileList to have the +clean+ target handle them.
|
604
|
+
|
605
|
+
+clobber+ ::
|
606
|
+
Clobber all generated and non-source files in a project. The task depends
|
607
|
+
on +clean+, so all the +CLEAN+ files will be deleted as well as files in the
|
608
|
+
+CLOBBER+ FileList. The intent of this task is to return a project to its
|
609
|
+
pristine, just unpacked state.
|
610
|
+
|
611
|
+
You can add file names or glob patterns to both the +CLEAN+ and +CLOBBER+
|
612
|
+
lists.
|
613
|
+
|
614
|
+
=== Phony Task
|
615
|
+
|
616
|
+
The phony task can be used as a dependency to allow file-based tasks to use
|
617
|
+
non-file-based-tasks as prerequisites without forcing them to rebuild. You
|
618
|
+
can <tt>require 'rake/phony'</tt> to add the +phony+ task.
|
619
|
+
|
620
|
+
----
|
621
|
+
|
622
|
+
== See
|
623
|
+
|
624
|
+
* README.rdoc -- Main documentation for Rake.
|