warbler 1.4.10 → 2.0.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +12 -29
  3. data/Gemfile +1 -12
  4. data/History.txt +5 -7
  5. data/Mavenfile +1 -2
  6. data/README.rdoc +51 -53
  7. data/Rakefile +7 -13
  8. data/ext/JarMain.java +12 -58
  9. data/ext/WarMain.java +13 -41
  10. data/ext/WarblerJar.java +8 -12
  11. data/lib/warbler.rb +0 -1
  12. data/lib/warbler/config.rb +11 -2
  13. data/lib/warbler/gems.rb +9 -9
  14. data/lib/warbler/jar.rb +2 -4
  15. data/lib/warbler/rake_helper.rb +0 -7
  16. data/lib/warbler/traits.rb +0 -1
  17. data/lib/warbler/traits/bundler.rb +12 -12
  18. data/lib/warbler/traits/gemspec.rb +12 -22
  19. data/lib/warbler/traits/rails.rb +5 -5
  20. data/lib/warbler/traits/war.rb +2 -7
  21. data/lib/warbler/version.rb +1 -1
  22. data/lib/warbler/web_server.rb +4 -16
  23. data/lib/warbler/zip_support.rb +3 -21
  24. data/lib/warbler_jar.jar +0 -0
  25. data/pom.xml +23 -6
  26. data/spec/drb_default_id_conv.rb +48 -50
  27. data/spec/sample_bundler/Gemfile +1 -1
  28. data/spec/sample_bundler/vendor/bundle/jruby/{1.8 → 2.2.0}/bin/rake +7 -3
  29. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/cache/rake-10.4.2.gem +0 -0
  30. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/.autotest +7 -0
  31. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/.gemtest +0 -0
  32. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/.rubocop.yml +27 -0
  33. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/.togglerc +7 -0
  34. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/CONTRIBUTING.rdoc +34 -0
  35. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/History.rdoc +651 -0
  36. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/MIT-LICENSE +21 -0
  37. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/Manifest.txt +166 -0
  38. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/README.rdoc +140 -0
  39. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/Rakefile +81 -0
  40. data/spec/sample_bundler/vendor/bundle/{ruby/1.8/gems/rake-0.8.7 → jruby/2.2.0/gems/rake-10.4.2}/bin/rake +5 -3
  41. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake.rb +79 -0
  42. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/alt_system.rb +110 -0
  43. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/application.rb +790 -0
  44. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/backtrace.rb +23 -0
  45. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/clean.rb +76 -0
  46. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/cloneable.rb +16 -0
  47. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/contrib/.document +1 -0
  48. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/contrib/compositepublisher.rb +21 -0
  49. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/contrib/ftptools.rb +137 -0
  50. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/contrib/publisher.rb +81 -0
  51. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/contrib/rubyforgepublisher.rb +18 -0
  52. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/contrib/sshpublisher.rb +61 -0
  53. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/contrib/sys.rb +4 -0
  54. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/cpu_counter.rb +125 -0
  55. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/default_loader.rb +14 -0
  56. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/dsl_definition.rb +201 -0
  57. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/early_time.rb +21 -0
  58. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/ext/core.rb +25 -0
  59. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/ext/module.rb +2 -0
  60. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/ext/pathname.rb +25 -0
  61. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/ext/string.rb +173 -0
  62. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/ext/time.rb +16 -0
  63. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/file_creation_task.rb +24 -0
  64. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/file_list.rb +428 -0
  65. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/file_task.rb +46 -0
  66. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/file_utils.rb +128 -0
  67. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/file_utils_ext.rb +144 -0
  68. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/gempackagetask.rb +4 -0
  69. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/invocation_chain.rb +56 -0
  70. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/invocation_exception_mixin.rb +16 -0
  71. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/late_time.rb +17 -0
  72. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/linked_list.rb +103 -0
  73. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/loaders/makefile.rb +40 -0
  74. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/multi_task.rb +13 -0
  75. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/name_space.rb +38 -0
  76. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/packagetask.rb +199 -0
  77. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/pathmap.rb +3 -0
  78. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/phony.rb +15 -0
  79. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/private_reader.rb +20 -0
  80. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/promise.rb +99 -0
  81. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/pseudo_status.rb +29 -0
  82. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/rake_module.rb +38 -0
  83. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/rake_test_loader.rb +22 -0
  84. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/rdoctask.rb +4 -0
  85. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/ruby182_test_unit_fix.rb +29 -0
  86. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
  87. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/runtest.rb +27 -0
  88. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/scope.rb +42 -0
  89. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/task.rb +383 -0
  90. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/task_argument_error.rb +7 -0
  91. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/task_arguments.rb +98 -0
  92. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/task_manager.rb +310 -0
  93. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/tasklib.rb +24 -0
  94. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/testtask.rb +212 -0
  95. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/thread_history_display.rb +48 -0
  96. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/thread_pool.rb +164 -0
  97. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/trace_output.rb +22 -0
  98. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/version.rb +7 -0
  99. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/lib/rake/win32.rb +56 -0
  100. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/rakelib/publish.rake +20 -0
  101. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/rakelib/test_times.rake +25 -0
  102. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/file_creation.rb +34 -0
  103. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/helper.rb +130 -0
  104. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/support/rakefile_definitions.rb +478 -0
  105. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/support/ruby_runner.rb +34 -0
  106. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_private_reader.rb +42 -0
  107. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake.rb +40 -0
  108. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_application.rb +643 -0
  109. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_application_options.rb +466 -0
  110. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_backtrace.rb +119 -0
  111. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_clean.rb +61 -0
  112. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_cpu_counter.rb +68 -0
  113. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_definitions.rb +84 -0
  114. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_directory_task.rb +76 -0
  115. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_dsl.rb +40 -0
  116. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_early_time.rb +31 -0
  117. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_extension.rb +59 -0
  118. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_file_creation_task.rb +56 -0
  119. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_file_list.rb +655 -0
  120. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_file_list_path_map.rb +8 -0
  121. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_file_task.rb +197 -0
  122. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_file_utils.rb +309 -0
  123. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_ftp_file.rb +74 -0
  124. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_functional.rb +482 -0
  125. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_invocation_chain.rb +64 -0
  126. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_late_time.rb +18 -0
  127. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_linked_list.rb +84 -0
  128. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_makefile_loader.rb +46 -0
  129. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_multi_task.rb +64 -0
  130. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_name_space.rb +57 -0
  131. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_package_task.rb +79 -0
  132. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_path_map.rb +168 -0
  133. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_path_map_explode.rb +34 -0
  134. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_path_map_partial.rb +18 -0
  135. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_pathname_extensions.rb +15 -0
  136. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_pseudo_status.rb +21 -0
  137. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_rake_test_loader.rb +20 -0
  138. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_reduce_compat.rb +26 -0
  139. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_require.rb +40 -0
  140. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_rules.rb +388 -0
  141. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_scope.rb +44 -0
  142. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_task.rb +393 -0
  143. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_task_argument_parsing.rb +119 -0
  144. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_task_arguments.rb +127 -0
  145. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_task_lib.rb +9 -0
  146. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_task_manager.rb +178 -0
  147. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_task_manager_argument_resolution.rb +19 -0
  148. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_task_with_arguments.rb +172 -0
  149. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_test_task.rb +146 -0
  150. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_thread_pool.rb +145 -0
  151. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_top_level_functions.rb +71 -0
  152. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_rake_win32.rb +72 -0
  153. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_thread_history_display.rb +101 -0
  154. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/gems/rake-10.4.2/test/test_trace_output.rb +52 -0
  155. data/spec/sample_bundler/vendor/bundle/jruby/2.2.0/specifications/rake-10.4.2.gemspec +43 -0
  156. data/spec/sample_jar/sample_jar.gemspec +1 -2
  157. data/spec/spec_helper.rb +2 -8
  158. data/spec/warbler/bundler_spec.rb +11 -22
  159. data/spec/warbler/config_spec.rb +0 -3
  160. data/spec/warbler/jar_spec.rb +3 -77
  161. data/spec/warbler/task_spec.rb +5 -6
  162. data/spec/warbler/web_server_spec.rb +2 -2
  163. data/warble.rb +4 -4
  164. data/warbler.gemspec +8 -8
  165. metadata +451 -64
  166. data/lib/warbler/bundler_helper.rb +0 -22
  167. data/lib/warbler/traits/merb.rb +0 -35
  168. data/spec/sample_bundler/vendor/bundle/jruby/1.8/cache/rake-0.8.7.gem +0 -0
  169. data/spec/sample_bundler/vendor/bundle/jruby/1.8/gems/rake-0.8.7/bin/rake +0 -31
  170. data/spec/sample_bundler/vendor/bundle/jruby/1.8/gems/rake-0.8.7/lib/rake.rb +0 -2506
  171. data/spec/sample_bundler/vendor/bundle/jruby/1.8/specifications/rake-0.8.7.gemspec +0 -31
  172. data/spec/sample_bundler/vendor/bundle/jruby/1.9/bin/rake +0 -19
  173. data/spec/sample_bundler/vendor/bundle/jruby/1.9/cache/rake-0.8.7.gem +0 -0
  174. data/spec/sample_bundler/vendor/bundle/jruby/1.9/gems/rake-0.8.7/bin/rake +0 -31
  175. data/spec/sample_bundler/vendor/bundle/jruby/1.9/gems/rake-0.8.7/lib/rake.rb +0 -2506
  176. data/spec/sample_bundler/vendor/bundle/jruby/1.9/specifications/rake-0.8.7.gemspec +0 -30
  177. data/spec/sample_bundler/vendor/bundle/ruby/1.8/bin/rake +0 -19
  178. data/spec/sample_bundler/vendor/bundle/ruby/1.8/cache/rake-0.8.7.gem +0 -0
  179. data/spec/sample_bundler/vendor/bundle/ruby/1.8/gems/rake-0.8.7/lib/rake.rb +0 -2506
  180. data/spec/sample_bundler/vendor/bundle/ruby/1.8/specifications/rake-0.8.7.gemspec +0 -30
  181. data/spec/sample_bundler/vendor/bundle/ruby/1.9.1/bin/rake +0 -19
  182. data/spec/sample_bundler/vendor/bundle/ruby/1.9.1/cache/rake-0.8.7.gem +0 -0
  183. data/spec/sample_bundler/vendor/bundle/ruby/1.9.1/gems/rake-0.8.7/bin/rake +0 -31
  184. data/spec/sample_bundler/vendor/bundle/ruby/1.9.1/gems/rake-0.8.7/lib/rake.rb +0 -2506
  185. data/spec/sample_bundler/vendor/bundle/ruby/1.9.1/specifications/rake-0.8.7.gemspec +0 -30
  186. data/spec/sample_jar/sbin/sample_jar +0 -5
