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,60 +0,0 @@
1
- = Rake 0.9.4 Released
2
-
3
- Rake version 0.9.4 contains a number of bug fixes.
4
-
5
- == Changes
6
-
7
- === Bug Fixes (0.9.4)
8
-
9
- * Exit status with failing tests is not correctly set to non-zero.
10
-
11
- * Simplified syntax for phony task (for older versions of RDoc).
12
-
13
- * Stand alone FileList usage gets glob function (without loading in
14
- extra dependencies)
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://github.com/jimweirich/rake
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
- * Aaron Patterson
42
- * Dylan Smith
43
- * Jo Liss
44
- * Jonas Pfenniger
45
- * Kazuki Tsujimoto
46
- * Michael Bishop
47
- * Michael Elufimov
48
- * NAKAMURA Usaku
49
- * Ryan Davis
50
- * Sam Grönblom
51
- * Sam Phippen
52
- * Sergio Wong
53
- * Tay Ray Chuan
54
- * grosser
55
- * quix
56
-
57
- Also, many thanks to Eric Hodel for assisting with getting this release
58
- out the door.
59
-
60
- -- Jim Weirich
@@ -1,55 +0,0 @@
1
- = Rake 0.9.5 Released
2
-
3
- Rake version 0.9.5 contains a number of bug fixes.
4
-
5
- == Changes
6
-
7
- === Bug Fixes (0.9.5)
8
-
9
- * --trace and --backtrace no longer swallow following task names.
10
-
11
- == What is Rake
12
-
13
- Rake is a build tool similar to the make program in many ways. But
14
- instead of cryptic make recipes, Rake uses standard Ruby code to
15
- declare tasks and dependencies. You have the full power of a modern
16
- scripting language built right into your build tool.
17
-
18
- == Availability
19
-
20
- The easiest way to get and install rake is via RubyGems ...
21
-
22
- gem install rake (you may need root/admin privileges)
23
-
24
- Otherwise, you can get it from the more traditional places:
25
-
26
- Home Page:: http://github.com/jimweirich/rake
27
- Download:: http://rubyforge.org/project/showfiles.php?group_id=50
28
- GitHub:: git://github.com/jimweirich/rake.git
29
-
30
- == Thanks
31
-
32
- As usual, it was input from users that drove a alot of these changes. The
33
- following people either contributed patches, made suggestions or made
34
- otherwise helpful comments. Thanks to ...
35
-
36
- * Aaron Patterson
37
- * Dylan Smith
38
- * Jo Liss
39
- * Jonas Pfenniger
40
- * Kazuki Tsujimoto
41
- * Michael Bishop
42
- * Michael Elufimov
43
- * NAKAMURA Usaku
44
- * Ryan Davis
45
- * Sam Grönblom
46
- * Sam Phippen
47
- * Sergio Wong
48
- * Tay Ray Chuan
49
- * grosser
50
- * quix
51
-
52
- Also, many thanks to Eric Hodel for assisting with getting this release
53
- out the door.
54
-
55
- -- Jim Weirich
@@ -1,64 +0,0 @@
1
- = Rake 0.9.6 Released
2
-
3
- Rake version 0.9.6 contains a number of fixes mainly for merging
4
- Rake into the Ruby source tree and fixing tests.
5
-
6
- == Changes
7
-
8
- === Bug Fixes (0.9.6)
9
-
10
- * Better trace output when using a multi-threaded Rakefile.
11
- * Arg parsing is now consistent for tasks and multitasks.
12
- * Skip exit code test in versions of Ruby that don't support it well.
13
-
14
- Changes for better integration with the Ruby source tree:
15
-
16
- * Fix version literal for Ruby source tree build.
17
- * Better loading of libraries for testing in Ruby build.
18
- * Use the ruby version provided by Ruby's tests.
19
-
20
- == What is Rake
21
-
22
- Rake is a build tool similar to the make program in many ways. But
23
- instead of cryptic make recipes, Rake uses standard Ruby code to
24
- declare tasks and dependencies. You have the full power of a modern
25
- scripting language built right into your build tool.
26
-
27
- == Availability
28
-
29
- The easiest way to get and install rake is via RubyGems ...
30
-
31
- gem install rake (you may need root/admin privileges)
32
-
33
- Otherwise, you can get it from the more traditional places:
34
-
35
- Home Page:: http://github.com/jimweirich/rake
36
- Download:: http://rubyforge.org/project/showfiles.php?group_id=50
37
- GitHub:: git://github.com/jimweirich/rake.git
38
-
39
- == Thanks
40
-
41
- As usual, it was input from users that drove a alot of these changes. The
42
- following people either contributed patches, made suggestions or made
43
- otherwise helpful comments. Thanks to ...
44
-
45
- * Aaron Patterson
46
- * Dylan Smith
47
- * Jo Liss
48
- * Jonas Pfenniger
49
- * Kazuki Tsujimoto
50
- * Michael Bishop
51
- * Michael Elufimov
52
- * NAKAMURA Usaku
53
- * Ryan Davis
54
- * Sam Grönblom
55
- * Sam Phippen
56
- * Sergio Wong
57
- * Tay Ray Chuan
58
- * grosser
59
- * quix
60
-
61
- Also, many thanks to Eric Hodel for assisting with getting this release
62
- out the door.
63
-
64
- -- Jim Weirich
@@ -1,178 +0,0 @@
1
- = Rake 10.0 Released
2
-
3
- "Jim, when will Rake reach version 1.0?"
4
-
5
- Over the past several years I've been asked that question at
6
- conferences, panels and over twitter. Due to historical reasons (or
7
- maybe just plain laziness) Rake has (incorrectly) been treating the
8
- second digit of the version as the major release number. So in my head
9
- Rake was already at version 9.
10
-
11
- Well, it's time to fix things. This next version of Rake drops old,
12
- crufty, backwards compatibility hacks such as top level constants, DSL
13
- methods defined in Object and numerous other features that are just no
14
- longer desired. It's also time to drop the leading zero from the
15
- version number as well and call this new version of rake what it
16
- really is: Version 10.
17
-
18
- So, welcome to Rake 10.0!
19
-
20
- Rake 10 is actually feature identical to the latest version of Rake 9
21
- (that would be the version spelled 0.9.3), *except* that Rake 10 drops
22
- all the sundry deprecated features that have accumulated over the years.
23
-
24
- If your Rakefile is up to date and current with all the new features
25
- of Rake 10, you are ready to go. If your Rakefile still uses a few
26
- deprecated feeatures, feel free to use Rake 9 (0.9.3) with the same
27
- feature set. Just be aware that future features will be in Rake 10
28
- family line.
29
-
30
- == Changes in 10.0
31
-
32
- As mentioned above, there are no new features in Rake 10. However,
33
- there are a number of features missing:
34
-
35
- * Classic namespaces are now gone. Rake is no longer able to reflect
36
- the options settings in the global variables ($rakefile, $show_tasks,
37
- $show_prereqs, $trace, $dryrun and $silent). The
38
- <tt>--classic-namespace</tt> option is no longer supported.
39
-
40
- * Global constants are no longer supported. This includes
41
- <tt>Task</tt>, <tt>FileTask</tt>, <tt>FileCreationTask</tt> and
42
- <tt>RakeApp</tt>). The constant missing hook to warn about using
43
- global rake constants has been removed.
44
-
45
- * The Rake DSL methods (task, file, directory, etc) are in their own
46
- module (Rake::DSL). The stub versions of these methods (that printed
47
- warnings) in Object have been removed. However, the DSL methods are
48
- added to the top-level <tt>main</tt> object. Since <tt>main</tt> is
49
- not in the inheritance tree, the presence of the DSL methods in main
50
- should be low impact on other libraries.
51
-
52
- If you want to use the Rake DSL commands from your own code, just
53
- include <tt>Rake::DSL</tt> into your own classes and modules.
54
-
55
- * The deprecated syntax for task arguments (the one using
56
- <tt>:needs</tt>) has been removed.
57
-
58
- * The <tt>--reduce-compat</tt> flag has been removed (it's not needed
59
- anymore).
60
-
61
- * The deprecated <tt>rake/sys.rb</tt> library has been removed.
62
-
63
- * The deprecated <tt>rake/rdoctask.rb</tt> library has been removed.
64
- RDoc supplies its own rake task now.
65
-
66
- * The deprecated <tt>rake/gempackagetask.rb</tt> library has been
67
- removed. Gem supplies its own package task now.
68
-
69
- There is one small behavioral change:
70
-
71
- * Non-file tasks now always report the current time as their time
72
- stamp. This is different from the previous behavior where non-file
73
- tasks reported current time only if there were no prerequisites, and
74
- the max prerequisite timestamp otherwise. This lead to inconsistent
75
- and surprising behavior when adding prerequisites to tasks that in
76
- turn were prequisites to file tasks. The new behavior is more
77
- consistent and predictable.
78
-
79
- == Changes (from 0.9.3)
80
-
81
- Since Rake 10 includes the changes from the last version of Rake 9,
82
- we'll repeat the changes for version 0.9.3 here.
83
-
84
- === New Features
85
-
86
- * Multitask tasks now use a thread pool. Use -j to limit the number of
87
- available threads.
88
-
89
- * Use -m to turn regular tasks into multitasks (use at your own risk).
90
-
91
- * You can now do "Rake.add_rakelib 'dir'" in your Rakefile to
92
- programatically add rake task libraries.
93
-
94
- * You can specific backtrace suppression patterns (see
95
- --supress-backtrace)
96
-
97
- * Directory tasks can now take prerequisites and actions
98
-
99
- * Use --backtrace to request a full backtrace without the task trace.
100
-
101
- * You can say "--backtrace=stdout" and "--trace=stdout" to route trace
102
- output to standard output rather than standard error.
103
-
104
- * Optional 'phony' target (enable with 'require 'rake/phony'") for
105
- special purpose builds.
106
-
107
- * Task#clear now clears task comments as well as actions and
108
- prerequisites. Task#clear_comment will specifically target comments.
109
-
110
- * The --all option will force -T and -D to consider all the tasks,
111
- with and without descriptions.
112
-
113
- === Bug Fixes
114
-
115
- * Semi-colons in windows rakefile paths now work.
116
-
117
- * Improved Control-C support when invoking multiple test suites.
118
-
119
- * egrep method now reads files in text mode (better support for
120
- Windows)
121
-
122
- * Better deprecation line number reporting.
123
-
124
- * The -W option now works with all tasks, whether they have a
125
- description or not.
126
-
127
- * File globs in rake should not be sorted alphabetically, independent
128
- of file system and platform.
129
-
130
- * Numerous internal improvements.
131
-
132
- * Documentation typos and fixes.
133
-
134
- == What is Rake
135
-
136
- Rake is a build tool similar to the make program in many ways. But
137
- instead of cryptic make recipes, Rake uses standard Ruby code to
138
- declare tasks and dependencies. You have the full power of a modern
139
- scripting language built right into your build tool.
140
-
141
- == Availability
142
-
143
- The easiest way to get and install rake is via RubyGems ...
144
-
145
- gem install rake (you may need root/admin privileges)
146
-
147
- Otherwise, you can get it from the more traditional places:
148
-
149
- Home Page:: http://github.com/jimweirich/rake
150
- Download:: http://rubyforge.org/project/showfiles.php?group_id=50
151
- GitHub:: git://github.com/jimweirich/rake.git
152
-
153
- == Thanks
154
-
155
- As usual, it was input from users that drove a lot of these changes. The
156
- following people contributed patches, made suggestions or made
157
- otherwise helpful comments. Thanks to ...
158
-
159
- * Aaron Patterson
160
- * Dylan Smith
161
- * Jo Liss
162
- * Jonas Pfenniger
163
- * Kazuki Tsujimoto
164
- * Michael Bishop
165
- * Michael Elufimov
166
- * NAKAMURA Usaku
167
- * Ryan Davis
168
- * Sam Grönblom
169
- * Sam Phippen
170
- * Sergio Wong
171
- * Tay Ray Chuan
172
- * grosser
173
- * quix
174
-
175
- Also, many thanks to Eric Hodel for assisting with getting this release
176
- out the door.
177
-
178
- -- Jim Weirich
@@ -1,58 +0,0 @@
1
- = Rake 10.0.1 Released
2
-
3
- == Changes in 10.0.1
4
-
5
- === Bug Fixes
6
-
7
- * Exit status with failing tests is not correctly set to non-zero.
8
-
9
- * Simplified syntax for phony task (for older versions of RDoc).
10
-
11
- * Stand alone FileList usage gets glob function (without loading in
12
- extra dependencies)
13
-
14
- == What is Rake
15
-
16
- Rake is a build tool similar to the make program in many ways. But
17
- instead of cryptic make recipes, Rake uses standard Ruby code to
18
- declare tasks and dependencies. You have the full power of a modern
19
- scripting language built right into your build tool.
20
-
21
- == Availability
22
-
23
- The easiest way to get and install rake is via RubyGems ...
24
-
25
- gem install rake (you may need root/admin privileges)
26
-
27
- Otherwise, you can get it from the more traditional places:
28
-
29
- Home Page:: http://github.com/jimweirich/rake
30
- Download:: http://rubyforge.org/project/showfiles.php?group_id=50
31
- GitHub:: git://github.com/jimweirich/rake.git
32
-
33
- == Thanks
34
-
35
- As usual, it was input from users that drove a lot of these changes. The
36
- following people contributed patches, made suggestions or made
37
- otherwise helpful comments. Thanks to ...
38
-
39
- * Aaron Patterson
40
- * Dylan Smith
41
- * Jo Liss
42
- * Jonas Pfenniger
43
- * Kazuki Tsujimoto
44
- * Michael Bishop
45
- * Michael Elufimov
46
- * NAKAMURA Usaku
47
- * Ryan Davis
48
- * Sam Grönblom
49
- * Sam Phippen
50
- * Sergio Wong
51
- * Tay Ray Chuan
52
- * grosser
53
- * quix
54
-
55
- Also, many thanks to Eric Hodel for assisting with getting this release
56
- out the door.
57
-
58
- -- Jim Weirich
@@ -1,53 +0,0 @@
1
- = Rake 10.0.2 Released
2
-
3
- == Changes in Rake 10.0.2
4
-
5
- === Bug Fixes
6
-
7
- * --trace and --backtrace no longer swallow following task names.
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://github.com/jimweirich/rake
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 lot of these changes. The
31
- following people contributed patches, made suggestions or made
32
- otherwise helpful comments. Thanks to ...
33
-
34
- * Aaron Patterson
35
- * Dylan Smith
36
- * Jo Liss
37
- * Jonas Pfenniger
38
- * Kazuki Tsujimoto
39
- * Michael Bishop
40
- * Michael Elufimov
41
- * NAKAMURA Usaku
42
- * Ryan Davis
43
- * Sam Grönblom
44
- * Sam Phippen
45
- * Sergio Wong
46
- * Tay Ray Chuan
47
- * grosser
48
- * quix
49
-
50
- Also, many thanks to Eric Hodel for assisting with getting this release
51
- out the door.
52
-
53
- -- Jim Weirich