necktie 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (214) hide show
  1. data/README.rdoc +174 -0
  2. data/bin/necktie +2 -1
  3. data/lib/necktie/files.rb +29 -0
  4. data/lib/necktie/rake.rb +127 -0
  5. data/lib/necktie/services.rb +11 -7
  6. data/lib/necktie.rb +4 -54
  7. data/necktie.gemspec +3 -3
  8. data/vendor/rake/CHANGES +477 -0
  9. data/vendor/rake/MIT-LICENSE +21 -0
  10. data/vendor/rake/README.rdoc +194 -0
  11. data/vendor/rake/Rakefile +421 -0
  12. data/vendor/rake/TODO +20 -0
  13. data/vendor/rake/bin/rake +31 -0
  14. data/vendor/rake/doc/command_line_usage.rdoc +102 -0
  15. data/vendor/rake/doc/example/Rakefile1 +38 -0
  16. data/vendor/rake/doc/example/Rakefile2 +35 -0
  17. data/vendor/rake/doc/example/a.c +6 -0
  18. data/vendor/rake/doc/example/b.c +6 -0
  19. data/vendor/rake/doc/example/main.c +11 -0
  20. data/vendor/rake/doc/glossary.rdoc +51 -0
  21. data/vendor/rake/doc/jamis.rb +591 -0
  22. data/vendor/rake/doc/proto_rake.rdoc +127 -0
  23. data/vendor/rake/doc/rake.1.gz +0 -0
  24. data/vendor/rake/doc/rakefile.rdoc +566 -0
  25. data/vendor/rake/doc/rational.rdoc +151 -0
  26. data/vendor/rake/doc/release_notes/rake-0.4.14.rdoc +23 -0
  27. data/vendor/rake/doc/release_notes/rake-0.4.15.rdoc +35 -0
  28. data/vendor/rake/doc/release_notes/rake-0.5.0.rdoc +53 -0
  29. data/vendor/rake/doc/release_notes/rake-0.5.3.rdoc +78 -0
  30. data/vendor/rake/doc/release_notes/rake-0.5.4.rdoc +46 -0
  31. data/vendor/rake/doc/release_notes/rake-0.6.0.rdoc +141 -0
  32. data/vendor/rake/doc/release_notes/rake-0.7.0.rdoc +119 -0
  33. data/vendor/rake/doc/release_notes/rake-0.7.1.rdoc +59 -0
  34. data/vendor/rake/doc/release_notes/rake-0.7.2.rdoc +121 -0
  35. data/vendor/rake/doc/release_notes/rake-0.7.3.rdoc +47 -0
  36. data/vendor/rake/doc/release_notes/rake-0.8.0.rdoc +114 -0
  37. data/vendor/rake/doc/release_notes/rake-0.8.2.rdoc +165 -0
  38. data/vendor/rake/doc/release_notes/rake-0.8.3.rdoc +112 -0
  39. data/vendor/rake/doc/release_notes/rake-0.8.4.rdoc +147 -0
  40. data/vendor/rake/doc/release_notes/rake-0.8.5.rdoc +53 -0
  41. data/vendor/rake/doc/release_notes/rake-0.8.6.rdoc +55 -0
  42. data/vendor/rake/doc/release_notes/rake-0.8.7.rdoc +55 -0
  43. data/vendor/rake/install.rb +88 -0
  44. data/vendor/rake/lib/rake/alt_system.rb +108 -0
  45. data/vendor/rake/lib/rake/application.rb +579 -0
  46. data/vendor/rake/lib/rake/classic_namespace.rb +9 -0
  47. data/vendor/rake/lib/rake/clean.rb +35 -0
  48. data/vendor/rake/lib/rake/cloneable.rb +25 -0
  49. data/vendor/rake/lib/rake/contrib/compositepublisher.rb +24 -0
  50. data/vendor/rake/lib/rake/contrib/ftptools.rb +153 -0
  51. data/vendor/rake/lib/rake/contrib/publisher.rb +75 -0
  52. data/vendor/rake/lib/rake/contrib/rubyforgepublisher.rb +18 -0
  53. data/vendor/rake/lib/rake/contrib/sshpublisher.rb +47 -0
  54. data/vendor/rake/lib/rake/contrib/sys.rb +209 -0
  55. data/vendor/rake/lib/rake/default_loader.rb +10 -0
  56. data/vendor/rake/lib/rake/dsl.rb +136 -0
  57. data/vendor/rake/lib/rake/early_time.rb +18 -0
  58. data/vendor/rake/lib/rake/environment.rb +40 -0
  59. data/vendor/rake/lib/rake/ext/module.rb +60 -0
  60. data/vendor/rake/lib/rake/ext/string.rb +165 -0
  61. data/vendor/rake/lib/rake/ext/time.rb +14 -0
  62. data/vendor/rake/lib/rake/file_creation_task.rb +24 -0
  63. data/vendor/rake/lib/rake/file_list.rb +395 -0
  64. data/vendor/rake/lib/rake/file_task.rb +47 -0
  65. data/vendor/rake/lib/rake/file_utils.rb +108 -0
  66. data/vendor/rake/lib/rake/gempackagetask.rb +97 -0
  67. data/vendor/rake/lib/rake/invocation_chain.rb +51 -0
  68. data/vendor/rake/lib/rake/invocation_exception_mixin.rb +16 -0
  69. data/vendor/rake/lib/rake/lib/project.rake +24 -0
  70. data/vendor/rake/lib/rake/loaders/makefile.rb +44 -0
  71. data/vendor/rake/lib/rake/multi_task.rb +16 -0
  72. data/vendor/rake/lib/rake/name_space.rb +25 -0
  73. data/vendor/rake/lib/rake/packagetask.rb +184 -0
  74. data/vendor/rake/lib/rake/psuedo_status.rb +24 -0
  75. data/vendor/rake/lib/rake/rake_file_utils.rb +133 -0
  76. data/vendor/rake/lib/rake/rake_module.rb +25 -0
  77. data/vendor/rake/lib/rake/rake_test_loader.rb +15 -0
  78. data/vendor/rake/lib/rake/rdoctask.rb +209 -0
  79. data/vendor/rake/lib/rake/ruby182_test_unit_fix.rb +25 -0
  80. data/vendor/rake/lib/rake/rule_recursion_overflow_error.rb +20 -0
  81. data/vendor/rake/lib/rake/runtest.rb +23 -0
  82. data/vendor/rake/lib/rake/task.rb +318 -0
  83. data/vendor/rake/lib/rake/task_argument_error.rb +7 -0
  84. data/vendor/rake/lib/rake/task_arguments.rb +78 -0
  85. data/vendor/rake/lib/rake/task_manager.rb +328 -0
  86. data/vendor/rake/lib/rake/tasklib.rb +24 -0
  87. data/vendor/rake/lib/rake/testtask.rb +175 -0
  88. data/vendor/rake/lib/rake/win32.rb +55 -0
  89. data/vendor/rake/lib/rake.rb +72 -0
  90. data/vendor/rake/rake.blurb +19 -0
  91. data/vendor/rake/rake.gemspec +214 -0
  92. data/vendor/rake/rakelib/extra.rake +8 -0
  93. data/vendor/rake/rakelib/publish.rake +22 -0
  94. data/vendor/rake/rakelib/rbx.rake +82 -0
  95. data/vendor/rake/rakelib/ruby19.rake +88 -0
  96. data/vendor/rake/rakelib/tags.rake +18 -0
  97. data/vendor/rake/test/capture_stdout.rb +26 -0
  98. data/vendor/rake/test/check_expansion.rb +5 -0
  99. data/vendor/rake/test/check_no_expansion.rb +5 -0
  100. data/vendor/rake/test/contrib/test_sys.rb +47 -0
  101. data/vendor/rake/test/data/chains/Rakefile +15 -0
  102. data/vendor/rake/test/data/comments/Rakefile +18 -0
  103. data/vendor/rake/test/data/default/Rakefile +19 -0
  104. data/vendor/rake/test/data/dryrun/Rakefile +22 -0
  105. data/vendor/rake/test/data/file_creation_task/Rakefile +33 -0
  106. data/vendor/rake/test/data/imports/Rakefile +19 -0
  107. data/vendor/rake/test/data/imports/deps.mf +1 -0
  108. data/vendor/rake/test/data/multidesc/Rakefile +17 -0
  109. data/vendor/rake/test/data/namespace/Rakefile +66 -0
  110. data/vendor/rake/test/data/nosearch/dummy +1 -0
  111. data/vendor/rake/test/data/rakelib/test1.rb +5 -0
  112. data/vendor/rake/test/data/rakelib/test2.rake +3 -0
  113. data/vendor/rake/test/data/rbext/rakefile.rb +3 -0
  114. data/vendor/rake/test/data/sample.mf +14 -0
  115. data/vendor/rake/test/data/statusreturn/Rakefile +8 -0
  116. data/vendor/rake/test/data/sys/sys1.rake +3 -0
  117. data/vendor/rake/test/data/unittest/Rakefile +1 -0
  118. data/vendor/rake/test/data/unittest/subdir/README +0 -0
  119. data/vendor/rake/test/data/verbose/Rakefile +34 -0
  120. data/vendor/rake/test/filecreation.rb +32 -0
  121. data/vendor/rake/test/functional/functional_test.rb +15 -0
  122. data/vendor/rake/test/functional/session_based_tests.rb +442 -0
  123. data/vendor/rake/test/in_environment.rb +32 -0
  124. data/vendor/rake/test/lib/application_test.rb +769 -0
  125. data/vendor/rake/test/lib/clean_test.rb +15 -0
  126. data/vendor/rake/test/lib/definitions_test.rb +85 -0
  127. data/vendor/rake/test/lib/dsl_test.rb +41 -0
  128. data/vendor/rake/test/lib/earlytime_test.rb +35 -0
  129. data/vendor/rake/test/lib/environment_test.rb +18 -0
  130. data/vendor/rake/test/lib/extension_test.rb +63 -0
  131. data/vendor/rake/test/lib/file_creation_task_test.rb +62 -0
  132. data/vendor/rake/test/lib/file_task_test.rb +143 -0
  133. data/vendor/rake/test/lib/filelist_test.rb +623 -0
  134. data/vendor/rake/test/lib/fileutils_test.rb +251 -0
  135. data/vendor/rake/test/lib/ftp_test.rb +59 -0
  136. data/vendor/rake/test/lib/invocation_chain_test.rb +81 -0
  137. data/vendor/rake/test/lib/makefile_loader_test.rb +26 -0
  138. data/vendor/rake/test/lib/multitask_test.rb +53 -0
  139. data/vendor/rake/test/lib/namespace_test.rb +55 -0
  140. data/vendor/rake/test/lib/package_task_test.rb +118 -0
  141. data/vendor/rake/test/lib/pathmap_test.rb +210 -0
  142. data/vendor/rake/test/lib/pseudo_status_test.rb +26 -0
  143. data/vendor/rake/test/lib/rake_test.rb +41 -0
  144. data/vendor/rake/test/lib/rdoc_task_test.rb +88 -0
  145. data/vendor/rake/test/lib/require_test.rb +35 -0
  146. data/vendor/rake/test/lib/rules_test.rb +349 -0
  147. data/vendor/rake/test/lib/task_arguments_test.rb +89 -0
  148. data/vendor/rake/test/lib/task_manager_test.rb +173 -0
  149. data/vendor/rake/test/lib/task_test.rb +376 -0
  150. data/vendor/rake/test/lib/tasklib_test.rb +12 -0
  151. data/vendor/rake/test/lib/test_task_test.rb +77 -0
  152. data/vendor/rake/test/lib/testtask_test.rb +49 -0
  153. data/vendor/rake/test/lib/top_level_functions_test.rb +86 -0
  154. data/vendor/rake/test/lib/win32_test.rb +72 -0
  155. data/vendor/rake/test/rake_test_setup.rb +24 -0
  156. data/vendor/rake/test/reqfile.rb +3 -0
  157. data/vendor/rake/test/reqfile2.rb +3 -0
  158. data/vendor/rake/test/reqfile3.rake +3 -0
  159. data/vendor/rake/test/shellcommand.rb +3 -0
  160. data/vendor/rake/test/test_helper.rb +13 -0
  161. metadata +212 -56
  162. /data/{rush → vendor/rush}/README.rdoc +0 -0
  163. /data/{rush → vendor/rush}/Rakefile +0 -0
  164. /data/{rush → vendor/rush}/VERSION +0 -0
  165. /data/{rush → vendor/rush}/bin/rush +0 -0
  166. /data/{rush → vendor/rush}/bin/rushd +0 -0
  167. /data/{rush → vendor/rush}/lib/rush/access.rb +0 -0
  168. /data/{rush → vendor/rush}/lib/rush/array_ext.rb +0 -0
  169. /data/{rush → vendor/rush}/lib/rush/box.rb +0 -0
  170. /data/{rush → vendor/rush}/lib/rush/commands.rb +0 -0
  171. /data/{rush → vendor/rush}/lib/rush/config.rb +0 -0
  172. /data/{rush → vendor/rush}/lib/rush/dir.rb +0 -0
  173. /data/{rush → vendor/rush}/lib/rush/embeddable_shell.rb +0 -0
  174. /data/{rush → vendor/rush}/lib/rush/entry.rb +0 -0
  175. /data/{rush → vendor/rush}/lib/rush/exceptions.rb +0 -0
  176. /data/{rush → vendor/rush}/lib/rush/file.rb +0 -0
  177. /data/{rush → vendor/rush}/lib/rush/find_by.rb +0 -0
  178. /data/{rush → vendor/rush}/lib/rush/fixnum_ext.rb +0 -0
  179. /data/{rush → vendor/rush}/lib/rush/head_tail.rb +0 -0
  180. /data/{rush → vendor/rush}/lib/rush/local.rb +0 -0
  181. /data/{rush → vendor/rush}/lib/rush/process.rb +0 -0
  182. /data/{rush → vendor/rush}/lib/rush/process_set.rb +0 -0
  183. /data/{rush → vendor/rush}/lib/rush/remote.rb +0 -0
  184. /data/{rush → vendor/rush}/lib/rush/search_results.rb +0 -0
  185. /data/{rush → vendor/rush}/lib/rush/server.rb +0 -0
  186. /data/{rush → vendor/rush}/lib/rush/shell.rb +0 -0
  187. /data/{rush → vendor/rush}/lib/rush/ssh_tunnel.rb +0 -0
  188. /data/{rush → vendor/rush}/lib/rush/string_ext.rb +0 -0
  189. /data/{rush → vendor/rush}/lib/rush.rb +0 -0
  190. /data/{rush → vendor/rush}/rush.gemspec +0 -0
  191. /data/{rush → vendor/rush}/spec/access_spec.rb +0 -0
  192. /data/{rush → vendor/rush}/spec/array_ext_spec.rb +0 -0
  193. /data/{rush → vendor/rush}/spec/base.rb +0 -0
  194. /data/{rush → vendor/rush}/spec/box_spec.rb +0 -0
  195. /data/{rush → vendor/rush}/spec/commands_spec.rb +0 -0
  196. /data/{rush → vendor/rush}/spec/config_spec.rb +0 -0
  197. /data/{rush → vendor/rush}/spec/dir_spec.rb +0 -0
  198. /data/{rush → vendor/rush}/spec/embeddable_shell_spec.rb +0 -0
  199. /data/{rush → vendor/rush}/spec/entry_spec.rb +0 -0
  200. /data/{rush → vendor/rush}/spec/file_spec.rb +0 -0
  201. /data/{rush → vendor/rush}/spec/find_by_spec.rb +0 -0
  202. /data/{rush → vendor/rush}/spec/fixnum_ext_spec.rb +0 -0
  203. /data/{rush → vendor/rush}/spec/local_spec.rb +0 -0
  204. /data/{rush → vendor/rush}/spec/process_set_spec.rb +0 -0
  205. /data/{rush → vendor/rush}/spec/process_spec.rb +0 -0
  206. /data/{rush → vendor/rush}/spec/remote_spec.rb +0 -0
  207. /data/{rush → vendor/rush}/spec/rush_spec.rb +0 -0
  208. /data/{rush → vendor/rush}/spec/search_results_spec.rb +0 -0
  209. /data/{rush → vendor/rush}/spec/shell_spec.rb +0 -0
  210. /data/{rush → vendor/rush}/spec/ssh_tunnel_spec.rb +0 -0
  211. /data/{rush → vendor/rush}/spec/string_ext_spec.rb +0 -0
  212. /data/{session → vendor/session}/lib/session-2.4.0.rb +0 -0
  213. /data/{session → vendor/session}/lib/session.rb +0 -0
  214. /data/{session → vendor/session}/test/session.rb +0 -0
