rake 11.3.0 → 12.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rake might be problematic. Click here for more details.

Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +51 -12
  3. data/.travis.yml +2 -9
  4. data/Gemfile +1 -1
  5. data/History.rdoc +41 -29
  6. data/README.rdoc +4 -5
  7. data/Rakefile +18 -13
  8. data/appveyor.yml +6 -7
  9. data/doc/rake.1 +139 -124
  10. data/doc/rakefile.rdoc +1 -3
  11. data/exe/rake +1 -1
  12. data/lib/rake.rb +33 -33
  13. data/lib/rake/application.rb +68 -67
  14. data/lib/rake/backtrace.rb +2 -2
  15. data/lib/rake/clean.rb +4 -3
  16. data/lib/rake/cpu_counter.rb +1 -1
  17. data/lib/rake/dsl_definition.rb +1 -1
  18. data/lib/rake/ext/string.rb +21 -21
  19. data/lib/rake/file_creation_task.rb +2 -2
  20. data/lib/rake/file_list.rb +8 -10
  21. data/lib/rake/file_task.rb +2 -2
  22. data/lib/rake/file_utils.rb +7 -10
  23. data/lib/rake/file_utils_ext.rb +3 -3
  24. data/lib/rake/late_time.rb +1 -1
  25. data/lib/rake/loaders/makefile.rb +4 -4
  26. data/lib/rake/multi_task.rb +36 -0
  27. data/lib/rake/name_space.rb +0 -1
  28. data/lib/rake/packagetask.rb +10 -10
  29. data/lib/rake/phony.rb +1 -1
  30. data/lib/rake/promise.rb +10 -10
  31. data/lib/rake/rake_module.rb +1 -1
  32. data/lib/rake/rake_test_loader.rb +1 -1
  33. data/lib/rake/rule_recursion_overflow_error.rb +1 -1
  34. data/lib/rake/scope.rb +1 -1
  35. data/lib/rake/task.rb +13 -14
  36. data/lib/rake/task_arguments.rb +8 -4
  37. data/lib/rake/task_manager.rb +5 -18
  38. data/lib/rake/tasklib.rb +1 -1
  39. data/lib/rake/testtask.rb +26 -16
  40. data/lib/rake/thread_history_display.rb +3 -3
  41. data/lib/rake/thread_pool.rb +14 -14
  42. data/lib/rake/version.rb +2 -2
  43. data/lib/rake/win32.rb +8 -8
  44. data/rake.gemspec +15 -6
  45. metadata +20 -68
  46. data/doc/release_notes/README.md +0 -4
  47. data/doc/release_notes/rake-0.4.14.rdoc +0 -23
  48. data/doc/release_notes/rake-0.4.15.rdoc +0 -35
  49. data/doc/release_notes/rake-0.5.0.rdoc +0 -53
  50. data/doc/release_notes/rake-0.5.3.rdoc +0 -78
  51. data/doc/release_notes/rake-0.5.4.rdoc +0 -46
  52. data/doc/release_notes/rake-0.6.0.rdoc +0 -141
  53. data/doc/release_notes/rake-0.7.0.rdoc +0 -119
  54. data/doc/release_notes/rake-0.7.1.rdoc +0 -59
  55. data/doc/release_notes/rake-0.7.2.rdoc +0 -121
  56. data/doc/release_notes/rake-0.7.3.rdoc +0 -47
  57. data/doc/release_notes/rake-0.8.0.rdoc +0 -114
  58. data/doc/release_notes/rake-0.8.2.rdoc +0 -165
  59. data/doc/release_notes/rake-0.8.3.rdoc +0 -112
  60. data/doc/release_notes/rake-0.8.4.rdoc +0 -147
  61. data/doc/release_notes/rake-0.8.5.rdoc +0 -53
  62. data/doc/release_notes/rake-0.8.6.rdoc +0 -37
  63. data/doc/release_notes/rake-0.8.7.rdoc +0 -55
  64. data/doc/release_notes/rake-0.9.0.rdoc +0 -112
  65. data/doc/release_notes/rake-0.9.1.rdoc +0 -52
  66. data/doc/release_notes/rake-0.9.2.2.rdoc +0 -55
  67. data/doc/release_notes/rake-0.9.2.rdoc +0 -49
  68. data/doc/release_notes/rake-0.9.3.rdoc +0 -102
  69. data/doc/release_notes/rake-0.9.4.rdoc +0 -60
  70. data/doc/release_notes/rake-0.9.5.rdoc +0 -55
  71. data/doc/release_notes/rake-0.9.6.rdoc +0 -64
  72. data/doc/release_notes/rake-10.0.0.rdoc +0 -178
  73. data/doc/release_notes/rake-10.0.1.rdoc +0 -58
  74. data/doc/release_notes/rake-10.0.2.rdoc +0 -53
  75. data/doc/release_notes/rake-10.0.3.rdoc +0 -191
  76. data/doc/release_notes/rake-10.1.0.rdoc +0 -61
  77. data/lib/rake/contrib/compositepublisher.rb +0 -21
  78. data/lib/rake/contrib/ftptools.rb +0 -137
  79. data/lib/rake/contrib/sshpublisher.rb +0 -60
  80. data/lib/rake/ext/pathname.rb +0 -25