@@ -1,15 +1,7 @@
1
- module Warbler
2
- class ZipSupportRubyZip0_9
3
- def self.create(filename, &blk)
4
- Zip::ZipFile.open(filename, Zip::ZipFile::CREATE, &blk)
5
- end
1
+ require 'zip'
6
2
 
7
- def self.open(filename, &blk)
8
- Zip::ZipFile.open(filename, &blk)
9
- end
10
- end
11
-
12
- class ZipSupportRubyZip1_0
3
+ module Warbler
4
+ class ZipSupport
13
5
  def self.create(filename, &blk)
14
6
  Zip::File.open(filename, Zip::File::CREATE, &blk)
15
7
  end
@@ -19,13 +11,3 @@ module Warbler
19
11
  end
20
12
  end
21
13
  end
22
-
23
- begin
24
- require 'zip/zip'
25
- Warbler::ZipSupport = Warbler::ZipSupportRubyZip0_9
26
- rescue LoadError => e
27
- raise e unless e.message =~ /zip/
28
-
29
- require 'zip'
30
- Warbler::ZipSupport = Warbler::ZipSupportRubyZip1_0
31
- end
data/lib/warbler_jar.jar CHANGED
Binary file
data/pom.xml CHANGED
@@ -4,7 +4,7 @@
4
4
  <modelVersion>4.0.0</modelVersion>
5
5
  <groupId>rubygems</groupId>
6
6
  <artifactId>warbler</artifactId>
7
- <version>1.4.10</version>
7
+ <version>2.0.0.dev-SNAPSHOT</version>
8
8
  <packaging>gem</packaging>
9
9
  <name>Warbler chirpily constructs .war files of your Rails applications.</name>
10
10
  <description>Warbler is a gem to make a Java jar or war file out of any Ruby,
@@ -13,7 +13,7 @@ bundle up all of your application files for deployment to a Java environment.</d
13
13
  <url>https://github.com/jruby/warbler</url>