@@ -0,0 +1,477 @@
1
+ = Rake Changelog
2
+
3
+ == Pre-Version 0.9.x
4
+
5
+ * Removed Rake's DSL methods from the top level scope. If you need to
6
+ call 'task :xzy' in your code, include Rake::DSL into your class, or
7
+ put the code in a Rake::DSL.environment do ... end block.
8
+
9
+ * Allow single line comments immediately prior to a task to be used in
10
+ place of +desc+.
11
+
12
+ * Split rake.rb into individual files.
13
+
14
+ * Support for the --where (-W) flag for showing where a task is defined.
15
+
16
+ * Fixed quoting in test task.
17
+ (http://onestepback.org/redmine/issues/show/44,
18
+ http://www.pivotaltracker.com/story/show/1223138)
19
+
20
+ * Fixed the silent option parsing problem.
21
+ (http://onestepback.org/redmine/issues/show/47)
22
+
23
+ * Fixed :verbose=>false flag on sh and ruby commands.
24
+
25
+ * Rake command line options may be given by default in a RAKEOPT
26
+ environment variable.
27
+
28
+ * Errors in Rake will now display the task invocation chain in effect
29
+ at the time of the error.
30
+
31
+ * Accepted change by warnickr to not expand test patterns in shell
32
+ (allowing more files in the test suite).
33
+
34
+ * Fixed that file tasks did not perform prereq lookups in scope
35
+ (Redmine #57).
36
+
37
+ == Version 0.8.7
38
+
39
+ * Fixed EXEEXT for JRuby on windows.
40
+
41
+ == Version 0.8.6
42
+
43
+ * Minor fixes to the RDoc generation (removed dependency on darkfish
44
+ and removed inline source option).
45
+
46
+ == PreVersion 0.8.6
47
+
48
+ * Now allow # comments to comment a task definition.
49
+
50
+ == Version 0.8.5
51
+
52
+ * Better support for the system command on Windows.
53
+
54
+ == Version 0.8.4
55
+
56
+ * Preserve case when locating rakefiles (patch from James
57
+ M. Lawrence/quix)
58
+
59
+ * Better support for windows paths in the test task (patch from Simon
60
+ Chiang/bahuvrihi)
61
+
62
+ * Windows system dir search order is now: HOME, HOMEDRIVE + HOMEPATH,
63
+ APPDATA, USERPROFILE (patch from Luis Lavena)
64
+
65
+ * MingGW is now recognized as a windows platform. (patch from Luis
66
+ Lavena)
67
+
68
+ * Numerous fixes to the windows test suite (patch from Luis Lavena).
69
+
70
+ * Improved Rakefile case insensitivity testing (patch from Luis
71
+ Lavena).
72
+
73
+ * Fixed stray ARGV option problem that was interfering with
74
+ Test::Unit::Runner.
75
+
76
+ * Fixed default verbose mode (was accidently changed to false).
77
+
78
+ * Removed reference to manage_gem to fix the warning produced by the
79
+ gem package task.
80
+
81
+ == Version 0.8.3
82
+
83
+ * Enhanced the system directory detection in windows. We now check
84
+ HOMEDRIVE/HOMEPATH and USERPROFILE if APPDATA isn't found. (Patch
85
+ supplied by James Tucker). Rake no long aborts if it can't find the
86
+ directory.
87
+
88
+ * Added fix to handle ruby installations in directories with spaces in
89
+ their name.
90
+
91
+ == Version 0.8.2
92
+
93
+ * Fixed bug in package task so that it will include the subdir
94
+ directory in the package for testing. (Bug found by Adam Majer)
95
+
96
+ * Added ENV var to rakefile to prevent OS X from including extended
97
+ attribute junk in a tar file. (Bug found by Adam Majer)
98
+
99
+ * Fixed filename dependency order bug in test_inspect_pending and
100
+ test_to_s_pending. (Bug found by Adam Majer)
101
+
102
+ * Fixed check for file utils options to make them immune to the
103
+ symbol/string differences. (Patch supplied by Edwin Pratomo)
104
+
105
+ * Fixed bug with rules involving multiple source (Patch supplied by
106
+ Emanuel Inderm�hle)
107
+
108
+ * Switched from getoptlong to optparse (patches supplied by Edwin
109
+ Pratomo)
110
+
111
+ * The -T option will now attempt to dynamically sense the size of the
112
+ terminal. RAKE_COLUMNS will override any dynamic sensing.
113
+
114
+ * FileList#clone and FileList#dup have better sematics w.r.t. taint
115
+ and freeze.
116
+
117
+ * Added ability clear prerequisites, and/or actions from an existing
118
+ task.
119
+
120
+ * Added the ability to reenable a task to be invoked a second time.
121
+
122
+ * Changed RDoc test task to have no default template. This makes it
123
+ easier for the tempate to pick up the template from the environment.
124
+
125
+ * Changed from using Mutex to Monitor. Evidently Mutex causes thread
126
+ join errors when Ruby is compiled with -disable-pthreads. (Patch
127
+ supplied by Ittay Dror)
128
+
129
+ * Fixed bug in makefile parser that had problems with extra spaces in
130
+ file task names. (Patch supplied by Ittay Dror)
131
+
132
+ * Added a performance patch for reading large makefile dependency
133
+ files. (Patch supplied by Ittay Dror)
134
+
135
+ * Default values for task arguments can easily be specified with the
136
+ :with_defaults method. (Idea for default argument merging supplied
137
+ by (Adam Q. Salter)
138
+
139
+ * The -T output will only self-truncate if the output is a tty.
140
+ However, if RAKE_COLUMNS is explicitly set, it will be honored in
141
+ any case. (Patch provided by Gavin Stark).
142
+
143
+ * Numerous fixes for running under windows. A big thanks to Bheeshmar
144
+ Redheendran for spending a good part of the afternoon at the
145
+ Lonestar Ruby Conference to help me work out these issues.
146
+
147
+ == Version 0.8.1
148
+
149
+ * Removed requires on parsedate.rb (in Ftptools)
150
+ * Removed ftools from rake.rb. Made it options in sys.rb
151
+
152
+ == Version 0.8.0
153
+
154
+ * Added task parameters (e.g. "rake build[version7]")
155
+ * Made task parameters passable to prerequisites.
156
+ * Comments are limited to 80 columns or so (suggested by Jamis Buck).
157
+ * Added -D to display full comments (suggested by Jamis Buck).
158
+ * The rake program will set the status value used in any explicit
159
+ exit(n) calls. (patch provided by Stephen Touset)
160
+ * Fixed error in functional tests that were not including session (and
161
+ silently skipping the functionl tests.
162
+ * Removed --usage and make -h the same as -H.
163
+ * Make a prettier inspect for tasks.
164
+
165
+ == Version 0.7.3
166
+
167
+ * Added existing and existing! methods to FileList
168
+ * FileLists now claim to be Arrays (via is_a?) to get better support
169
+ from the FileUtil module.
170
+ * Added init and top_level for custom rake applications.
171
+
172
+ == Version 0.7.2
173
+
174
+ * Error messages are now send to stderr rather than stdout (from
175
+ Payton Quackenbush).
176
+ * Better error handling on invalid command line arguments (from Payton
177
+ Quackenbush).
178
+ * Added rcov task and updated unit testing for better code coverage.
179
+ * Fixed some bugs where the application object was going to the global
180
+ appliation instead of using its own data.
181
+ * Added square and curly bracket patterns to FileList#include (Tilman
182
+ Sauerbeck).
183
+ * Added plain filename support to rule dependents (suggested by Nobu
184
+ Nakada).
185
+ * Added pathmap support to rule dependents.
186
+ * Added a 'tasks' method to a namespace to get a list of tasks
187
+ associated with the namespace.
188
+ * Fixed the method name leak from FileUtils (bug found by Glenn
189
+ Vanderburg).
190
+ * Added rake_extension to handle detection of extension collisions.
191
+ * Added test for noop, bad_option and verbose flags to sh command.
192
+ * Removed dependency on internal fu_xxx functions from FileUtils.
193
+ * Added a 'shame' task to the Rakefile.
194
+ * Added tar_command and zip_command options to the Package task.
195
+ * Added a description to the gem task in GemPackageTask.
196
+ * Fixed a bug when rules have multiple prerequisites (patch by Joel
197
+ VanderWerf)
198
+ * Added a protected 'require "rubygems"' to test/test_application to
199
+ unbreak cruisecontrol.rb.
200
+ * Added the handful of RakeFileUtils to the private method as well.
201
+ * Added block based exclusion.
202
+ * The clean task will no longer delete 'core' if it is a directory.
203
+ * Removed rake_dup. Now we just simply rescue a bad dup.
204
+ * Refactored the FileList reject logic to remove duplication.
205
+ * Removed if __FILE__ at the end of the rake.rb file.
206
+
207
+ == Version 0.7.1
208
+
209
+ * Added optional filter parameter to the --tasks command line option.
210
+ * Added flatten to allow rule transform procs to return lists of
211
+ prereqs (Joel VanderWerf provided patch).
212
+ * Added pathmap to String and FileList.
213
+ * The -r option will now load .rake files (but a straight require
214
+ doesn't yet). NOTE: This is experimental ... it may be
215
+ discontinued.
216
+ * The -f option without a value will disable the search for a
217
+ Rakefile. The assumption is that the -r files are adequate.
218
+ * Fixed the safe_ln function to fall back to cp in more error
219
+ scenarios.
220
+
221
+ == Version 0.7.0
222
+
223
+ * Added Rake.original_dir to return the original starting directory of
224
+ the rake application.
225
+ * Added safe_ln support for openAFS (from Ludvig Omholt).
226
+ * Added --trace reminder on short exception messages (David Heinemeier
227
+ Hansson suggestion).
228
+ * Added multitask declaration that executes prerequisites in
229
+ parallel. (Doug Young providied an initial implementation).
230
+ * Fixed missing_const hack to be compatible with Rails. (Jamis Buck
231
+ supplied test case).
232
+ * Made the RDoc task default to internal (in-process) RDoc formatting.
233
+ The old behavior is still available by setting the +external+ flag
234
+ to true.
235
+ * Rakefiles are now loaded with the expanded path to prevent
236
+ accidental polution from the Ruby load path.
237
+ * The +namespace+ command now returns a NameSpace object that can be
238
+ used to lookup tasks defined in that namespace. This allows for
239
+ better anonymous namespace behavior.
240
+ * Task objects my now be used in prerequisite lists directly.
241
+
242
+ == Version 0.6.1
243
+
244
+ * Rebuilt 0.6.0 gem without signing.
245
+
246
+ == Version 0.6.0
247
+
248
+ * Fixed file creation bug in the unit tests (caused infinite loop on
249
+ windows).
250
+ * Fixed bug where session based functional tests were run under
251
+ windows.
252
+ * Fixed bug in directory tasks so that updating a directory will not
253
+ retrigger file tasks depending on the directory (see
254
+ FileCreationTask and EarlyTime).
255
+ * Added egrep to FileList
256
+ * ruby command now runs same ruby version as rake.
257
+ * Added investigation to task object. (suggested by Martin Fowler)
258
+ * Added ruby_opts to the test task to allow arbitrary ruby options to
259
+ be passed to the test script. (Greg Fast)
260
+ * Fixed the test loader to ignore options. (Greg Fast)
261
+ * Moved Task, FileTask, FileCreationTask and RakeApp into the Rake
262
+ module namespace. Old style namespace behavior can be invoked via
263
+ the --classic-namespace option. (requested by Kelly Felkins).
264
+ * GemTask is now sensitive to the gem platform (Masao Mutoh).
265
+ * A non-existing file prerequisite will no longer cause an exception
266
+ (Philipp Neubeck).
267
+ * Multiple prerequisites on Rake rules now allowed (initial patch
268
+ supplied by Stuart Jansen).
269
+
270
+ == Version 0.5.4
271
+
272
+ * Added double quotes to the test runner.
273
+ * Added .svn to default ignore list.
274
+ * Updated FileList#include to support nested arrays and filelists.
275
+
276
+ == Version 0.5.3
277
+
278
+ * Added support for importing Rakefile and other dependencies.
279
+ * Fixed bug so that now rules can chain off of existing tasks as well
280
+ as existing files.
281
+ * Fixed verbose flag bug in the testing task. Shortened some failure
282
+ messages.
283
+ * Make FileUtils methods private at the top level module to avoid
284
+ accidental method leaking into other objects.
285
+ * Added test loader option to test task. "testrb" is no longer the
286
+ default test loader. It is now eating syntax errors that should
287
+ halt the unit tests.
288
+ * Revamped FileList so that it works more like and array (addressed
289
+ flatten bug). Added many tests around file list.
290
+ * Added +ext+ method to both String and FileList.
291
+
292
+ == Version 0.5.0
293
+
294
+ * Fixed documentation that was lacking the Rake module name (Tilman
295
+ Sauerbeck).
296
+ * Added tar.gz and tar.bz2 support to package task (Tilman Sauerbeck).
297
+ * Recursive rules are now supported (Tilman Sauerbeck).
298
+ * Added warning option for the Test Task (requested by Eric Hodel).
299
+ * The jamis rdoc template is only used if it exists.
300
+ * Added fix for Ruby 1.8.2 test/unit and rails problem.
301
+ * Added contributed rake man file (Jani Monoses).
302
+ * Added Brian Candler's fix for problems in --trace and --dry-run
303
+ mode.
304
+
305
+ == Version 0.4.15
306
+
307
+ * Fixed a bug that prevented the TESTOPTS flag from working with the
308
+ revised for 1.8.2 test task.
309
+ * Updated the docs on --trace to indicate that it also enables a full
310
+ backtrace on errors.
311
+
312
+ == Version 0.4.14
313
+
314
+ * Modified the TestTask to workaround the Ruby 1.8.2 change in
315
+ autoexecuting unit tests.
316
+
317
+ == Version 0.4.13
318
+
319
+ * Fixed the dry-run flag so it is operating again.
320
+ * Multiple arguments to sh and ruby commands will not be interpreted
321
+ by the shell (patch provided by Jonathan Paisley).
322
+
323
+ == Version 0.4.12
324
+
325
+ * Added --silent (-s) to suppress the (in directory) rake message.
326
+
327
+ == Version 0.4.11
328
+
329
+ * Changed the "don't know how to rake" message (finally)
330
+ * Changes references to a literal "Rakefile" to reference the global
331
+ variable $rakefile (which contains the actual name of the rakefile).
332
+
333
+ == Version 0.4.10
334
+
335
+ * Added block support to the "sh" command, allowing users to take
336
+ special actions on the result of the system call. E.g.
337
+
338
+ sh "shell_command" do |ok, res|
339
+ puts "Program returned #{res.exitstatus}" if ! ok
340
+ end
341
+
342
+ == Version 0.4.9
343
+
344
+ * Switched to Jamis Buck's RDoc template.
345
+ * Removed autorequire from Rake's gem spec. This prevents the Rake
346
+ libraries from loading while using rails.
347
+
348
+ == Version 0.4.8
349
+
350
+ * Added support for .rb versions of Rakefile.
351
+ * Removed \\\n's from test task.
352
+ * Fixed Ruby 1.9 compatibility issue with FileList.
353
+
354
+ == Version 0.4.7
355
+
356
+ * Fixed problem in FileList that caused Ruby 1.9 to go into infinite
357
+ recursion. Since to_a was removed from Object, it does not need to
358
+ added back into the list of methods to rewrite in FileList. (Thanks
359
+ to Kent Sibilev for pointing this out).
360
+
361
+ == Version 0.4.6
362
+ * Removed test version of ln in FileUtils that prevented safe_ln from
363
+ using ln.
364
+
365
+ == Version 0.4.5
366
+ * Upgraded comments in TestTask.
367
+ * FileList to_s and inspect now automatically resolve pending changes.
368
+ * FileList#exclude properly returns the FileList.
369
+
370
+ == Version 0.4.4
371
+ * Fixed initialization problem with @comment.
372
+ * Now using multi -r technique in TestTask. Switch Rakefile back to
373
+ using the built-in test task macros because the rake runtime is no
374
+ longer needed.
375
+ * Added 'TEST=filename' and 'TESTOPTS=options' to the Test Task
376
+ macros.
377
+ * Allow a +test_files+ attribute in test tasks. This allows more
378
+ flexibility in specifying test files.
379
+
380
+ == Version 0.4.3
381
+ * Fixed Comment leakage.
382
+
383
+ == Version 0.4.2
384
+ * Added safe_ln that falls back to a copy if a file link is not supported.
385
+ * Package builder now uses safe_ln.
386
+
387
+ == Version 0.4.1
388
+ * Task comments are now additive, combined with "/".
389
+ * Works with (soon to be released) rubygems 0.6.2 (or 0.7.0)
390
+
391
+ == Version 0.4.0
392
+ * FileList now uses deferred loading. The file system is not searched
393
+ until the first call that needs the file names.
394
+ * VAR=VALUE options are now accepted on the command line and are
395
+ treated like environment variables. The values may be tested in a
396
+ Rakefile by referencing ENV['VAR'].
397
+ * File.mtime is now used (instead of File.new().mtime).
398
+
399
+ == Version 0.3.2.x
400
+
401
+ * Removed some hidden dependencies on rubygems. Tests now will test
402
+ gems only if they are installed.
403
+ * Removed Sys from some example files. I believe that is that last
404
+ reference to Sys outside of the contrib area.
405
+ * Updated all copyright notices to include 2004.
406
+
407
+ == Version 0.3.2
408
+
409
+ * GEM Installation now works with the application stub.
410
+
411
+ == Version 0.3.1
412
+
413
+ * FileLists now automatically ignore CVS, .bak, !
414
+ * GEM Installation now works.
415
+
416
+ == Version 0.3.0
417
+
418
+ Promoted 0.2.10.
419
+
420
+ == Version 0.2.10
421
+ General
422
+
423
+ * Added title to Rake's rdocs
424
+ * Contrib packages are no longer included in the documentation.
425
+
426
+ RDoc Issues
427
+
428
+ * Removed default for the '--main' option
429
+ * Fixed rendering of the rdoc options
430
+ * Fixed clean/clobber confusion with rerdoc
431
+ * 'title' attribute added
432
+
433
+ Package Task Library Issues
434
+
435
+ * Version (or explicit :noversion) is required.
436
+ * +package_file+ attribute is now writable
437
+
438
+ FileList Issues
439
+
440
+ * Dropped bang version of exclude. Now using ant-like include/exclude semantics.
441
+ * Enabled the "yield self" idiom in FileList#initialize.
442
+
443
+ == Version 0.2.9
444
+
445
+ This version contains numerous changes as the RubyConf.new(2003)
446
+ presentation was being prepared. The changes include:
447
+
448
+ * The monolithic rubyapp task library is in the process of being
449
+ dropped in favor of lighter weight task libraries.
450
+
451
+ == Version 0.2.7
452
+
453
+ * Added "desc" for task descriptions.
454
+ * -T will now display tasks with descriptions.
455
+ * -P will display tasks and prerequisites.
456
+ * Dropped the Sys module in favor of the 1.8.x FileUtils module. Sys
457
+ is still supported in the contrib area.
458
+
459
+ == Version 0.2.6
460
+
461
+ * Moved to RubyForge
462
+
463
+ == Version 0.2.5
464
+
465
+ * Switched to standard ruby app builder.
466
+ * Added no_match option to file matcher.
467
+
468
+ == Version 0.2.4
469
+
470
+ * Fixed indir, which neglected to actually change directories.
471
+
472
+ == Version 0.2.3
473
+
474
+ * Added rake module for a help target
475
+ * Added 'for_files' to Sys
476
+ * Added a $rakefile constant
477
+ * Added test for selecting proper rule with multiple targets.
@@ -0,0 +1,21 @@
1
+ Copyright (c) 2003, 2004 Jim Weirich
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
+
@@ -0,0 +1,194 @@
1
+ = RAKE -- Ruby Make
2
+
3
+ Supporting Rake version: 0.8.7.
4
+
5
+ This package contains Rake, a simple ruby build program with
6
+ capabilities similar to make.
7
+
8
+ Rake has the following features:
9
+
10
+ * Rakefiles (rake's version of Makefiles) are completely defined in
11
+ standard Ruby syntax. No XML files to edit. No quirky Makefile
12
+ syntax to worry about (is that a tab or a space?)
13
+
14
+ * Users can specify tasks with prerequisites.
15
+
16
+ * Rake supports rule patterns to synthesize implicit tasks.
17
+
18
+ * Flexible FileLists that act like arrays but know about manipulating
19
+ file names and paths.
20
+
21
+ * A library of prepackaged tasks to make building rakefiles easier. For example,
22
+ tasks for building tarballs, gems and RDoc output are provided.
23
+
24
+ * Supports parallel execution of tasks.
25
+
26
+
27
+ == Installation
28
+
29
+ === Gem Installation
30
+
31
+ Download and install rake with the following.
32
+
33
+ gem install rake
34
+
35
+ === Normal Installation
36
+
37
+ You can download the source tarball of the latest version of Rake from
38
+
39
+ * http://rubyforge.org/project/showfiles.php?group_id=50
40
+
41
+ Extract the tarball and run
42
+
43
+ % ruby install.rb
44
+
45
+ from its distribution directory.
46
+
47
+ == Usage
48
+
49
+ === Simple Example
50
+
51
+ First, you must write a "Rakefile" file which contains the build rules. Here's
52
+ a simple example:
53
+
54
+ task :default => [:test]
55
+
56
+ task :test do
57
+ ruby "test/unittest.rb"
58
+ end
59
+
60
+ This Rakefile has two tasks:
61
+
62
+ * A task named "test", which - upon invocation - will run a unit test file in
63
+ Ruby.
64
+ * A task named "default". This task does nothing by itself, but it has exactly
65
+ one dependency, namely the "test" task. Invoking the "default" task will
66
+ cause Rake to invoke the "test" task as well.
67
+
68
+ Running the "rake" command without any options will cause it to run the
69
+ "default" task in the Rakefile:
70
+
71
+ % ls
72
+ Rakefile test/
73
+ % rake
74
+ (in /home/some_user/Projects/rake)
75
+ ruby test/unittest.rb
76
+ ....unit test output here...
77
+
78
+ Type "rake --help" for all available options.
79
+
80
+
81
+ === More Information
82
+
83
+ * For details on Rake's command-line invocation, read
84
+ doc/command_line_usage.rdoc[http://rake.rubyforge.org/files/doc/command_line_usage_rdoc.html]
85
+ * For details on writing Rakefiles, see
86
+ doc/rakefile.rdoc[http://rake.rubyforge.org/files/doc/rakefile_rdoc.html].
87
+ * For the original announcement of Rake, see
88
+ doc/rational.rdoc[http://rake.rubyforge.org/files/doc/rational_rdoc.html].
89
+ * For a glossary of terms, see
90
+ doc/glossary.rdoc[http://rake.rubyforge.org/files/doc/glossary_rdoc.html].
91
+
92
+ == Development
93
+
94
+ === Source Repository
95
+
96
+ Rake is currently hosted at github. The github web page is
97
+ http://github.com/jimweirich/rake. The public git clone URL is
98
+
99
+ * git://github.com/jimweirich/rake.git
100
+
101
+ === Running the Rake Test Suite
102
+
103
+ If you wish to run the unit and functional tests that come with Rake:
104
+
105
+ * Install the 'session' gem in order to run the functional tests.
106
+ * CD into the top project directory of rake.
107
+ * Type one of the following:
108
+
109
+ rake # If you have a version of rake installed
110
+ ruby -Ilib bin/rake # If you do not have a version of rake installed.
111
+
112
+ === Issues and Bug Reports
113
+
114
+ Bugs, features requests and other issues can be logged at
115
+
116
+ * http://onestepback.org/redmine/projects/show/rake
117
+
118
+ You will need an account to before you can post issues. Register at
119
+ http://onestepback.org/redmine/account/register. Or you can send me
120
+ an email (at jim dot weirich at gmail dot com)
121
+
122
+ == Online Resources
123
+
124
+ === Rake References
125
+
126
+ * Rake Documentation Home: http://docs.rubyrake.org
127
+ * Rake Project Page: http://rubyforge.org/projects/rake
128
+ * Rake API Documents: http://rake.rubyforge.org
129
+ * Rake Source Code Repo: http://github.com/jimweirich/rake
130
+ * Rake Git Repo Clone URL: git://github.com/jimweirich/rake.git
131
+
132
+ === Presentations and Articles about Rake
133
+
134
+ * Jim Weirich's 2003 RubyConf presentation: http://onestepback.org/articles/buildingwithrake/
135
+ * Martin Fowler's article on Rake: http://martinfowler.com/articles/rake.html
136
+
137
+ == Other Make Reinvisionings ...
138
+
139
+ Rake is a late entry in the make replacement field. Here are links to
140
+ other projects with similar (and not so similar) goals.
141
+
142
+ * http://directory.fsf.org/bras.html -- Bras, one of earliest
143
+ implementations of "make in a scripting language".
144
+ * http://www.a-a-p.org -- Make in Python
145
+ * http://www.aromatic.com/tools/jam.txt -- JAM, Java Automated Make
146
+ * http://ant.apache.org -- The Ant project
147
+ * http://ppt.perl.org/commands/make/index.html -- Make from the Perl
148
+ Power Tools implementation.
149
+ * http://search.cpan.org/search?query=PerlBuildSystem -- The Perl Build System
150
+ * http://make.rubyforge.org -- Rant, another Ruby make tool.
151
+
152
+ == Credits
153
+
154
+ [<b>Ryan Dlugosz</b>] For the initial conversation that sparked Rake.
155
+
156
+ [<b>nobu.nokada@softhome.net</b>] For the initial patch for rule support.
157
+
158
+ [<b>Tilman Sauerbeck <tilman@code-monkey.de></b>] For the recursive rule patch.
159
+
160
+ == License
161
+
162
+ Rake is available under an MIT-style license.
163
+
164
+ :include: MIT-LICENSE
165
+
166
+ == Support
167
+
168
+ The Rake homepage is http://rake.rubyforge.org. You can find the Rake
169
+ RubyForge page at http://rubyforge.org/projects/rake.
170
+
171
+ Feel free to submit commits or feature requests. If you send a patch,
172
+ remember to update the corresponding unit tests. If fact, I prefer
173
+ new feature to be submitted in the form of new unit tests.
174
+
175
+ For other information, feel free to ask on the ruby-talk mailing list
176
+ (which is mirrored to comp.lang.ruby) or contact
177
+ jim dot weirich at gmail.com.
178
+
179
+ ---
180
+
181
+ = Other stuff
182
+
183
+ Author:: Jim Weirich <jim.weirich@gmail.com>
184
+ Requires:: Ruby 1.8.0 or later
185
+ License:: Copyright 2003-2008 by Jim Weirich.
186
+ Released under an MIT-style license. See the LICENSE file
187
+ included in the distribution.
188
+
189
+ == Warranty
190
+
191
+ This software is provided "as is" and without any express or
192
+ implied warranties, including, without limitation, the implied
193
+ warranties of merchantibility and fitness for a particular
194
+ purpose.