drake 0.8.5.0.2.2 → 0.8.7.0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +13 -0
- data/CHANGES.drake +4 -0
- data/README +1 -1
- data/Rakefile +8 -4
- data/doc/release_notes/rake-0.8.6.rdoc +55 -0
- data/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/lib/rake.rb +18 -14
- metadata +6 -3
data/CHANGES
CHANGED
@@ -1,6 +1,19 @@
|
|
1
1
|
|
2
2
|
= Rake Changelog
|
3
3
|
|
4
|
+
== Version 0.8.7
|
5
|
+
|
6
|
+
* Fixed EXEEXT for JRuby on windows.
|
7
|
+
|
8
|
+
== Version 0.8.6
|
9
|
+
|
10
|
+
* Minor fixes to the RDoc generation (removed dependency on darkfish
|
11
|
+
and removed inline source option).
|
12
|
+
|
13
|
+
== Version 0.8.5
|
14
|
+
|
15
|
+
* Better support for the system command on Windows.
|
16
|
+
|
4
17
|
== Version 0.8.4
|
5
18
|
|
6
19
|
* Preserve case when locating rakefiles (patch from James
|
data/CHANGES.drake
CHANGED
data/README
CHANGED
@@ -58,7 +58,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
58
58
|
|
59
59
|
= RAKE -- Ruby Make -- <em>master branch</em>
|
60
60
|
|
61
|
-
Supporting Rake version: 0.8.
|
61
|
+
Supporting Rake version: 0.8.6
|
62
62
|
|
63
63
|
This package contains Rake, a simple ruby build program with
|
64
64
|
capabilities similar to make.
|
data/Rakefile
CHANGED
@@ -146,13 +146,17 @@ rescue LoadError => ex
|
|
146
146
|
DARKFISH_ENABLED = false
|
147
147
|
end
|
148
148
|
|
149
|
+
BASE_RDOC_OPTIONS = [
|
150
|
+
'--line-numbers',
|
151
|
+
'--main', 'README',
|
152
|
+
'--title', 'Drake: Distributed Rake',
|
153
|
+
]
|
154
|
+
|
149
155
|
rd = Rake::RDocTask.new("rdoc") do |rdoc|
|
150
156
|
rdoc.rdoc_dir = 'html'
|
151
157
|
rdoc.template = 'doc/jamis.rb'
|
152
158
|
rdoc.title = "Drake: Distributed Rake"
|
153
|
-
rdoc.options
|
154
|
-
'--main' << 'README' <<
|
155
|
-
'--title' << 'Drake: Distributed Rake'
|
159
|
+
rdoc.options = BASE_RDOC_OPTIONS.dup
|
156
160
|
rdoc.options << '-SHN' << '-f' << 'darkfish' if DARKFISH_ENABLED
|
157
161
|
rdoc.rdoc_files.include('README', 'MIT-LICENSE', 'TODO', 'CHANGES')
|
158
162
|
rdoc.rdoc_files.include('lib/**/*.rb', 'doc/**/*.rdoc')
|
@@ -220,7 +224,7 @@ else
|
|
220
224
|
|
221
225
|
s.has_rdoc = true
|
222
226
|
s.extra_rdoc_files = rd.rdoc_files.reject { |fn| fn =~ /\.rb$/ }.to_a
|
223
|
-
s.rdoc_options =
|
227
|
+
s.rdoc_options = BASE_RDOC_OPTIONS
|
224
228
|
|
225
229
|
#### Author and project details.
|
226
230
|
|
@@ -0,0 +1,55 @@
|
|
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.6 includes minor fixes the the RDoc generation.
|
8
|
+
|
9
|
+
== Changes
|
10
|
+
|
11
|
+
=== New Features / Enhancements in Version 0.8.5
|
12
|
+
|
13
|
+
* Improved implementation of the Rake system command for Windows.
|
14
|
+
(patch from James M. Lawrence/quix)
|
15
|
+
|
16
|
+
* Support for Ruby 1.9's improved system command. (patch from James
|
17
|
+
M. Lawrence/quix)
|
18
|
+
|
19
|
+
* Rake now includes the configured extension when invoking an
|
20
|
+
executable (Config::CONFIG['EXEEXT])
|
21
|
+
|
22
|
+
=== Bug Fixes in Version 0.8.5
|
23
|
+
|
24
|
+
* Environment variable keys are now correctly cased (it matters in
|
25
|
+
some implementations).
|
26
|
+
|
27
|
+
== What is Rake
|
28
|
+
|
29
|
+
Rake is a build tool similar to the make program in many ways. But
|
30
|
+
instead of cryptic make recipes, Rake uses standard Ruby code to
|
31
|
+
declare tasks and dependencies. You have the full power of a modern
|
32
|
+
scripting language built right into your build tool.
|
33
|
+
|
34
|
+
== Availability
|
35
|
+
|
36
|
+
The easiest way to get and install rake is via RubyGems ...
|
37
|
+
|
38
|
+
gem install rake (you may need root/admin privileges)
|
39
|
+
|
40
|
+
Otherwise, you can get it from the more traditional places:
|
41
|
+
|
42
|
+
Home Page:: http://rake.rubyforge.org/
|
43
|
+
Download:: http://rubyforge.org/project/showfiles.php?group_id=50
|
44
|
+
GitHub:: git://github.com/jimweirich/rake.git
|
45
|
+
|
46
|
+
== Thanks
|
47
|
+
|
48
|
+
As usual, it was input from users that drove a alot of these changes. The
|
49
|
+
following people either contributed patches, made suggestions or made
|
50
|
+
otherwise helpful comments. Thanks to ...
|
51
|
+
|
52
|
+
* James M. Lawrence/quix
|
53
|
+
* Luis Lavena
|
54
|
+
|
55
|
+
-- Jim Weirich
|
@@ -0,0 +1,55 @@
|
|
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
|
data/lib/rake.rb
CHANGED
@@ -29,7 +29,7 @@
|
|
29
29
|
# as a library via a require statement, but it can be distributed
|
30
30
|
# independently as an application.
|
31
31
|
|
32
|
-
RAKEVERSION = '0.8.
|
32
|
+
RAKEVERSION = '0.8.7.0.2.3'
|
33
33
|
|
34
34
|
require 'rbconfig'
|
35
35
|
require 'fileutils'
|
@@ -282,7 +282,7 @@ module Rake
|
|
282
282
|
|
283
283
|
end
|
284
284
|
|
285
|
-
|
285
|
+
####################################################################
|
286
286
|
# Mixin for creating easily cloned objects.
|
287
287
|
#
|
288
288
|
module Cloneable
|
@@ -459,7 +459,7 @@ end # module Rake
|
|
459
459
|
|
460
460
|
module Rake
|
461
461
|
|
462
|
-
|
462
|
+
###########################################################################
|
463
463
|
# A Task is the basic unit of work in a Rakefile. Tasks have associated
|
464
464
|
# actions (possibly more than one) and a list of prerequisites. When
|
465
465
|
# invoked, a task will first ensure that all of its prerequisites have an
|
@@ -784,7 +784,7 @@ module Rake
|
|
784
784
|
end # class Rake::Task
|
785
785
|
|
786
786
|
|
787
|
-
|
787
|
+
###########################################################################
|
788
788
|
# A FileTask is a task that includes time based dependencies. If any of a
|
789
789
|
# FileTask's prerequisites have a timestamp that is later than the file
|
790
790
|
# represented by this task, then the file must be rebuilt (using the
|
@@ -826,7 +826,7 @@ module Rake
|
|
826
826
|
end
|
827
827
|
end # class Rake::FileTask
|
828
828
|
|
829
|
-
|
829
|
+
###########################################################################
|
830
830
|
# A FileCreationTask is a file task that when used as a dependency will be
|
831
831
|
# needed if and only if the file has not been created. Once created, it is
|
832
832
|
# not re-triggered if any of its dependencies are newer, nor does trigger
|
@@ -845,7 +845,7 @@ module Rake
|
|
845
845
|
end
|
846
846
|
end
|
847
847
|
|
848
|
-
|
848
|
+
###########################################################################
|
849
849
|
# Same as a regular task, but the immediate prerequisites are done in
|
850
850
|
# parallel using Ruby threads.
|
851
851
|
#
|
@@ -860,7 +860,7 @@ module Rake
|
|
860
860
|
end
|
861
861
|
end # module Rake
|
862
862
|
|
863
|
-
|
863
|
+
## ###########################################################################
|
864
864
|
# Task Definition Functions ...
|
865
865
|
|
866
866
|
# Declare a basic task.
|
@@ -979,14 +979,18 @@ def import(*fns)
|
|
979
979
|
end
|
980
980
|
end
|
981
981
|
|
982
|
-
|
982
|
+
#############################################################################
|
983
983
|
# This a FileUtils extension that defines several additional commands to be
|
984
984
|
# added to the FileUtils utility functions.
|
985
985
|
#
|
986
986
|
module FileUtils
|
987
|
+
RUBY_EXT = ((Config::CONFIG['ruby_install_name'] =~ /\.(com|cmd|exe|bat|rb|sh)$/) ?
|
988
|
+
"" :
|
989
|
+
Config::CONFIG['EXEEXT'])
|
990
|
+
|
987
991
|
RUBY = File.join(
|
988
992
|
Config::CONFIG['bindir'],
|
989
|
-
Config::CONFIG['ruby_install_name'] +
|
993
|
+
Config::CONFIG['ruby_install_name'] + RUBY_EXT).
|
990
994
|
sub(/.*\s.*/m, '"\&"')
|
991
995
|
|
992
996
|
OPT_TABLE['sh'] = %w(noop verbose)
|
@@ -1083,7 +1087,7 @@ module FileUtils
|
|
1083
1087
|
end
|
1084
1088
|
end
|
1085
1089
|
|
1086
|
-
|
1090
|
+
#############################################################################
|
1087
1091
|
# RakeFileUtils provides a custom version of the FileUtils methods that
|
1088
1092
|
# respond to the <tt>verbose</tt> and <tt>nowrite</tt> commands.
|
1089
1093
|
#
|
@@ -1214,7 +1218,7 @@ module RakeFileUtils
|
|
1214
1218
|
extend self
|
1215
1219
|
end
|
1216
1220
|
|
1217
|
-
|
1221
|
+
#############################################################################
|
1218
1222
|
# Include the FileUtils file manipulation functions in the top level module,
|
1219
1223
|
# but mark them private so that they don't unintentionally define methods on
|
1220
1224
|
# other objects.
|
@@ -1226,7 +1230,7 @@ private(*RakeFileUtils.instance_methods(false))
|
|
1226
1230
|
######################################################################
|
1227
1231
|
module Rake
|
1228
1232
|
|
1229
|
-
|
1233
|
+
###########################################################################
|
1230
1234
|
# A FileList is essentially an array with a few helper methods defined to
|
1231
1235
|
# make file manipulation a bit easier.
|
1232
1236
|
#
|
@@ -1634,7 +1638,7 @@ end # module Rake
|
|
1634
1638
|
# Alias FileList to be available at the top level.
|
1635
1639
|
FileList = Rake::FileList
|
1636
1640
|
|
1637
|
-
|
1641
|
+
#############################################################################
|
1638
1642
|
module Rake
|
1639
1643
|
|
1640
1644
|
# Default Rakefile loader used by +import+.
|
@@ -1661,7 +1665,7 @@ module Rake
|
|
1661
1665
|
EARLY = EarlyTime.instance
|
1662
1666
|
end # module Rake
|
1663
1667
|
|
1664
|
-
|
1668
|
+
#############################################################################
|
1665
1669
|
# Extensions to time to allow comparisons with an early time class.
|
1666
1670
|
#
|
1667
1671
|
class Time
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: drake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.7.0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James M. Lawrence
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-05-
|
12
|
+
date: 2009-05-27 00:00:00 -04:00
|
13
13
|
default_executable: drake
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -54,6 +54,8 @@ extra_rdoc_files:
|
|
54
54
|
- doc/release_notes/rake-0.8.3.rdoc
|
55
55
|
- doc/release_notes/rake-0.8.4.rdoc
|
56
56
|
- doc/release_notes/rake-0.8.5.rdoc
|
57
|
+
- doc/release_notes/rake-0.8.6.rdoc
|
58
|
+
- doc/release_notes/rake-0.8.7.rdoc
|
57
59
|
files:
|
58
60
|
- install.rb
|
59
61
|
- CHANGES
|
@@ -172,12 +174,13 @@ files:
|
|
172
174
|
- doc/release_notes/rake-0.8.3.rdoc
|
173
175
|
- doc/release_notes/rake-0.8.4.rdoc
|
174
176
|
- doc/release_notes/rake-0.8.5.rdoc
|
177
|
+
- doc/release_notes/rake-0.8.6.rdoc
|
178
|
+
- doc/release_notes/rake-0.8.7.rdoc
|
175
179
|
has_rdoc: true
|
176
180
|
homepage: http://drake.rubyforge.org
|
177
181
|
post_install_message:
|
178
182
|
rdoc_options:
|
179
183
|
- --line-numbers
|
180
|
-
- --inline-source
|
181
184
|
- --main
|
182
185
|
- README
|
183
186
|
- --title
|