14
14
  <properties>
15
15
  <tesla.dump.readOnly>true</tesla.dump.readOnly>
16
- <jruby.plugins.version>1.0.10</jruby.plugins.version>
16
+ <jruby.plugins.version>1.0.0</jruby.plugins.version>
17
17
  <tesla.dump.pom>pom.xml</tesla.dump.pom>
18
18
  <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
19
19
  </properties>
@@ -21,13 +21,13 @@ bundle up all of your application files for deployment to a Java environment.</d
21
21
  <dependency>
22
22
  <groupId>rubygems</groupId>
23
23
  <artifactId>rake</artifactId>
24
- <version>[0.9.6,)</version>
24
+ <version>[10.1.0,)</version>
25
25
  <type>gem</type>
26
26
  </dependency>
27
27
  <dependency>
28
28
  <groupId>rubygems</groupId>
29
29
  <artifactId>jruby-jars</artifactId>
30
- <version>[1.5.6,2.0)</version>
30
+ <version>[9.0.0.0.pre2-SNAPSHOT,)</version>
31
31
  <type>gem</type>
32
32
  </dependency>
33
33
  <dependency>
@@ -39,7 +39,7 @@ bundle up all of your application files for deployment to a Java environment.</d
39
39
  <dependency>
40
40
  <groupId>rubygems</groupId>
41
41
  <artifactId>rubyzip</artifactId>
42
- <version>[0.9,1.3)</version>
42
+ <version>[1.0,1.2)</version>
43
43
  <type>gem</type>
44
44
  </dependency>
45
45
  <dependency>
@@ -52,7 +52,7 @@ bundle up all of your application files for deployment to a Java environment.</d
52
52
  <dependency>
53
53
  <groupId>rubygems</groupId>
54
54
  <artifactId>ruby-maven</artifactId>
55
- <version>[3.1.1,3.1.99999]</version>
55
+ <version>[3.1.1.0,3.1.1.99999]</version>
56
56
  <type>gem</type>
57
57
  <scope>test</scope>
58
58
  </dependency>
@@ -63,6 +63,13 @@ bundle up all of your application files for deployment to a Java environment.</d
63
63
  <type>gem</type>
64
64
  <scope>test</scope>
65
65
  </dependency>
66
+ <dependency>
67
+ <groupId>rubygems</groupId>
68
+ <artifactId>rdoc</artifactId>
69
+ <version>[2.4.2,)</version>
70
+ <type>gem</type>
71
+ <scope>test</scope>
72
+ </dependency>
66
73
  <dependency>
67
74
  <groupId>org.jruby</groupId>
68
75
  <artifactId>jruby</artifactId>
@@ -81,6 +88,16 @@ bundle up all of your application files for deployment to a Java environment.</d
81
88
  <id>rubygems-releases</id>
82
89
  <url>http://rubygems-proxy.torquebox.org/releases</url>
83
90
  </repository>
91
+ <repository>
92
+ <releases>
93
+ <enabled>false</enabled>
94
+ </releases>
95
+ <snapshots>
96
+ <enabled>true</enabled>
97
+ </snapshots>
98
+ <id>rubygems-prereleases</id>
99
+ <url>http://rubygems-proxy.torquebox.org/prereleases</url>
100
+ </repository>
84
101
  </repositories>
85
102
  <build>
86
103
  <sourceDirectory>ext</sourceDirectory>
@@ -2,62 +2,60 @@ require 'drb'
2
2
 
3
3
  if defined?(JRUBY_VERSION)
4
4
  require 'jruby'
5
- if JRuby.runtime.is1_9 # only changing for jruby --1.9 !
6
-
7
- require 'weakref'
8
- class DRb::WeakRefDRbIdConv
9
-
10
- def initialize
11
- @id2ref = {}
12
- end
13
5
 
14
- # Convert an object reference id to an object.
15
- #
16
- # This implementation looks up the reference id in the local object
17
- # space and returns the object it refers to.
18
- def to_obj(ref)
19
- _get(ref) || super
20
- end
6
+ require 'weakref'
7
+ class DRb::WeakRefDRbIdConv
21
8
 
22
- # Convert an object into a reference id.
23
- #
24
- # This implementation returns the object's __id__ in the local
25
- # object space.
26
- def to_id(obj)
27
- (obj.nil? ? nil : _put(obj)) || super
28
- end
9
+ def initialize
10
+ @id2ref = {}
11
+ end
29
12
 
30
- def _clean
31
- dead = []
32
- @id2ref.each {|id,weakref| dead << id unless weakref.weakref_alive?}
33
- dead.each {|id| @id2ref.delete(id)}
34
- end
13
+ # Convert an object reference id to an object.
14
+ #
15
+ # This implementation looks up the reference id in the local object
16
+ # space and returns the object it refers to.
17
+ def to_obj(ref)
18
+ _get(ref) || super
19
+ end
35
20
 
36
- def _put(obj)
37
- _clean
38
- @id2ref[obj.__id__] = WeakRef.new(obj)
39
- obj.__id__
40
- end
21
+ # Convert an object into a reference id.
22
+ #
23
+ # This implementation returns the object's __id__ in the local
24
+ # object space.
25
+ def to_id(obj)
26
+ (obj.nil? ? nil : _put(obj)) || super
27
+ end
41
28
 
42
- def _get(id)
43
- weakref = @id2ref[id]
44
- if weakref
45
- result = weakref.__getobj__ rescue nil
46
- if result
47
- return result
48
- else
49
- @id2ref.delete id
50
- end
29
+ def _clean
30
+ dead = []
31
+ @id2ref.each {|id,weakref| dead << id unless weakref.weakref_alive?}
32
+ dead.each {|id| @id2ref.delete(id)}
33
+ end
34
+
35
+ def _put(obj)
36
+ _clean
37
+ @id2ref[obj.__id__] = WeakRef.new(obj)
38
+ obj.__id__
39
+ end
40
+
41
+ def _get(id)
42
+ weakref = @id2ref[id]
43
+ if weakref
44
+ result = weakref.__getobj__ rescue nil
45
+ if result
46
+ return result
47
+ else
48
+ @id2ref.delete id
51
49
  end
52
- nil
53
50
  end
54
- private :_clean, :_put, :_get
55
-
51
+ nil
56
52
  end