@@ -1,53 +0,0 @@
1
- = Rake 0.8.5 Released
2
-
3
- Rake version 0.8.5 is a new release of Rake with greatly improved
4
- support for executing commands on Windows. The "sh" command now has
5
- the same semantics on Windows that it has on Unix based platforms.
6
-
7
- == Changes
8
-
9
- === New Features / Enhancements in Version 0.8.5
10
-
11
- * Improved implementation of the Rake system command for Windows.
12
- (patch from James M. Lawrence/quix)
13
-
14
- * Support for Ruby 1.9's improved system command. (patch from James
15
- M. Lawrence/quix)
16
-
17
- * Rake now includes the configured extension when invoking an
18
- executable (Config::CONFIG['EXEEXT])
19
-
20
- === Bug Fixes in Version 0.8.5
21
-
22
- * Environment variable keys are now correctly cased (it matters in
23
- some implementations).
24
-
25
- == What is Rake
26
-
27
- Rake is a build tool similar to the make program in many ways. But
28
- instead of cryptic make recipes, Rake uses standard Ruby code to
29
- declare tasks and dependencies. You have the full power of a modern
30
- scripting language built right into your build tool.
31
-
32
- == Availability
33
-
34
- The easiest way to get and install rake is via RubyGems ...
35
-
36
- gem install rake (you may need root/admin privileges)
37
-
38
- Otherwise, you can get it from the more traditional places:
39
-
40
- Home Page:: http://rake.rubyforge.org/
41
- Download:: http://rubyforge.org/project/showfiles.php?group_id=50
42
- GitHub:: git://github.com/jimweirich/rake.git
43
-
44
- == Thanks
45
-
46
- As usual, it was input from users that drove a alot of these changes. The
47
- following people either contributed patches, made suggestions or made
48
- otherwise helpful comments. Thanks to ...
49
-
50
- * James M. Lawrence/quix
51
- * Luis Lavena
52
-
53
- -- Jim Weirich
@@ -1,37 +0,0 @@
1
- = Rake 0.8.6 Released
2
-
3
- Rake version 0.8.5 introduced greatly improved support for executing
4
- commands on Windows. The "sh" command now has the same semantics on
5
- Windows that it has on Unix based platforms.
6
-
7
- Rake version 0.8.5 includes minor fixes the the RDoc generation.
8
-
9
- == What is Rake
10
-
11
- Rake is a build tool similar to the make program in many ways. But
12
- instead of cryptic make recipes, Rake uses standard Ruby code to
13
- declare tasks and dependencies. You have the full power of a modern
14
- scripting language built right into your build tool.
15
-
16
- == Availability
17
-
18
- The easiest way to get and install rake is via RubyGems ...
19
-
20
- gem install rake (you may need root/admin privileges)
21
-
22
- Otherwise, you can get it from the more traditional places:
23
-
24
- Home Page:: http://rake.rubyforge.org/
25
- Download:: http://rubyforge.org/project/showfiles.php?group_id=50
26
- GitHub:: git://github.com/jimweirich/rake.git
27
-
28
- == Thanks
29
-
30
- As usual, it was input from users that drove a alot of these changes. The
31
- following people either contributed patches, made suggestions or made
32
- otherwise helpful comments. Thanks to ...
33
-
34
- * James M. Lawrence/quix
35
- * Luis Lavena
36
-
37
- -- Jim Weirich
@@ -1,55 +0,0 @@
1
- = Rake 0.8.7 Released
2
-
3
- Rake version 0.8.5 introduced greatly improved support for executing
4
- commands on Windows. The "sh" command now has the same semantics on
5
- Windows that it has on Unix based platforms.
6
-
7
- Rake version 0.8.6 includes minor fixes the the RDoc generation.
8
- Rake version 0.8.7 includes a minor fix for JRuby running on windows.
9
-
10
- == Changes
11
-
12
- === New Features / Enhancements in Version 0.8.5
13
-
14
- * Improved implementation of the Rake system command for Windows.
15
- (patch from James M. Lawrence/quix)
16
-
17
- * Support for Ruby 1.9's improved system command. (patch from James
18
- M. Lawrence/quix)
19
-
20
- * Rake now includes the configured extension when invoking an
21
- executable (Config::CONFIG['EXEEXT])
22
-
23
- === Bug Fixes in Version 0.8.5
24
-
25
- * Environment variable keys are now correctly cased (it matters in
26
- some implementations).
27
-
28
- == What is Rake
29
-
30
- Rake is a build tool similar to the make program in many ways. But
31
- instead of cryptic make recipes, Rake uses standard Ruby code to
32
- declare tasks and dependencies. You have the full power of a modern
33
- scripting language built right into your build tool.
34
-
35
- == Availability
36
-
37
- The easiest way to get and install rake is via RubyGems ...
38
-
39
- gem install rake (you may need root/admin privileges)
40
-
41
- Otherwise, you can get it from the more traditional places:
42
-
43
- Home Page:: http://rake.rubyforge.org/
44
- Download:: http://rubyforge.org/project/showfiles.php?group_id=50
45
- GitHub:: git://github.com/jimweirich/rake.git
46
-
47
- == Thanks
48
-
49
- As usual, it was input from users that drove a alot of these changes. The
50
- following people either contributed patches, made suggestions or made
51
- otherwise helpful comments. Thanks to ...
52
-
53
- * Charles Nutter
54
-
55
- -- Jim Weirich
@@ -1,112 +0,0 @@
1
- = Rake 0.9.0 Released
2
-
3
- Rake version 0.9.0 has a number of bug fixes and enhancments (see
4
- below for more details). Additionally, the internals have be slightly
5
- restructured and improved.
6
-
7
- == Changes
8
-
9
- === New Features / Enhancements / Bug Fixes in Version 0.9.0
10
-
11
- * Rake now warns when the deprecated :needs syntax used (and suggests
12
- the proper syntax in the warning).
13
-
14
- * Moved Rake DSL commands to top level ruby object 'main'. Rake DSL
15
- commands are no longer private methods in Object. (Suggested by
16
- James M. Lawrence/quix)
17
-
18
- * Rake now uses case-insensitive comparisons to find the Rakefile on Windows.
19
- Based on patch by Roger Pack.
20
-
21
- * Rake now requires (instead of loads) files in the test task. Patch by Cezary
22
- Baginski.
23
-
24
- * Fixed typos. Patches by Sean Scot August Moon and R.T. Lechow.
25
-
26
- * Rake now prints the Rakefile directory only when it's different from the
27
- current directory. Patch by Alex Chaffee.
28
-
29
- * Improved rakefile_location discovery on Windows. Patch by James Tucker.
30
-
31
- * Rake now recognizes "Windows Server" as a windows system. Patch by Matthias
32
- Lüdtke
33
-
34
- * Rake::RDocTask is deprecated. Use RDoc::Task from RDoc 2.4.2+ (require
35
- 'rdoc/task')
36
-
37
- * Rake::GemPackageTask is deprecated. Use Gem::PackageTask (require
38
- 'rubygems/package_task')
39
-
40
- * Rake now outputs various messages to $stderr instead of $stdout.
41
-
42
- * Rake no longer emits warnings for Config. Patch by Santiago Pastorino.
43
-
44
- * Removed Rake's DSL methods from the top level scope. If you need to
45
- call 'task :xzy' in your code, include Rake::DSL into your class, or
46
- put the code in a Rake::DSL.environment do ... end block.
47
-
48
- * Split rake.rb into individual files.
49
-
50
- * Support for the --where (-W) flag for showing where a task is defined.
51
-
52
- * Fixed quoting in test task.
53
- (http://onestepback.org/redmine/issues/show/44,
54
- http://www.pivotaltracker.com/story/show/1223138)
55
-
56
- * Fixed the silent option parsing problem.
57
- (http://onestepback.org/redmine/issues/show/47)
58
-
59
- * Fixed :verbose=>false flag on sh and ruby commands.
60
-
61
- * Rake command line options may be given by default in a RAKEOPT
62
- environment variable.
63
-
64
- * Errors in Rake will now display the task invocation chain in effect
65
- at the time of the error.
66
-
67
- * Accepted change by warnickr to not expand test patterns in shell
68
- (allowing more files in the test suite).
69
-
70
- * Fixed that file tasks did not perform prereq lookups in scope
71
- (Redmine #57).
72
-
73
- == What is Rake
74
-
75
- Rake is a build tool similar to the make program in many ways. But
76
- instead of cryptic make recipes, Rake uses standard Ruby code to
77
- declare tasks and dependencies. You have the full power of a modern
78
- scripting language built right into your build tool.
79
-
80
- == Availability
81
-
82
- The easiest way to get and install rake is via RubyGems ...
83
-
84
- gem install rake (you may need root/admin privileges)
85
-
86
- Otherwise, you can get it from the more traditional places:
87
-
88
- Home Page:: http://rake.rubyforge.org/
89
- Download:: http://rubyforge.org/project/showfiles.php?group_id=50
90
- GitHub:: git://github.com/jimweirich/rake.git
91
-
92
- == Thanks
93
-
94
- As usual, it was input from users that drove a alot of these changes. The
95
- following people either contributed patches, made suggestions or made
96
- otherwise helpful comments. Thanks to ...
97
-
98
- * James M. Lawrence (quix)
99
- * Roger Pack
100
- * Cezary Baginski
101
- * Sean Scot August Moon
102
- * R.T. Lechow
103
- * Alex Chaffee
104
- * James Tucker
105
- * Matthias Lüdtke
106
- * Santiago Pastorino
107
-
108
- Also, bit thanks to Eric Hodel for assisting with getting this release
109
- out the door (where "assisting" includes, but is not by any means
110
- limited to, "pushing" me to get it done).
111
-
112
- -- Jim Weirich
@@ -1,52 +0,0 @@
1
- = Rake 0.9.1 Released
2
-
3
- Rake version 0.9.1 has a number of bug fixes and enhancments (see
4
- below for more details). Additionally, the internals have be slightly
5
- restructured and improved.
6
-
7
- == Changes
8
-
9
- Rake 0.9.1 adds back the global DSL methods, but with deprecation
10
- messages. This allows Rake 0.9.1 to be used with older rakefiles with
11
- warning messages.
12
-
13
- == What is Rake
14
-
15
- Rake is a build tool similar to the make program in many ways. But
16
- instead of cryptic make recipes, Rake uses standard Ruby code to
17
- declare tasks and dependencies. You have the full power of a modern
18
- scripting language built right into your build tool.
19
-
20
- == Availability
21
-
22
- The easiest way to get and install rake is via RubyGems ...
23
-
24
- gem install rake (you may need root/admin privileges)
25
-
26
- Otherwise, you can get it from the more traditional places:
27
-
28
- Home Page:: http://rake.rubyforge.org/
29
- Download:: http://rubyforge.org/project/showfiles.php?group_id=50
30
- GitHub:: git://github.com/jimweirich/rake.git
31
-
32
- == Thanks
33
-
34
- As usual, it was input from users that drove a alot of these changes. The
35
- following people either contributed patches, made suggestions or made
36
- otherwise helpful comments. Thanks to ...
37
-
38
- * James M. Lawrence (quix)
39
- * Roger Pack
40
- * Cezary Baginski
41
- * Sean Scot August Moon
42
- * R.T. Lechow
43
- * Alex Chaffee
44
- * James Tucker
45
- * Matthias Lüdtke
46
- * Santiago Pastorino
47
-
48
- Also, bit thanks to Eric Hodel for assisting with getting this release
49
- out the door (where "assisting" includes, but is not by any means
50
- limited to, "pushing" me to get it done).
51
-
52
- -- Jim Weirich
@@ -1,55 +0,0 @@
1
- = Rake 0.9.2.2 Released
2
-
3
- Rake version 0.9.2.2 is mainly bug fixes.
4
-
5
- == Changes
6
-
7
- * The rake test loader now removes arguments it has processed. Issue #51
8
- * Rake::TaskArguments now responds to #values_at
9
- * RakeFileUtils.verbose_flag = nil silences output the same as 0.8.7
10
- * Rake tests are now directory-independent
11
- * Rake tests are no longer require flexmock
12
- * Commands constant is no longer polluting top level namespace.
13
- * Show only the interesting portion of the backtrace by default (James M. Lawrence).
14
- * Added --reduce-compat option to remove backward compatible DSL hacks (James M. Lawrence).
15
-
16
- == What is Rake
17
-
18
- Rake is a build tool similar to the make program in many ways. But
19
- instead of cryptic make recipes, Rake uses standard Ruby code to
20
- declare tasks and dependencies. You have the full power of a modern
21
- scripting language built right into your build tool.
22
-
23
- == Availability
24
-
25
- The easiest way to get and install rake is via RubyGems ...
26
-
27
- gem install rake (you may need root/admin privileges)
28
-
29
- Otherwise, you can get it from the more traditional places:
30
-
31
- Home Page:: http://rake.rubyforge.org/
32
- Download:: http://rubyforge.org/project/showfiles.php?group_id=50
33
- GitHub:: git://github.com/jimweirich/rake.git
34
-
35
- == Thanks
36
-
37
- As usual, it was input from users that drove a alot of these changes. The
38
- following people either contributed patches, made suggestions or made
39
- otherwise helpful comments. Thanks to ...
40
-
41
- * James M. Lawrence (quix)
42
- * Roger Pack
43
- * Cezary Baginski
44
- * Sean Scot August Moon
45
- * R.T. Lechow
46
- * Alex Chaffee
47
- * James Tucker
48
- * Matthias Lüdtke
49
- * Santiago Pastorino
50
-
51
- Also, bit thanks to Eric Hodel for assisting with getting this release
52
- out the door (where "assisting" includes, but is not by any means
53
- limited to, "pushing" me to get it done).
54
-
55
- -- Jim Weirich
@@ -1,49 +0,0 @@
1
- = Rake 0.9.2 Released
2
-
3
- Rake version 0.9.2 has a few small fixes. See below for details.
4
-
5
- == Changes
6
-
7
- * Support for Ruby 1.8.6 was fixed.
8
- * Global DSL warnings now honor --no-deprecate
9
-
10
- == What is Rake
11
-
12
- Rake is a build tool similar to the make program in many ways. But
13
- instead of cryptic make recipes, Rake uses standard Ruby code to
14
- declare tasks and dependencies. You have the full power of a modern
15
- scripting language built right into your build tool.
16
-
17
- == Availability
18
-
19
- The easiest way to get and install rake is via RubyGems ...
20
-
21
- gem install rake (you may need root/admin privileges)
22
-
23
- Otherwise, you can get it from the more traditional places:
24
-
25
- Home Page:: http://rake.rubyforge.org/
26
- Download:: http://rubyforge.org/project/showfiles.php?group_id=50
27
- GitHub:: git://github.com/jimweirich/rake.git
28
-
29
- == Thanks
30
-
31
- As usual, it was input from users that drove a alot of these changes. The
32
- following people either contributed patches, made suggestions or made
33
- otherwise helpful comments. Thanks to ...
34
-
35
- * James M. Lawrence (quix)
36
- * Roger Pack
37
- * Cezary Baginski
38
- * Sean Scot August Moon
39
- * R.T. Lechow
40
- * Alex Chaffee
41
- * James Tucker
42
- * Matthias Lüdtke
43
- * Santiago Pastorino
44
-
45
- Also, bit thanks to Eric Hodel for assisting with getting this release
46
- out the door (where "assisting" includes, but is not by any means
47
- limited to, "pushing" me to get it done).
48
-
49
- -- Jim Weirich
@@ -1,102 +0,0 @@
1
- = Rake 0.9.3 Released
2
-
3
- Rake version 0.9.3 contains some new, backwards compatible features and
4
- a number of bug fixes.
5
-
6
- == Changes
7
-
8
- === New Features
9
-
10
- * Multitask tasks now use a thread pool. Use -j to limit the number of
11
- available threads.
12
-
13
- * Use -m to turn regular tasks into multitasks (use at your own risk).
14
-
15
- * You can now do "Rake.add_rakelib 'dir'" in your Rakefile to
16
- programatically add rake task libraries.
17
-
18
- * You can specific backtrace suppression patterns (see
19
- --supress-backtrace)
20
-
21
- * Directory tasks can now take prerequisites and actions
22
-
23
- * Use --backtrace to request a full backtrace without the task trace.
24
-
25
- * You can say "--backtrace=stdout" and "--trace=stdout" to route trace
26
- output to standard output rather than standard error.
27
-
28
- * Optional 'phony' target (enable with 'require 'rake/phony'") for
29
- special purpose builds.
30
-
31
- * Task#clear now clears task comments as well as actions and
32
- prerequisites. Task#clear_comment will specifically target comments.
33
-
34
- * The --all option will force -T and -D to consider all the tasks,
35
- with and without descriptions.
36
-
37
- === Bug Fixes
38
-
39
- * Semi-colons in windows rakefile paths now work.
40
-
41
- * Improved Control-C support when invoking multiple test suites.
42
-
43
- * egrep method now reads files in text mode (better support for
44
- Windows)
45
-
46
- * Better deprecation line number reporting.
47
-
48
- * The -W option now works with all tasks, whether they have a
49
- description or not.
50
-
51
- * File globs in rake should not be sorted alphabetically, independent
52
- of file system and platform.
53
-
54
- * Numerous internal improvements.
55
-
56
- * Documentation typos and fixes.
57
-
58
- == What is Rake
59
-
60
- Rake is a build tool similar to the make program in many ways. But
61
- instead of cryptic make recipes, Rake uses standard Ruby code to
62
- declare tasks and dependencies. You have the full power of a modern
63
- scripting language built right into your build tool.
64
-
65
- == Availability
66
-
67
- The easiest way to get and install rake is via RubyGems ...
68
-
69
- gem install rake (you may need root/admin privileges)
70
-
71
- Otherwise, you can get it from the more traditional places:
72
-
73
- Home Page:: http://github.com/jimweirich/rake
74
- Download:: http://rubyforge.org/project/showfiles.php?group_id=50
75
- GitHub:: git://github.com/jimweirich/rake.git
76
-
77
- == Thanks
78
-
79
- As usual, it was input from users that drove a alot of these changes. The
80
- following people either contributed patches, made suggestions or made
81
- otherwise helpful comments. Thanks to ...
82
-
83
- * Aaron Patterson
84
- * Dylan Smith
85
- * Jo Liss
86
- * Jonas Pfenniger
87
- * Kazuki Tsujimoto
88
- * Michael Bishop
89
- * Michael Elufimov
90
- * NAKAMURA Usaku
91
- * Ryan Davis
92
- * Sam Grönblom
93
- * Sam Phippen
94
- * Sergio Wong
95
- * Tay Ray Chuan
96
- * grosser
97
- * quix
98
-
99
- Also, many thanks to Eric Hodel for assisting with getting this release
100
- out the door.
101
-
102
- -- Jim Weirich