warbler 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/Gemfile +6 -1
- data/bin/warble +1 -1
- data/lib/warbler/application.rb +16 -7
- data/lib/warbler/gems.rb +1 -0
- data/lib/warbler/jar.rb +2 -2
- data/lib/warbler/templates/bundler.erb +3 -1
- data/lib/warbler/templates/jar.erb +10 -8
- data/lib/warbler/templates/rails.erb +1 -1
- data/lib/warbler/templates/war.erb +12 -7
- data/lib/warbler/traits/bundler.rb +16 -12
- data/lib/warbler/traits/gemspec.rb +4 -4
- data/lib/warbler/traits/nogemspec.rb +2 -4
- data/lib/warbler/traits/rails.rb +5 -5
- data/lib/warbler/traits/war.rb +28 -9
- data/lib/warbler/version.rb +1 -1
- data/spec/sample_bundler/Gemfile +1 -1
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/cache/rake-10.5.0.gem +0 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/.autotest +7 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/.rubocop.yml +27 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/.togglerc +7 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/CONTRIBUTING.rdoc +38 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/History.rdoc +659 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/MIT-LICENSE +21 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/Manifest.txt +166 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/README.rdoc +139 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/Rakefile +81 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/bin/rake +33 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake.rb +79 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/alt_system.rb +110 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/application.rb +790 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/backtrace.rb +23 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/clean.rb +76 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/cloneable.rb +16 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/contrib/.document +1 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb +21 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/contrib/ftptools.rb +137 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/contrib/publisher.rb +81 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/contrib/sshpublisher.rb +61 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/contrib/sys.rb +4 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/cpu_counter.rb +125 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/default_loader.rb +14 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/dsl_definition.rb +201 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/early_time.rb +21 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/ext/core.rb +25 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/ext/module.rb +2 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/ext/pathname.rb +25 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/ext/string.rb +175 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/ext/time.rb +18 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/file_creation_task.rb +24 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/file_list.rb +428 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/file_task.rb +46 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/file_utils.rb +128 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/file_utils_ext.rb +144 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/gempackagetask.rb +4 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/invocation_chain.rb +56 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/invocation_exception_mixin.rb +16 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/late_time.rb +17 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/linked_list.rb +103 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/loaders/makefile.rb +53 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/multi_task.rb +13 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/name_space.rb +38 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/packagetask.rb +199 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/pathmap.rb +3 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/phony.rb +15 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/private_reader.rb +20 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/promise.rb +99 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/pseudo_status.rb +29 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/rake_module.rb +38 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb +22 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/rdoctask.rb +4 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb +29 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/runtest.rb +27 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/scope.rb +42 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/task.rb +383 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/task_argument_error.rb +7 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/task_arguments.rb +98 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/task_manager.rb +307 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/tasklib.rb +24 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/testtask.rb +213 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/thread_history_display.rb +48 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/thread_pool.rb +164 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/trace_output.rb +22 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/version.rb +7 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/lib/rake/win32.rb +56 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/rakelib/publish.rake +20 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/rakelib/test_times.rake +25 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/file_creation.rb +34 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/helper.rb +129 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/support/rakefile_definitions.rb +478 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/support/ruby_runner.rb +34 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_private_reader.rb +42 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake.rb +40 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_application.rb +643 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_application_options.rb +468 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_backtrace.rb +119 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_clean.rb +61 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_cpu_counter.rb +68 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_definitions.rb +84 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_directory_task.rb +76 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_dsl.rb +40 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_early_time.rb +31 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_extension.rb +59 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_file_creation_task.rb +56 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_file_list.rb +670 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_file_list_path_map.rb +8 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_file_task.rb +197 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_file_utils.rb +314 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_ftp_file.rb +74 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_functional.rb +482 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_invocation_chain.rb +64 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_late_time.rb +18 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_linked_list.rb +84 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_makefile_loader.rb +46 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_multi_task.rb +64 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_name_space.rb +57 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_package_task.rb +79 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_path_map.rb +168 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_path_map_explode.rb +34 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_path_map_partial.rb +18 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_pathname_extensions.rb +15 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_pseudo_status.rb +21 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_rake_test_loader.rb +20 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_reduce_compat.rb +26 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_require.rb +40 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_rules.rb +388 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_scope.rb +44 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_task.rb +393 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_task_argument_parsing.rb +119 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_task_arguments.rb +127 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_task_lib.rb +9 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_task_manager.rb +178 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_task_manager_argument_resolution.rb +19 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_task_with_arguments.rb +172 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_test_task.rb +146 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_thread_pool.rb +145 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_top_level_functions.rb +71 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_rake_win32.rb +72 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_thread_history_display.rb +101 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.5.0/test/test_trace_output.rb +52 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/specifications/rake-10.5.0.gemspec +43 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/bin/rake +22 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/cache/rake-10.5.0.gem +0 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/.autotest +7 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/.rubocop.yml +27 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/.togglerc +7 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/CONTRIBUTING.rdoc +38 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/History.rdoc +659 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/MIT-LICENSE +21 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/Manifest.txt +166 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/README.rdoc +139 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/Rakefile +81 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/bin/rake +33 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake.rb +79 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/alt_system.rb +110 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/application.rb +790 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/backtrace.rb +23 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/clean.rb +76 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/cloneable.rb +16 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/.document +1 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb +21 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/ftptools.rb +137 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/publisher.rb +81 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/sshpublisher.rb +61 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/sys.rb +4 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/cpu_counter.rb +125 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/default_loader.rb +14 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/dsl_definition.rb +201 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/early_time.rb +21 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/ext/core.rb +25 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/ext/module.rb +2 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/ext/pathname.rb +25 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/ext/string.rb +175 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/ext/time.rb +18 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/file_creation_task.rb +24 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/file_list.rb +428 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/file_task.rb +46 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/file_utils.rb +128 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/file_utils_ext.rb +144 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/gempackagetask.rb +4 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/invocation_chain.rb +56 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/invocation_exception_mixin.rb +16 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/late_time.rb +17 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/linked_list.rb +103 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/loaders/makefile.rb +53 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/multi_task.rb +13 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/name_space.rb +38 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/packagetask.rb +199 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/pathmap.rb +3 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/phony.rb +15 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/private_reader.rb +20 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/promise.rb +99 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/pseudo_status.rb +29 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/rake_module.rb +38 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb +22 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/rdoctask.rb +4 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb +29 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/runtest.rb +27 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/scope.rb +42 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/task.rb +383 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/task_argument_error.rb +7 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/task_arguments.rb +98 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/task_manager.rb +307 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/tasklib.rb +24 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/testtask.rb +213 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/thread_history_display.rb +48 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/thread_pool.rb +164 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/trace_output.rb +22 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/version.rb +7 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/lib/rake/win32.rb +56 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/rakelib/publish.rake +20 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/rakelib/test_times.rake +25 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/file_creation.rb +34 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/helper.rb +129 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/support/rakefile_definitions.rb +478 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/support/ruby_runner.rb +34 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_private_reader.rb +42 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake.rb +40 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_application.rb +643 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_application_options.rb +468 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_backtrace.rb +119 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_clean.rb +61 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_cpu_counter.rb +68 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_definitions.rb +84 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_directory_task.rb +76 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_dsl.rb +40 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_early_time.rb +31 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_extension.rb +59 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_file_creation_task.rb +56 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_file_list.rb +670 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_file_list_path_map.rb +8 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_file_task.rb +197 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_file_utils.rb +314 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_ftp_file.rb +74 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_functional.rb +482 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_invocation_chain.rb +64 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_late_time.rb +18 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_linked_list.rb +84 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_makefile_loader.rb +46 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_multi_task.rb +64 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_name_space.rb +57 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_package_task.rb +79 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_path_map.rb +168 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_path_map_explode.rb +34 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_path_map_partial.rb +18 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_pathname_extensions.rb +15 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_pseudo_status.rb +21 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_rake_test_loader.rb +20 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_reduce_compat.rb +26 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_require.rb +40 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_rules.rb +388 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_scope.rb +44 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_task.rb +393 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_argument_parsing.rb +119 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_arguments.rb +127 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_lib.rb +9 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_manager.rb +178 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_manager_argument_resolution.rb +19 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_with_arguments.rb +172 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_test_task.rb +146 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_thread_pool.rb +145 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_top_level_functions.rb +71 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_rake_win32.rb +72 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_thread_history_display.rb +101 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/gems/rake-10.5.0/test/test_trace_output.rb +52 -0
- data/spec/sample_bundler/vendor/bundle/jruby/2.3.0/specifications/rake-10.5.0.gemspec +43 -0
- data/spec/sample_jbundler/vendor/bundle/jruby/1.8/gems +1 -0
- data/spec/sample_jbundler/vendor/bundle/jruby/1.8/specifications +1 -0
- data/spec/sample_jbundler/vendor/bundle/jruby/1.9/gems +1 -0
- data/spec/sample_jbundler/vendor/bundle/jruby/1.9/specifications +1 -0
- data/spec/sample_jbundler/vendor/bundle/ruby/1.8/gems +1 -0
- data/spec/sample_jbundler/vendor/bundle/ruby/1.8/specifications +1 -0
- data/spec/sample_jbundler/vendor/bundle/ruby/1.9.1/gems +1 -0
- data/spec/sample_jbundler/vendor/bundle/ruby/1.9.1/specifications +1 -0
- data/spec/sample_war/gems/.keep +1 -0
- data/spec/spec_helper.rb +48 -36
- data/spec/warbler/bundler_spec.rb +26 -2
- data/spec/warbler/config_spec.rb +28 -1
- data/spec/warbler/jar_spec.rb +45 -7
- data/warble.rb +12 -8
- data/warbler.gemspec +6 -7
- data/web.xml.erb +27 -6
- metadata +527 -17
@@ -0,0 +1,21 @@
|
|
1
|
+
Copyright (c) Jim Weirich
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
@@ -0,0 +1,166 @@
|
|
1
|
+
.autotest
|
2
|
+
.rubocop.yml
|
3
|
+
.togglerc
|
4
|
+
CONTRIBUTING.rdoc
|
5
|
+
History.rdoc
|
6
|
+
MIT-LICENSE
|
7
|
+
Manifest.txt
|
8
|
+
README.rdoc
|
9
|
+
Rakefile
|
10
|
+
bin/rake
|
11
|
+
doc/command_line_usage.rdoc
|
12
|
+
doc/example/Rakefile1
|
13
|
+
doc/example/Rakefile2
|
14
|
+
doc/example/a.c
|
15
|
+
doc/example/b.c
|
16
|
+
doc/example/main.c
|
17
|
+
doc/glossary.rdoc
|
18
|
+
doc/jamis.rb
|
19
|
+
doc/proto_rake.rdoc
|
20
|
+
doc/rake.1
|
21
|
+
doc/rakefile.rdoc
|
22
|
+
doc/rational.rdoc
|
23
|
+
doc/release_notes/rake-0.4.14.rdoc
|
24
|
+
doc/release_notes/rake-0.4.15.rdoc
|
25
|
+
doc/release_notes/rake-0.5.0.rdoc
|
26
|
+
doc/release_notes/rake-0.5.3.rdoc
|
27
|
+
doc/release_notes/rake-0.5.4.rdoc
|
28
|
+
doc/release_notes/rake-0.6.0.rdoc
|
29
|
+
doc/release_notes/rake-0.7.0.rdoc
|
30
|
+
doc/release_notes/rake-0.7.1.rdoc
|
31
|
+
doc/release_notes/rake-0.7.2.rdoc
|
32
|
+
doc/release_notes/rake-0.7.3.rdoc
|
33
|
+
doc/release_notes/rake-0.8.0.rdoc
|
34
|
+
doc/release_notes/rake-0.8.2.rdoc
|
35
|
+
doc/release_notes/rake-0.8.3.rdoc
|
36
|
+
doc/release_notes/rake-0.8.4.rdoc
|
37
|
+
doc/release_notes/rake-0.8.5.rdoc
|
38
|
+
doc/release_notes/rake-0.8.6.rdoc
|
39
|
+
doc/release_notes/rake-0.8.7.rdoc
|
40
|
+
doc/release_notes/rake-0.9.0.rdoc
|
41
|
+
doc/release_notes/rake-0.9.1.rdoc
|
42
|
+
doc/release_notes/rake-0.9.2.2.rdoc
|
43
|
+
doc/release_notes/rake-0.9.2.rdoc
|
44
|
+
doc/release_notes/rake-0.9.3.rdoc
|
45
|
+
doc/release_notes/rake-0.9.4.rdoc
|
46
|
+
doc/release_notes/rake-0.9.5.rdoc
|
47
|
+
doc/release_notes/rake-0.9.6.rdoc
|
48
|
+
doc/release_notes/rake-10.0.0.rdoc
|
49
|
+
doc/release_notes/rake-10.0.1.rdoc
|
50
|
+
doc/release_notes/rake-10.0.2.rdoc
|
51
|
+
doc/release_notes/rake-10.0.3.rdoc
|
52
|
+
doc/release_notes/rake-10.1.0.rdoc
|
53
|
+
lib/rake.rb
|
54
|
+
lib/rake/alt_system.rb
|
55
|
+
lib/rake/application.rb
|
56
|
+
lib/rake/backtrace.rb
|
57
|
+
lib/rake/clean.rb
|
58
|
+
lib/rake/cloneable.rb
|
59
|
+
lib/rake/contrib/.document
|
60
|
+
lib/rake/contrib/compositepublisher.rb
|
61
|
+
lib/rake/contrib/ftptools.rb
|
62
|
+
lib/rake/contrib/publisher.rb
|
63
|
+
lib/rake/contrib/rubyforgepublisher.rb
|
64
|
+
lib/rake/contrib/sshpublisher.rb
|
65
|
+
lib/rake/contrib/sys.rb
|
66
|
+
lib/rake/cpu_counter.rb
|
67
|
+
lib/rake/default_loader.rb
|
68
|
+
lib/rake/dsl_definition.rb
|
69
|
+
lib/rake/early_time.rb
|
70
|
+
lib/rake/ext/core.rb
|
71
|
+
lib/rake/ext/module.rb
|
72
|
+
lib/rake/ext/pathname.rb
|
73
|
+
lib/rake/ext/string.rb
|
74
|
+
lib/rake/ext/time.rb
|
75
|
+
lib/rake/file_creation_task.rb
|
76
|
+
lib/rake/file_list.rb
|
77
|
+
lib/rake/file_task.rb
|
78
|
+
lib/rake/file_utils.rb
|
79
|
+
lib/rake/file_utils_ext.rb
|
80
|
+
lib/rake/gempackagetask.rb
|
81
|
+
lib/rake/invocation_chain.rb
|
82
|
+
lib/rake/invocation_exception_mixin.rb
|
83
|
+
lib/rake/late_time.rb
|
84
|
+
lib/rake/linked_list.rb
|
85
|
+
lib/rake/loaders/makefile.rb
|
86
|
+
lib/rake/multi_task.rb
|
87
|
+
lib/rake/name_space.rb
|
88
|
+
lib/rake/packagetask.rb
|
89
|
+
lib/rake/pathmap.rb
|
90
|
+
lib/rake/phony.rb
|
91
|
+
lib/rake/private_reader.rb
|
92
|
+
lib/rake/promise.rb
|
93
|
+
lib/rake/pseudo_status.rb
|
94
|
+
lib/rake/rake_module.rb
|
95
|
+
lib/rake/rake_test_loader.rb
|
96
|
+
lib/rake/rdoctask.rb
|
97
|
+
lib/rake/ruby182_test_unit_fix.rb
|
98
|
+
lib/rake/rule_recursion_overflow_error.rb
|
99
|
+
lib/rake/runtest.rb
|
100
|
+
lib/rake/scope.rb
|
101
|
+
lib/rake/task.rb
|
102
|
+
lib/rake/task_argument_error.rb
|
103
|
+
lib/rake/task_arguments.rb
|
104
|
+
lib/rake/task_manager.rb
|
105
|
+
lib/rake/tasklib.rb
|
106
|
+
lib/rake/testtask.rb
|
107
|
+
lib/rake/thread_history_display.rb
|
108
|
+
lib/rake/thread_pool.rb
|
109
|
+
lib/rake/trace_output.rb
|
110
|
+
lib/rake/version.rb
|
111
|
+
lib/rake/win32.rb
|
112
|
+
rakelib/publish.rake
|
113
|
+
rakelib/test_times.rake
|
114
|
+
test/file_creation.rb
|
115
|
+
test/helper.rb
|
116
|
+
test/support/rakefile_definitions.rb
|
117
|
+
test/support/ruby_runner.rb
|
118
|
+
test/test_private_reader.rb
|
119
|
+
test/test_rake.rb
|
120
|
+
test/test_rake_application.rb
|
121
|
+
test/test_rake_application_options.rb
|
122
|
+
test/test_rake_backtrace.rb
|
123
|
+
test/test_rake_clean.rb
|
124
|
+
test/test_rake_cpu_counter.rb
|
125
|
+
test/test_rake_definitions.rb
|
126
|
+
test/test_rake_directory_task.rb
|
127
|
+
test/test_rake_dsl.rb
|
128
|
+
test/test_rake_early_time.rb
|
129
|
+
test/test_rake_extension.rb
|
130
|
+
test/test_rake_file_creation_task.rb
|
131
|
+
test/test_rake_file_list.rb
|
132
|
+
test/test_rake_file_list_path_map.rb
|
133
|
+
test/test_rake_file_task.rb
|
134
|
+
test/test_rake_file_utils.rb
|
135
|
+
test/test_rake_ftp_file.rb
|
136
|
+
test/test_rake_functional.rb
|
137
|
+
test/test_rake_invocation_chain.rb
|
138
|
+
test/test_rake_late_time.rb
|
139
|
+
test/test_rake_linked_list.rb
|
140
|
+
test/test_rake_makefile_loader.rb
|
141
|
+
test/test_rake_multi_task.rb
|
142
|
+
test/test_rake_name_space.rb
|
143
|
+
test/test_rake_package_task.rb
|
144
|
+
test/test_rake_path_map.rb
|
145
|
+
test/test_rake_path_map_explode.rb
|
146
|
+
test/test_rake_path_map_partial.rb
|
147
|
+
test/test_rake_pathname_extensions.rb
|
148
|
+
test/test_rake_pseudo_status.rb
|
149
|
+
test/test_rake_rake_test_loader.rb
|
150
|
+
test/test_rake_reduce_compat.rb
|
151
|
+
test/test_rake_require.rb
|
152
|
+
test/test_rake_rules.rb
|
153
|
+
test/test_rake_scope.rb
|
154
|
+
test/test_rake_task.rb
|
155
|
+
test/test_rake_task_argument_parsing.rb
|
156
|
+
test/test_rake_task_arguments.rb
|
157
|
+
test/test_rake_task_lib.rb
|
158
|
+
test/test_rake_task_manager.rb
|
159
|
+
test/test_rake_task_manager_argument_resolution.rb
|
160
|
+
test/test_rake_task_with_arguments.rb
|
161
|
+
test/test_rake_test_task.rb
|
162
|
+
test/test_rake_thread_pool.rb
|
163
|
+
test/test_rake_top_level_functions.rb
|
164
|
+
test/test_rake_win32.rb
|
165
|
+
test/test_thread_history_display.rb
|
166
|
+
test/test_trace_output.rb
|
@@ -0,0 +1,139 @@
|
|
1
|
+
= RAKE -- Ruby Make
|
2
|
+
|
3
|
+
home :: https://github.com/ruby/rake
|
4
|
+
bugs :: https://github.com/ruby/rake/issues
|
5
|
+
docs :: http://docs.seattlerb.org/rake/
|
6
|
+
build :: {<img src="https://travis-ci.org/ruby/rake.svg?branch=master" alt="travis-ci">}[https://travis-ci.org/ruby/rake]
|
7
|
+
|
8
|
+
== Description
|
9
|
+
|
10
|
+
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
|
11
|
+
specified in standard Ruby syntax.
|
12
|
+
|
13
|
+
Rake has the following features:
|
14
|
+
|
15
|
+
* Rakefiles (rake's version of Makefiles) are completely defined in
|
16
|
+
standard Ruby syntax. No XML files to edit. No quirky Makefile
|
17
|
+
syntax to worry about (is that a tab or a space?)
|
18
|
+
|
19
|
+
* Users can specify tasks with prerequisites.
|
20
|
+
|
21
|
+
* Rake supports rule patterns to synthesize implicit tasks.
|
22
|
+
|
23
|
+
* Flexible FileLists that act like arrays but know about manipulating
|
24
|
+
file names and paths.
|
25
|
+
|
26
|
+
* A library of prepackaged tasks to make building rakefiles easier. For example,
|
27
|
+
tasks for building tarballs and publishing to FTP or SSH sites. (Formerly
|
28
|
+
tasks for building RDoc and Gems were included in rake but they're now
|
29
|
+
available in RDoc and RubyGems respectively.)
|
30
|
+
|
31
|
+
* Supports parallel execution of tasks.
|
32
|
+
|
33
|
+
== Installation
|
34
|
+
|
35
|
+
=== Gem Installation
|
36
|
+
|
37
|
+
Download and install rake with the following.
|
38
|
+
|
39
|
+
gem install rake
|
40
|
+
|
41
|
+
== Usage
|
42
|
+
|
43
|
+
=== Simple Example
|
44
|
+
|
45
|
+
First, you must write a "Rakefile" file which contains the build rules. Here's
|
46
|
+
a simple example:
|
47
|
+
|
48
|
+
task default: %w[test]
|
49
|
+
|
50
|
+
task :test do
|
51
|
+
ruby "test/unittest.rb"
|
52
|
+
end
|
53
|
+
|
54
|
+
This Rakefile has two tasks:
|
55
|
+
|
56
|
+
* A task named "test", which -- upon invocation -- will run a unit test file
|
57
|
+
in Ruby.
|
58
|
+
* A task named "default". This task does nothing by itself, but it has exactly
|
59
|
+
one dependency, namely the "test" task. Invoking the "default" task will
|
60
|
+
cause Rake to invoke the "test" task as well.
|
61
|
+
|
62
|
+
Running the "rake" command without any options will cause it to run the
|
63
|
+
"default" task in the Rakefile:
|
64
|
+
|
65
|
+
% ls
|
66
|
+
Rakefile test/
|
67
|
+
% rake
|
68
|
+
(in /home/some_user/Projects/rake)
|
69
|
+
ruby test/unittest.rb
|
70
|
+
....unit test output here...
|
71
|
+
|
72
|
+
Type "rake --help" for all available options.
|
73
|
+
|
74
|
+
== Resources
|
75
|
+
|
76
|
+
=== Rake Information
|
77
|
+
|
78
|
+
* {Rake command-line}[rdoc-ref:doc/command_line_usage.rdoc]
|
79
|
+
* {Writing Rakefiles}[rdoc-ref:doc/rakefile.rdoc]
|
80
|
+
* The original {Rake announcement}[rdoc-ref:doc/rational.rdoc]
|
81
|
+
* Rake {glossary}[rdoc-ref:doc/glossary.rdoc]
|
82
|
+
|
83
|
+
=== Presentations and Articles about Rake
|
84
|
+
|
85
|
+
* Avdi Grimm's rake series:
|
86
|
+
1. {Rake Basics}[http://devblog.avdi.org/2014/04/21/rake-part-1-basics/]
|
87
|
+
2. {Rake File Lists}[http://devblog.avdi.org/2014/04/22/rake-part-2-file-lists/]
|
88
|
+
3. {Rake Rules}[http://devblog.avdi.org/2014/04/23/rake-part-3-rules/]
|
89
|
+
4. {Rake Pathmap}[http://devblog.avdi.org/2014/04/24/rake-part-4-pathmap/]
|
90
|
+
5. {File Operations}[http://devblog.avdi.org/2014/04/25/rake-part-5-file-operations/]
|
91
|
+
6. {Clean and Clobber}[http://devblog.avdi.org/2014/04/28/rake-part-6-clean-and-clobber/]
|
92
|
+
7. {MultiTask}[http://devblog.avdi.org/2014/04/29/rake-part-7-multitask/]
|
93
|
+
* {Jim Weirich's 2003 RubyConf presentation}[http://web.archive.org/web/20140221123354/http://onestepback.org/articles/buildingwithrake/]
|
94
|
+
* Martin Fowler's article on Rake: http://martinfowler.com/articles/rake.html
|
95
|
+
|
96
|
+
== Other Make Re-envisionings ...
|
97
|
+
|
98
|
+
Rake is a late entry in the make replacement field. Here are links to
|
99
|
+
other projects with similar (and not so similar) goals.
|
100
|
+
|
101
|
+
* http://directory.fsf.org/wiki/Bras -- Bras, one of earliest
|
102
|
+
implementations of "make in a scripting language".
|
103
|
+
* http://www.a-a-p.org -- Make in Python
|
104
|
+
* http://www.aromatic.com/tools/jam.txt -- JAM, Java Automated Make
|
105
|
+
* http://ant.apache.org -- The Ant project
|
106
|
+
* http://search.cpan.org/search?query=PerlBuildSystem -- The Perl Build System
|
107
|
+
* http://www.rubydoc.info/gems/rant/0.5.7/frames -- Rant, another Ruby make tool.
|
108
|
+
|
109
|
+
== Credits
|
110
|
+
|
111
|
+
[<b>Ryan Dlugosz</b>] For the initial conversation that sparked Rake.
|
112
|
+
|
113
|
+
[<b>Nobuyoshi Nakada <nobu@ruby-lang.org></b>] For the initial patch for rule support.
|
114
|
+
|
115
|
+
[<b>Tilman Sauerbeck <tilman@code-monkey.de></b>] For the recursive rule patch.
|
116
|
+
|
117
|
+
[<b>Eric Hodel</b>] For aid in maintaining rake.
|
118
|
+
|
119
|
+
== License
|
120
|
+
|
121
|
+
Rake is available under an MIT-style license.
|
122
|
+
|
123
|
+
:include: MIT-LICENSE
|
124
|
+
|
125
|
+
---
|
126
|
+
|
127
|
+
= Other stuff
|
128
|
+
|
129
|
+
Author:: Jim Weirich <jim.weirich@gmail.com>
|
130
|
+
Requires:: Ruby 1.8.7 or later
|
131
|
+
License:: Copyright Jim Weirich.
|
132
|
+
Released under an MIT-style license. See the MIT-LICENSE
|
133
|
+
file included in the distribution.
|
134
|
+
|
135
|
+
== Warranty
|
136
|
+
|
137
|
+
This software is provided "as is" and without any express or implied
|
138
|
+
warranties, including, without limitation, the implied warranties of
|
139
|
+
merchantability and fitness for a particular purpose.
|
@@ -0,0 +1,81 @@
|
|
1
|
+
# Rakefile for rake -*- ruby -*-
|
2
|
+
|
3
|
+
# Copyright 2003, 2004, 2005 by Jim Weirich (jim@weirichhouse.org)
|
4
|
+
# All rights reserved.
|
5
|
+
|
6
|
+
# This file may be distributed under an MIT style license. See
|
7
|
+
# MIT-LICENSE for details.
|
8
|
+
|
9
|
+
require 'rbconfig'
|
10
|
+
|
11
|
+
system_rake = File.join RbConfig::CONFIG['rubylibdir'], 'rake.rb'
|
12
|
+
|
13
|
+
# Use our rake, not the installed rake from system
|
14
|
+
if $".include? system_rake or $".grep(/rake\/name_space\.rb$/).empty? then
|
15
|
+
exec Gem.ruby, '-Ilib', 'bin/rake', *ARGV
|
16
|
+
end
|
17
|
+
|
18
|
+
require 'hoe'
|
19
|
+
|
20
|
+
Hoe.plugin :git
|
21
|
+
Hoe.plugin :minitest
|
22
|
+
Hoe.plugin :travis
|
23
|
+
|
24
|
+
hoe = Hoe.spec 'rake' do
|
25
|
+
developer 'Eric Hodel', 'drbrain@segment7.net'
|
26
|
+
developer 'Jim Weirich', ''
|
27
|
+
|
28
|
+
require_ruby_version '>= 1.8.7'
|
29
|
+
require_rubygems_version '>= 1.3.2'
|
30
|
+
|
31
|
+
dependency 'minitest', '~> 5.0', :developer
|
32
|
+
|
33
|
+
license "MIT"
|
34
|
+
|
35
|
+
self.readme_file = 'README.rdoc'
|
36
|
+
self.history_file = 'History.rdoc'
|
37
|
+
|
38
|
+
self.extra_rdoc_files.concat FileList[
|
39
|
+
'MIT-LICENSE',
|
40
|
+
'doc/**/*.rdoc',
|
41
|
+
'*.rdoc',
|
42
|
+
]
|
43
|
+
|
44
|
+
self.local_rdoc_dir = 'html'
|
45
|
+
self.rsync_args = '-avz --delete'
|
46
|
+
rdoc_locations << 'docs.seattlerb.org:/data/www/docs.seattlerb.org/rake/'
|
47
|
+
|
48
|
+
self.clean_globs += [
|
49
|
+
'**/*.o',
|
50
|
+
'**/*.rbc',
|
51
|
+
'*.dot',
|
52
|
+
'TAGS',
|
53
|
+
'doc/example/main',
|
54
|
+
]
|
55
|
+
end
|
56
|
+
|
57
|
+
hoe.test_prelude = 'gem "minitest", "~> 5.0"'
|
58
|
+
|
59
|
+
# Use custom rdoc task due to existence of doc directory
|
60
|
+
|
61
|
+
Rake::Task['docs'].clear
|
62
|
+
Rake::Task['clobber_docs'].clear
|
63
|
+
|
64
|
+
begin
|
65
|
+
require 'rdoc/task'
|
66
|
+
|
67
|
+
RDoc::Task.new :rdoc => 'docs', :clobber_rdoc => 'clobber_docs' do |doc|
|
68
|
+
doc.main = hoe.readme_file
|
69
|
+
doc.title = 'Rake -- Ruby Make'
|
70
|
+
|
71
|
+
rdoc_files = Rake::FileList.new %w[lib History.rdoc MIT-LICENSE doc]
|
72
|
+
rdoc_files.add hoe.extra_rdoc_files
|
73
|
+
|
74
|
+
doc.rdoc_files = rdoc_files
|
75
|
+
|
76
|
+
doc.rdoc_dir = 'html'
|
77
|
+
end
|
78
|
+
rescue LoadError
|
79
|
+
warn 'run `rake newb` to install rdoc'
|
80
|
+
end
|
81
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
#--
|
4
|
+
# Copyright (c) 2003, 2004, 2005, 2006, 2007 Jim Weirich
|
5
|
+
#
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to
|
8
|
+
# deal in the Software without restriction, including without limitation the
|
9
|
+
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
10
|
+
# sell copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in
|
14
|
+
# all copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
21
|
+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
22
|
+
# IN THE SOFTWARE.
|
23
|
+
#++
|
24
|
+
|
25
|
+
begin
|
26
|
+
require 'rubygems'
|
27
|
+
gem 'rake'
|
28
|
+
rescue LoadError
|
29
|
+
end
|
30
|
+
|
31
|
+
require 'rake'
|
32
|
+
|
33
|
+
Rake.application.run
|
@@ -0,0 +1,79 @@
|
|
1
|
+
#--
|
2
|
+
# Copyright 2003-2010 by Jim Weirich (jim.weirich@gmail.com)
|
3
|
+
#
|
4
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
+
# of this software and associated documentation files (the "Software"), to
|
6
|
+
# deal in the Software without restriction, including without limitation the
|
7
|
+
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
8
|
+
# sell copies of the Software, and to permit persons to whom the Software is
|
9
|
+
# furnished to do so, subject to the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be included in
|
12
|
+
# all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
17
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
19
|
+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
20
|
+
# IN THE SOFTWARE.
|
21
|
+
#++
|
22
|
+
|
23
|
+
module Rake
|
24
|
+
VERSION = '10.5.0'
|
25
|
+
end
|
26
|
+
|
27
|
+
require 'rake/version'
|
28
|
+
|
29
|
+
# :stopdoc:
|
30
|
+
# TODO: Remove in Rake 11
|
31
|
+
RAKEVERSION = Rake::VERSION
|
32
|
+
# :startdoc:
|
33
|
+
|
34
|
+
require 'rbconfig'
|
35
|
+
require 'fileutils'
|
36
|
+
require 'singleton'
|
37
|
+
require 'monitor'
|
38
|
+
require 'optparse'
|
39
|
+
require 'ostruct'
|
40
|
+
|
41
|
+
require 'rake/ext/module'
|
42
|
+
require 'rake/ext/string'
|
43
|
+
require 'rake/ext/time'
|
44
|
+
|
45
|
+
require 'rake/win32'
|
46
|
+
|
47
|
+
require 'rake/linked_list'
|
48
|
+
require 'rake/cpu_counter'
|
49
|
+
require 'rake/scope'
|
50
|
+
require 'rake/task_argument_error'
|
51
|
+
require 'rake/rule_recursion_overflow_error'
|
52
|
+
require 'rake/rake_module'
|
53
|
+
require 'rake/trace_output'
|
54
|
+
require 'rake/pseudo_status'
|
55
|
+
require 'rake/task_arguments'
|
56
|
+
require 'rake/invocation_chain'
|
57
|
+
require 'rake/task'
|
58
|
+
require 'rake/file_task'
|
59
|
+
require 'rake/file_creation_task'
|
60
|
+
require 'rake/multi_task'
|
61
|
+
require 'rake/dsl_definition'
|
62
|
+
require 'rake/file_utils_ext'
|
63
|
+
require 'rake/file_list'
|
64
|
+
require 'rake/default_loader'
|
65
|
+
require 'rake/early_time'
|
66
|
+
require 'rake/late_time'
|
67
|
+
require 'rake/name_space'
|
68
|
+
require 'rake/task_manager'
|
69
|
+
require 'rake/application'
|
70
|
+
require 'rake/backtrace'
|
71
|
+
|
72
|
+
$trace = false
|
73
|
+
|
74
|
+
# :stopdoc:
|
75
|
+
#
|
76
|
+
# Some top level Constants.
|
77
|
+
|
78
|
+
FileList = Rake::FileList
|
79
|
+
RakeFileUtils = Rake::FileUtilsExt
|