57
-
58
- # NOTE: the same default object id converter #DRb::DRbIdConv as in 1.8 mode
59
- # (not relying on ObjectSpace which is what #DRb::DRbIdConv does in 1.9) :
60
- DRb::DRbServer.default_id_conv(DRb::WeakRefDRbIdConv.new)
61
-
53
+ private :_clean, :_put, :_get
54
+
62
55
  end
63
- end
56
+
57
+ # NOTE: the same default object id converter #DRb::DRbIdConv as in 1.8 mode
58
+ # (not relying on ObjectSpace which is what #DRb::DRbIdConv does in 1.9) :
59
+ DRb::DRbServer.default_id_conv(DRb::WeakRefDRbIdConv.new)
60
+
61
+ end
@@ -1,3 +1,3 @@
1
- source :rubygems
1
+ source "https://rubygems.org"
2
2
 
3
3
  gem 'rake'
@@ -10,9 +10,13 @@ require 'rubygems'
10
10
 
11
11
  version = ">= 0"
12
12
 
13
- if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
14
- version = $1
15
- ARGV.shift
13
+ if ARGV.first
14
+ str = ARGV.first
15
+ str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
16
+ if str =~ /\A_(.*)_\z/ and Gem::Version.correct?($1) then
17
+ version = $1
18
+ ARGV.shift
19
+ end
16
20
  end
17
21
 
18
22
  gem 'rake', version
@@ -0,0 +1,7 @@
1
+ require 'autotest/restart'
2
+
3
+ Autotest.add_hook :initialize do |at|
4
+ at.testlib = ''
5
+ at.add_exception '.git'
6
+ end
7
+
@@ -0,0 +1,27 @@
1
+ StringLiterals:
2
+ Enabled: false
3
+
4
+ MultilineBlocks:
5
+ Enabled: false
6
+
7
+ SingleLineBlocks:
8
+ Enabled: false
9
+
10
+ NewLambdaLiteral:
11
+ Enabled: false
12
+
13
+ SpaceAroundEqualsInParameterDefault:
14
+ Enabled: false
15
+
16
+ HashSyntax:
17
+ Enabled: false
18
+
19
+ LineLength:
20
+ Enabled: true
21
+ Max: 90
22
+
23
+ WhileUntilModifier:
24
+ Enabled: false
25
+
26
+ IfUnlessModifier:
27
+ Enabled: false
@@ -0,0 +1,7 @@
1
+ (add-to-list
2
+ 'toggle-mapping-styles
3
+ '(rake . (
4
+ ("test/test_rake_\\1.rb" . "lib/rake/\\1.rb")
5
+ ) ))
6
+
7
+ (buffer-toggle-style 'rake)
@@ -0,0 +1,34 @@
1
+ = Source Repository
2
+
3
+ Rake is currently hosted at github. The github web page is
4
+ http://github.com/ruby/rake . The public git clone URL is
5
+
6
+ git://github.com/ruby/rake.git
7
+
8
+ = Running the Rake Test Suite
9
+
10
+ If you wish to run the unit and functional tests that come with Rake:
11
+
12
+ * CD into the top project directory of rake.
13
+ * Type one of the following:
14
+
15
+ rake newb # If you have never run rake's tests
16
+ rake # If you have run rake's tests
17
+
18
+ = Issues and Bug Reports
19
+
20
+ Feel free to submit commits or feature requests. If you send a patch,
21
+ remember to update the corresponding unit tests. In fact, I prefer
22
+ new feature to be submitted in the form of new unit tests.
23
+
24
+ For other information, feel free to ask on the ruby-talk mailing list.
25
+
26
+ If you have found a bug in rake please try with the latest version of rake
27
+ before filing an issue. Also check History.rdoc for bug fixes that may have
28
+ addressed your issue.
29
+
30
+ When submitting pull requests please check the rake Travis-CI page for test
31
+ failures:
32
+
33
+ https://travis-ci.org/ruby/rake
34
+
@@ -0,0 +1,651 @@
1
+ === 10.4.2 / 2014-12-02
2
+
3
+ Bug fixes:
4
+
5
+ * Rake no longer edits ARGV. This allows you to re-exec rake from a rake
6
+ task. Pull requset #9 by Matt Palmer.
7
+ * Documented how Rake::DSL#desc handles sentences in task descriptions.
8
+ Issue #7 by Raza Sayed.
9
+ * Fixed test error on 1.9.3 with legacy RubyGems. Issue #8 by Matt Palmer.
10
+ * Deleted duplicated History entry. Pull request #10 by Yuji Yamamoto.
11
+
12
+ === 10.4.1 / 2014-12-01
13
+
14
+ Bug fixes:
15
+
16
+ * Reverted fix for #277 as it caused numerous issues for rake users.
17
+ rails/spring issue #366 by Gustavo Dutra.
18
+
19
+ === 10.4.0 / 2014-11-22
20
+
21
+ Enhancements:
22
+
23
+ * Upgraded to minitest 5. Pull request #292 by Teo Ljungberg.
24
+ * Added support for Pathname in rake tasks. Pull request #271 by Randy
25
+ Coulman.
26
+ * Rake now ignores falsy dependencies which allows for easier programmatic
27
+ creation of tasks. Pull request #273 by Manav.
28
+ * Rake no longer edits ARGV. This allows you to re-exec rake from a rake
29
+ task. Issue #277 by Matt Palmer.
30
+ * Etc.nprocessors is used for counting the number of CPUs.
31
+
32
+ Bug fixes:
33
+
34
+ * Updated rake manpage. Issue #283 by Nathan Long, pull request #291 by
35
+ skittleys.
36
+ * Add Rake::LATE to allow rebuilding of files that depend on deleted files.
37
+ Bug #286, pull request #287 by David Grayson.
38
+ * Fix relinking of files when repackaging. Bug #276 by Muenze.
39
+ * Fixed some typos. Pull request #280 by Jed Northridge.
40
+ * Try counting CPUs via cpuinfo if host_os was not matched. Pull request
41
+ #282 by Edouard B.
42
+
43
+ === 10.3.2 / 2014-05-15
44
+
45
+ Bug fixes:
46
+
47
+ * Rake no longer infinitely loops when showing exception causes that refer to
48
+ each other. Bug #272 by Chris Bandy.
49
+ * Fixed documentation typos. Bug #275 by Jake Worth.
50
+
51
+ === 10.3.1 / 2014-04-17
52
+
53
+ Bug fixes:
54
+
55
+ * Really stop reporting an error when cleaning already-deleted files. Pull
56
+ request #269 by Randy Coulman
57
+ * Fixed infinite loop when cleaning already-deleted files on windows.
58
+
59
+ === 10.3 / 2014-04-15
60
+
61
+ Enhancements:
62
+
63
+ * Added --build-all option to rake which treats all file prerequisites as
64
+ out-of-date. Pull request #254 by Andrew Gilbert.
65
+ * Added Rake::NameSpace#scope. Issue #263 by Jon San Miguel.
66
+
67
+ Bug fixes:
68
+
69
+ * Suppress org.jruby package files in rake error messages for JRuby users.
70
+ Issue #213 by Charles Nutter.
71
+ * Fixed typo, removed extra "h". Pull request #267 by Hsing-Hui Hsu.
72
+ * Rake no longer reports an error when cleaning already-deleted files. Pull
73
+ request #266 by Randy Coulman.
74
+ * Consume stderr while determining CPU count to avoid hang. Issue #268 by
75
+ Albert Sun.
76
+
77
+ === 10.2.2 / 2014-03-27
78
+
79
+ Bug fixes:
80
+
81
+ * Restored Ruby 1.8.7 compatibility
82
+
83
+ === 10.2.1 / 2014-03-25
84
+
85
+ Bug fixes:
86
+
87
+ * File tasks including a ':' are now top-level tasks again. Issue #262 by
88
+ Josh Holtrop.
89
+ * Use sysctl for CPU count for all BSDs. Pull request #261 by Joshua Stein.
90
+ * Fixed CPU detection for unknown platforms.
91
+
92
+ === 10.2.0 / 2014-03-24
93
+
94
+ Enhancements:
95
+
96
+ * Rake now requires Ruby 1.9 or newer. For me, this is a breaking change, but
97
+ it seems that Jim planned to release it with Rake 10.2. See also pull
98
+ request #247 by Philip Arndt.
99
+ * Rake now allows you to declare tasks under a namespace like:
100
+
101
+ task 'a:b' do ... end
102
+
103
+ Pull request #232 by Judson Lester.
104
+ * Task#source defaults to the first prerequisite in non-rule tasks. Pull
105
+ request #215 by Avdi Grimm.
106
+ * Rake now automatically rebuilds and reloads imported files. Pull request
107
+ #209 by Randy Coulman.
108
+ * The rake task arguments can contain escaped commas. Pull request #214 by
109
+ Filip Hrbek.
110
+ * Rake now prints the exception class on errors. Patch #251 by David Cornu.
111
+
112
+ Bug fixes:
113
+
114
+ * Fixed typos. Pull request #256 by Valera Rozuvan, #250 via Jake Worth, #260
115
+ by Zachary Scott.
116
+ * Fixed documentation for calling tasks with arguments. Pull request #235 by
117
+ John Varghese.
118
+ * Clarified `rake -f` usage message. Pull request #252 by Marco Pfatschbacher.
119
+ * Fixed a test failure on windows. Pull request #231 by Hiroshi Shirosaki.
120
+ * Fixed corrupted rake.1.gz. Pull request #225 by Michel Boaventura.
121
+ * Fixed bug in can_detect_signals? in test. Patch from #243 by Alexey
122
+ Borzenkov.
123
+
124
+ === 10.1.1 and earlier
125
+
126
+ Additions to the old CHANGES file were not made consistently so some
127
+ versions are missing from this file. These changes are usually described in
128
+ the individual release notes files.
129
+
130
+ === 0.9.3
131
+
132
+ * The rake test loader now removes arguments it has processed. Issue #51
133
+ * Rake::TaskArguments now responds to #values_at
134
+ * RakeFileUtils.verbose_flag = nil silences output the same as 0.8.7
135
+ * Rake tests are now directory-independent
136
+ * Rake tests are no longer require flexmock
137
+ * Commands constant is no longer polluting top level namespace.
138
+ * Show only the interesting portion of the backtrace by default (James M. Lawrence).
139
+ * Added --reduce-compat optiont to remove backward compatible DSL hacks (James M. Lawrence).
140
+ * lib/rake/file_list.rb (Rake::FileList#egrep): there is no need to
141
+ open files in binary mode. (NAKAMURA Usaku)
142
+
143
+ === 0.9.2
144
+
145
+ * Unknown
146
+
147
+ === 0.9.1
148
+
149
+ * Added deprecation warnings to the Rake DSL methods.
150
+
151
+ === 0.9.0
152
+
153
+ * *Incompatible* *change*: Rake DSL commands ('task', 'file', etc.) are
154
+ no longer private methods in Object. If you need to call 'task :xzy' inside
155
+ your class, include Rake::DSL into the class. The DSL is still available at
156
+ the top level scope (via the top level object which extends Rake::DSL).
157
+
158
+ * Rake now warns when the deprecated :needs syntax used.
159
+
160
+ * Rake history is now UTF-8 encoded.
161
+
162
+ * Rake now uses case-insensitive comparisons to find the Rakefile on Windows.
163
+ Based on patch by Roger Pack.
164
+
165
+ * Rake now requires (instead of loads) files in the test task. Patch by Cezary
166
+ Baginski.
167
+
168
+ * Fixed typos. Patches by Sean Scot August Moon and R.T. Lechow.
169
+
170
+ * Rake now prints the Rakefile directory only when it's different from the
171
+ current directory. Patch by Alex Chaffee.
172
+
173
+ * Improved rakefile_location discovery on Windows. Patch by James Tucker.
174
+
175
+ * Rake now recognizes "Windows Server" as a windows system. Patch by Matthias
176
+ Lüdtke
177
+
178
+ * Rake::RDocTask is deprecated. Use RDoc::Task from RDoc 2.4.2+ (require
179
+ 'rdoc/task')
180
+
181
+ * Rake::GemPackageTask is deprecated. Use Gem::PackageTask (require
182
+ 'rubygems/package_task')
183
+
184
+ * Rake now outputs various messages to $stderr instead of $stdout.
185
+
186
+ * Rake no longer emits warnings for Config. Patch by Santiago Pastorino.
187
+
188
+ * Split rake.rb into individual files.
189
+
190
+ * Support for the --where (-W) flag for showing where a task is defined.
191
+
192
+ * Fixed quoting in test task.
193
+ (http://onestepback.org/redmine/issues/show/44,
194
+ http://www.pivotaltracker.com/story/show/1223138)
195
+
196
+ * Fixed the silent option parsing problem.
197
+ (http://onestepback.org/redmine/issues/show/47)
198
+
199
+ * Fixed :verbose=>false flag on sh and ruby commands.
200
+
201
+ * Rake command line options may be given by default in a RAKEOPT
202
+ environment variable.
203
+
204
+ * Errors in Rake will now display the task invocation chain in effect
205
+ at the time of the error.
206
+
207
+ * Accepted change by warnickr to not expand test patterns in shell
208
+ (allowing more files in the test suite).
209
+
210
+ * Fixed that file tasks did not perform prereq lookups in scope
211
+ (Redmine #57).
212
+
213
+ === 0.8.7
214
+
215
+ * Fixed EXEEXT for JRuby on windows.
216
+
217
+ === 0.8.6
218
+
219
+ * Minor fixes to the RDoc generation (removed dependency on darkfish
220
+ and removed inline source option).
221
+
222
+ * Now allow # comments to comment a task definition.
223
+
224
+ === 0.8.5
225
+
226
+ * Better support for the system command on Windows.
227
+
228
+ === 0.8.4
229
+
230
+ * Preserve case when locating rakefiles (patch from James
231
+ M. Lawrence/quix)
232
+
233
+ * Better support for windows paths in the test task (patch from Simon
234
+ Chiang/bahuvrihi)
235
+
236
+ * Windows system dir search order is now: HOME, HOMEDRIVE + HOMEPATH,
237
+ APPDATA, USERPROFILE (patch from Luis Lavena)
238
+
239
+ * MingGW is now recognized as a windows platform. (patch from Luis
240
+ Lavena)
241
+
242
+ * Numerous fixes to the windows test suite (patch from Luis Lavena).
243
+
244
+ * Improved Rakefile case insensitivity testing (patch from Luis
245
+ Lavena).
246
+
247
+ * Fixed stray ARGV option problem that was interfering with
248
+ Test::Unit::Runner.
249
+
250
+ * Fixed default verbose mode (was accidently changed to false).
251
+
252
+ * Removed reference to manage_gem to fix the warning produced by the
253
+ gem package task.
254
+
255
+ === 0.8.3
256
+
257
+ * Enhanced the system directory detection in windows. We now check
258
+ HOMEDRIVE/HOMEPATH and USERPROFILE if APPDATA isn't found. (Patch
259
+ supplied by James Tucker). Rake no long aborts if it can't find the
260
+ directory.
261
+
262
+ * Added fix to handle ruby installations in directories with spaces in
263
+ their name.
264
+
265
+ === 0.8.2
266
+
267
+ * Fixed bug in package task so that it will include the subdir
268
+ directory in the package for testing. (Bug found by Adam Majer)
269
+
270
+ * Added ENV var to rakefile to prevent OS X from including extended
271
+ attribute junk in a tar file. (Bug found by Adam Majer)
272
+
273
+ * Fixed filename dependency order bug in test_inspect_pending and
274
+ test_to_s_pending. (Bug found by Adam Majer)
275
+
276
+ * Fixed check for file utils options to make them immune to the
277
+ symbol/string differences. (Patch supplied by Edwin Pratomo)
278
+
279
+ * Fixed bug with rules involving multiple source (Patch supplied by
280
+ Emanuel Indermühle)
281
+
282
+ * Switched from getoptlong to optparse (patches supplied by Edwin
283
+ Pratomo)
284
+
285
+ * The -T option will now attempt to dynamically sense the size of the
286
+ terminal. RAKE_COLUMNS will override any dynamic sensing.
287
+
288
+ * FileList#clone and FileList#dup have better sematics w.r.t. taint
289
+ and freeze.
290
+
291
+ * Added ability clear prerequisites, and/or actions from an existing
292
+ task.
293
+
294
+ * Added the ability to reenable a task to be invoked a second time.
295
+
296
+ * Changed RDoc test task to have no default template. This makes it
297
+ easier for the tempate to pick up the template from the environment.
298
+
299
+ * Changed from using Mutex to Monitor. Evidently Mutex causes thread
300
+ join errors when Ruby is compiled with -disable-pthreads. (Patch
301
+ supplied by Ittay Dror)
302
+
303
+ * Fixed bug in makefile parser that had problems with extra spaces in
304
+ file task names. (Patch supplied by Ittay Dror)
305
+
306
+ * Added a performance patch for reading large makefile dependency
307
+ files. (Patch supplied by Ittay Dror)
308
+
309
+ * Default values for task arguments can easily be specified with the
310
+ :with_defaults method. (Idea for default argument merging supplied
311
+ by (Adam Q. Salter)
312
+
313
+ * The -T output will only self-truncate if the output is a tty.
314
+ However, if RAKE_COLUMNS is explicitly set, it will be honored in
315
+ any case. (Patch provided by Gavin Stark).
316
+
317
+ * Numerous fixes for running under windows. A big thanks to Bheeshmar
318
+ Redheendran for spending a good part of the afternoon at the
319
+ Lonestar Ruby Conference to help me work out these issues.
320
+
321
+ === 0.8.1
322
+
323
+ * Removed requires on parsedate.rb (in Ftptools)
324
+ * Removed ftools from rake.rb. Made it options in sys.rb
325
+
326
+ === 0.8.0
327
+
328
+ * Added task parameters (e.g. "rake build[version7]")
329
+ * Made task parameters passable to prerequisites.
330
+ * Comments are limited to 80 columns or so (suggested by Jamis Buck).
331
+ * Added -D to display full comments (suggested by Jamis Buck).
332
+ * The rake program will set the status value used in any explicit
333
+ exit(n) calls. (patch provided by Stephen Touset)
334
+ * Fixed error in functional tests that were not including session (and
335
+ silently skipping the functionl tests.
336
+ * Removed --usage and make -h the same as -H.
337
+ * Make a prettier inspect for tasks.
338
+
339
+ === 0.7.3
340
+
341
+ * Added existing and existing! methods to FileList
342
+ * FileLists now claim to be Arrays (via is_a?) to get better support
343
+ from the FileUtil module.
344
+ * Added init and top_level for custom rake applications.
345
+
346
+ === 0.7.2
347
+
348
+ * Error messages are now send to stderr rather than stdout (from
349
+ Payton Quackenbush).
350
+ * Better error handling on invalid command line arguments (from Payton
351
+ Quackenbush).
352
+ * Added rcov task and updated unit testing for better code coverage.
353
+ * Fixed some bugs where the application object was going to the global
354
+ appliation instead of using its own data.
355
+ * Added square and curly bracket patterns to FileList#include (Tilman
356
+ Sauerbeck).
357
+ * Added plain filename support to rule dependents (suggested by Nobu
358
+ Nakada).
359
+ * Added pathmap support to rule dependents.
360
+ * Added a 'tasks' method to a namespace to get a list of tasks
361
+ associated with the namespace.
362
+ * Fixed the method name leak from FileUtils (bug found by Glenn
363
+ Vanderburg).
364
+ * Added rake_extension to handle detection of extension collisions.
365
+ * Added test for noop, bad_option and verbose flags to sh command.
366
+ * Removed dependency on internal fu_xxx functions from FileUtils.
367
+ * Added a 'shame' task to the Rakefile.
368
+ * Added tar_command and zip_command options to the Package task.
369
+ * Added a description to the gem task in GemPackageTask.
370
+ * Fixed a bug when rules have multiple prerequisites (patch by Joel
371
+ VanderWerf)
372
+ * Added a protected 'require "rubygems"' to test/test_application to
373
+ unbreak cruisecontrol.rb.
374
+ * Added the handful of RakeFileUtils to the private method as well.
375
+ * Added block based exclusion.
376
+ * The clean task will no longer delete 'core' if it is a directory.
377
+ * Removed rake_dup. Now we just simply rescue a bad dup.
378
+ * Refactored the FileList reject logic to remove duplication.
379
+ * Removed if __FILE__ at the end of the rake.rb file.
380
+
381
+ === 0.7.1
382
+
383
+ * Added optional filter parameter to the --tasks command line option.
384
+ * Added flatten to allow rule transform procs to return lists of
385
+ prereqs (Joel VanderWerf provided patch).
386
+ * Added pathmap to String and FileList.
387
+ * The -r option will now load .rake files (but a straight require
388
+ doesn't yet). NOTE: This is experimental ... it may be
389
+ discontinued.
390
+ * The -f option without a value will disable the search for a
391
+ Rakefile. The assumption is that the -r files are adequate.
392
+ * Fixed the safe_ln function to fall back to cp in more error
393
+ scenarios.
394
+
395
+ === 0.7.0
396
+
397
+ * Added Rake.original_dir to return the original starting directory of
398
+ the rake application.
399
+ * Added safe_ln support for openAFS (from Ludvig Omholt).
400
+ * Added --trace reminder on short exception messages (David Heinemeier
401
+ Hansson suggestion).
402
+ * Added multitask declaration that executes prerequisites in
403
+ parallel. (Doug Young providied an initial implementation).
404
+ * Fixed missing_const hack to be compatible with Rails. (Jamis Buck
405
+ supplied test case).
406
+ * Made the RDoc task default to internal (in-process) RDoc formatting.
407
+ The old behavior is still available by setting the +external+ flag
408
+ to true.
409
+ * Rakefiles are now loaded with the expanded path to prevent
410
+ accidental polution from the Ruby load path.
411
+ * The +namespace+ command now returns a NameSpace object that can be
412
+ used to lookup tasks defined in that namespace. This allows for
413
+ better anonymous namespace behavior.
414
+ * Task objects my now be used in prerequisite lists directly.
415
+
416
+ === 0.6.1
417
+
418
+ * Rebuilt 0.6.0 gem without signing.
419
+
420
+ === 0.6.0
421
+
422
+ * Fixed file creation bug in the unit tests (caused infinite loop on
423
+ windows).
424
+ * Fixed bug where session based functional tests were run under
425
+ windows.
426
+ * Fixed bug in directory tasks so that updating a directory will not
427
+ retrigger file tasks depending on the directory (see
428
+ FileCreationTask and EarlyTime).
429
+ * Added egrep to FileList
430
+ * ruby command now runs same ruby version as rake.
431
+ * Added investigation to task object. (suggested by Martin Fowler)
432
+ * Added ruby_opts to the test task to allow arbitrary ruby options to
433
+ be passed to the test script. (Greg Fast)
434
+ * Fixed the test loader to ignore options. (Greg Fast)
435
+ * Moved Task, FileTask, FileCreationTask and RakeApp into the Rake
436
+ module namespace. Old style namespace behavior can be invoked via
437
+ the --classic-namespace option. (requested by Kelly Felkins).
438
+ * GemTask is now sensitive to the gem platform (Masao Mutoh).
439
+ * A non-existing file prerequisite will no longer cause an exception
440
+ (Philipp Neubeck).
441
+ * Multiple prerequisites on Rake rules now allowed (initial patch
442
+ supplied by Stuart Jansen).
443
+
444
+ === 0.5.4
445
+
446
+ * Added double quotes to the test runner.
447
+ * Added .svn to default ignore list.
448
+ * Updated FileList#include to support nested arrays and filelists.
449
+
450
+ === 0.5.3
451
+
452
+ * Added support for importing Rakefile and other dependencies.
453
+ * Fixed bug so that now rules can chain off of existing tasks as well
454
+ as existing files.
455
+ * Fixed verbose flag bug in the testing task. Shortened some failure
456
+ messages.
457
+ * Make FileUtils methods private at the top level module to avoid
458
+ accidental method leaking into other objects.
459
+ * Added test loader option to test task. "testrb" is no longer the
460
+ default test loader. It is now eating syntax errors that should
461
+ halt the unit tests.
462
+ * Revamped FileList so that it works more like and array (addressed
463
+ flatten bug). Added many tests around file list.
464
+ * Added +ext+ method to both String and FileList.
465
+
466
+ === 0.5.0
467
+
468
+ * Fixed documentation that was lacking the Rake module name (Tilman
469
+ Sauerbeck).
470
+ * Added tar.gz and tar.bz2 support to package task (Tilman Sauerbeck).
471
+ * Recursive rules are now supported (Tilman Sauerbeck).
472
+ * Added warning option for the Test Task (requested by Eric Hodel).
473
+ * The jamis rdoc template is only used if it exists.
474
+ * Added fix for Ruby 1.8.2 test/unit and rails problem.
475
+ * Added contributed rake man file (Jani Monoses).
476
+ * Added Brian Candler's fix for problems in --trace and --dry-run
477
+ mode.
478
+
479
+ === 0.4.15
480
+
481
+ * Fixed a bug that prevented the TESTOPTS flag from working with the
482
+ revised for 1.8.2 test task.
483
+ * Updated the docs on --trace to indicate that it also enables a full
484
+ backtrace on errors.
485
+
486
+ === 0.4.14
487
+
488
+ * Modified the TestTask to workaround the Ruby 1.8.2 change in
489
+ autoexecuting unit tests.
490
+
491
+ === 0.4.13
492
+
493
+ * Fixed the dry-run flag so it is operating again.
494
+ * Multiple arguments to sh and ruby commands will not be interpreted
495
+ by the shell (patch provided by Jonathan Paisley).
496
+
497
+ === 0.4.12
498
+
499
+ * Added --silent (-s) to suppress the (in directory) rake message.
500
+
501
+ === 0.4.11
502
+
503
+ * Changed the "don't know how to rake" message (finally)
504
+ * Changes references to a literal "Rakefile" to reference the global
505
+ variable $rakefile (which contains the actual name of the rakefile).
506
+
507
+ === 0.4.10
508
+
509
+ * Added block support to the "sh" command, allowing users to take
510
+ special actions on the result of the system call. E.g.
511
+
512
+ sh "shell_command" do |ok, res|
513
+ puts "Program returned #{res.exitstatus}" if ! ok
514
+ end
515
+
516
+ === 0.4.9
517
+
518
+ * Switched to Jamis Buck's RDoc template.
519
+ * Removed autorequire from Rake's gem spec. This prevents the Rake
520
+ libraries from loading while using rails.
521
+
522
+ === 0.4.8
523
+
524
+ * Added support for .rb versions of Rakefile.
525
+ * Removed \\\n's from test task.
526
+ * Fixed Ruby 1.9 compatibility issue with FileList.
527
+
528
+ === 0.4.7
529
+
530
+ * Fixed problem in FileList that caused Ruby 1.9 to go into infinite
531
+ recursion. Since to_a was removed from Object, it does not need to
532
+ added back into the list of methods to rewrite in FileList. (Thanks
533
+ to Kent Sibilev for pointing this out).
534
+
535
+ === 0.4.6
536
+ * Removed test version of ln in FileUtils that prevented safe_ln from
537
+ using ln.
538
+
539
+ === 0.4.5
540
+ * Upgraded comments in TestTask.
541
+ * FileList to_s and inspect now automatically resolve pending changes.
542
+ * FileList#exclude properly returns the FileList.
543
+
544
+ === 0.4.4
545
+ * Fixed initialization problem with @comment.
546
+ * Now using multi -r technique in TestTask. Switch Rakefile back to
547
+ using the built-in test task macros because the rake runtime is no
548
+ longer needed.
549
+ * Added 'TEST=filename' and 'TESTOPTS=options' to the Test Task
550
+ macros.
551
+ * Allow a +test_files+ attribute in test tasks. This allows more
552
+ flexibility in specifying test files.
553
+
554
+ === 0.4.3
555
+ * Fixed Comment leakage.
556
+
557
+ === 0.4.2
558
+ * Added safe_ln that falls back to a copy if a file link is not supported.
559
+ * Package builder now uses safe_ln.
560
+
561
+ === 0.4.1
562
+ * Task comments are now additive, combined with "/".
563
+ * Works with (soon to be released) rubygems 0.6.2 (or 0.7.0)
564
+
565
+ === 0.4.0
566
+ * FileList now uses deferred loading. The file system is not searched
567
+ until the first call that needs the file names.
568
+ * VAR=VALUE options are now accepted on the command line and are
569
+ treated like environment variables. The values may be tested in a
570
+ Rakefile by referencing ENV['VAR'].
571
+ * File.mtime is now used (instead of File.new().mtime).
572
+
573
+ === 0.3.2.x
574
+
575
+ * Removed some hidden dependencies on rubygems. Tests now will test
576
+ gems only if they are installed.
577
+ * Removed Sys from some example files. I believe that is that last
578
+ reference to Sys outside of the contrib area.
579
+ * Updated all copyright notices to include 2004.
580
+
581
+ === 0.3.2
582
+
583
+ * GEM Installation now works with the application stub.
584
+
585
+ === 0.3.1
586
+
587
+ * FileLists now automatically ignore CVS, .bak, !
588
+ * GEM Installation now works.
589
+
590
+ === 0.3.0
591
+
592
+ Promoted 0.2.10.
593
+
594
+ === 0.2.10
595
+ General
596
+
597
+ * Added title to Rake's rdocs
598
+ * Contrib packages are no longer included in the documentation.
599
+
600
+ RDoc Issues
601
+
602
+ * Removed default for the '--main' option
603
+ * Fixed rendering of the rdoc options
604
+ * Fixed clean/clobber confusion with rerdoc
605
+ * 'title' attribute added
606
+
607
+ Package Task Library Issues
608
+
609
+ * Version (or explicit :noversion) is required.
610
+ * +package_file+ attribute is now writable
611
+
612
+ FileList Issues
613
+
614
+ * Dropped bang version of exclude. Now using ant-like include/exclude semantics.
615
+ * Enabled the "yield self" idiom in FileList#initialize.
616
+
617
+ === 0.2.9
618
+
619
+ This version contains numerous changes as the RubyConf.new(2003)
620
+ presentation was being prepared. The changes include:
621
+
622
+ * The monolithic rubyapp task library is in the process of being
623
+ dropped in favor of lighter weight task libraries.
624
+
625
+ === 0.2.7
626
+
627
+ * Added "desc" for task descriptions.
628
+ * -T will now display tasks with descriptions.
629
+ * -P will display tasks and prerequisites.
630
+ * Dropped the Sys module in favor of the 1.8.x FileUtils module. Sys
631
+ is still supported in the contrib area.
632
+
633
+ === 0.2.6
634
+
635
+ * Moved to RubyForge
636
+
637
+ === 0.2.5
638
+
639
+ * Switched to standard ruby app builder.
640
+ * Added no_match option to file matcher.
641
+
642
+ === 0.2.4
643
+
644
+ * Fixed indir, which neglected to actually change directories.
645
+
646
+ === 0.2.3
647
+
648
+ * Added rake module for a help target
649
+ * Added 'for_files' to Sys
650
+ * Added a $rakefile constant
651
+ * Added test for selecting proper rule with multiple targets.