rake 0.8.5 → 0.8.6
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.
- data/CHANGES +9 -0
- data/README +1 -1
- data/Rakefile +8 -4
- data/doc/release_notes/rake-0.8.6.rdoc +55 -0
- data/lib/rake.rb +13 -13
- metadata +4 -6
data/CHANGES
CHANGED
@@ -1,6 +1,15 @@
|
|
1
1
|
|
2
2
|
= Rake Changelog
|
3
3
|
|
4
|
+
== Version 0.8.6
|
5
|
+
|
6
|
+
* Minor fixes to the RDoc generation (removed dependency on darkfish
|
7
|
+
and removed inline source option).
|
8
|
+
|
9
|
+
== Version 0.8.5
|
10
|
+
|
11
|
+
* Better support for the system command on Windows.
|
12
|
+
|
4
13
|
== Version 0.8.4
|
5
14
|
|
6
15
|
* Preserve case when locating rakefiles (patch from James
|
data/README
CHANGED
data/Rakefile
CHANGED
@@ -135,13 +135,17 @@ rescue LoadError => ex
|
|
135
135
|
DARKFISH_ENABLED = false
|
136
136
|
end
|
137
137
|
|
138
|
+
BASE_RDOC_OPTIONS = [
|
139
|
+
'--line-numbers',
|
140
|
+
'--main', 'README',
|
141
|
+
'--title', 'Rake -- Ruby Make',
|
142
|
+
]
|
143
|
+
|
138
144
|
rd = Rake::RDocTask.new("rdoc") do |rdoc|
|
139
145
|
rdoc.rdoc_dir = 'html'
|
140
146
|
rdoc.template = 'doc/jamis.rb'
|
141
147
|
rdoc.title = "Rake -- Ruby Make"
|
142
|
-
rdoc.options
|
143
|
-
'--main' << 'README' <<
|
144
|
-
'--title' << 'Rake -- Ruby Make'
|
148
|
+
rdoc.options = BASE_RDOC_OPTIONS.dup
|
145
149
|
rdoc.options << '-SHN' << '-f' << 'darkfish' if DARKFISH_ENABLED
|
146
150
|
|
147
151
|
rdoc.rdoc_files.include('README', 'MIT-LICENSE', 'TODO', 'CHANGES')
|
@@ -209,7 +213,7 @@ else
|
|
209
213
|
|
210
214
|
s.has_rdoc = true
|
211
215
|
s.extra_rdoc_files = rd.rdoc_files.reject { |fn| fn =~ /\.rb$/ }.to_a
|
212
|
-
s.rdoc_options =
|
216
|
+
s.rdoc_options = BASE_RDOC_OPTIONS
|
213
217
|
|
214
218
|
#### Author and project details.
|
215
219
|
|
@@ -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
|
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.6'
|
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
|
@@ -457,7 +457,7 @@ end # module Rake
|
|
457
457
|
|
458
458
|
module Rake
|
459
459
|
|
460
|
-
|
460
|
+
###########################################################################
|
461
461
|
# A Task is the basic unit of work in a Rakefile. Tasks have associated
|
462
462
|
# actions (possibly more than one) and a list of prerequisites. When
|
463
463
|
# invoked, a task will first ensure that all of its prerequisites have an
|
@@ -757,7 +757,7 @@ module Rake
|
|
757
757
|
end # class Rake::Task
|
758
758
|
|
759
759
|
|
760
|
-
|
760
|
+
###########################################################################
|
761
761
|
# A FileTask is a task that includes time based dependencies. If any of a
|
762
762
|
# FileTask's prerequisites have a timestamp that is later than the file
|
763
763
|
# represented by this task, then the file must be rebuilt (using the
|
@@ -799,7 +799,7 @@ module Rake
|
|
799
799
|
end
|
800
800
|
end # class Rake::FileTask
|
801
801
|
|
802
|
-
|
802
|
+
###########################################################################
|
803
803
|
# A FileCreationTask is a file task that when used as a dependency will be
|
804
804
|
# needed if and only if the file has not been created. Once created, it is
|
805
805
|
# not re-triggered if any of its dependencies are newer, nor does trigger
|
@@ -818,7 +818,7 @@ module Rake
|
|
818
818
|
end
|
819
819
|
end
|
820
820
|
|
821
|
-
|
821
|
+
###########################################################################
|
822
822
|
# Same as a regular task, but the immediate prerequisites are done in
|
823
823
|
# parallel using Ruby threads.
|
824
824
|
#
|
@@ -833,7 +833,7 @@ module Rake
|
|
833
833
|
end
|
834
834
|
end # module Rake
|
835
835
|
|
836
|
-
|
836
|
+
## ###########################################################################
|
837
837
|
# Task Definition Functions ...
|
838
838
|
|
839
839
|
# Declare a basic task.
|
@@ -952,7 +952,7 @@ def import(*fns)
|
|
952
952
|
end
|
953
953
|
end
|
954
954
|
|
955
|
-
|
955
|
+
#############################################################################
|
956
956
|
# This a FileUtils extension that defines several additional commands to be
|
957
957
|
# added to the FileUtils utility functions.
|
958
958
|
#
|
@@ -1056,7 +1056,7 @@ module FileUtils
|
|
1056
1056
|
end
|
1057
1057
|
end
|
1058
1058
|
|
1059
|
-
|
1059
|
+
#############################################################################
|
1060
1060
|
# RakeFileUtils provides a custom version of the FileUtils methods that
|
1061
1061
|
# respond to the <tt>verbose</tt> and <tt>nowrite</tt> commands.
|
1062
1062
|
#
|
@@ -1187,7 +1187,7 @@ module RakeFileUtils
|
|
1187
1187
|
extend self
|
1188
1188
|
end
|
1189
1189
|
|
1190
|
-
|
1190
|
+
#############################################################################
|
1191
1191
|
# Include the FileUtils file manipulation functions in the top level module,
|
1192
1192
|
# but mark them private so that they don't unintentionally define methods on
|
1193
1193
|
# other objects.
|
@@ -1199,7 +1199,7 @@ private(*RakeFileUtils.instance_methods(false))
|
|
1199
1199
|
######################################################################
|
1200
1200
|
module Rake
|
1201
1201
|
|
1202
|
-
|
1202
|
+
###########################################################################
|
1203
1203
|
# A FileList is essentially an array with a few helper methods defined to
|
1204
1204
|
# make file manipulation a bit easier.
|
1205
1205
|
#
|
@@ -1607,7 +1607,7 @@ end # module Rake
|
|
1607
1607
|
# Alias FileList to be available at the top level.
|
1608
1608
|
FileList = Rake::FileList
|
1609
1609
|
|
1610
|
-
|
1610
|
+
#############################################################################
|
1611
1611
|
module Rake
|
1612
1612
|
|
1613
1613
|
# Default Rakefile loader used by +import+.
|
@@ -1634,7 +1634,7 @@ module Rake
|
|
1634
1634
|
EARLY = EarlyTime.instance
|
1635
1635
|
end # module Rake
|
1636
1636
|
|
1637
|
-
|
1637
|
+
#############################################################################
|
1638
1638
|
# Extensions to time to allow comparisons with an early time class.
|
1639
1639
|
#
|
1640
1640
|
class Time
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Weirich
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-05-
|
12
|
+
date: 2009-05-11 00:00:00 -04:00
|
13
13
|
default_executable: rake
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -44,6 +44,7 @@ extra_rdoc_files:
|
|
44
44
|
- doc/release_notes/rake-0.8.3.rdoc
|
45
45
|
- doc/release_notes/rake-0.8.4.rdoc
|
46
46
|
- doc/release_notes/rake-0.8.5.rdoc
|
47
|
+
- doc/release_notes/rake-0.8.6.rdoc
|
47
48
|
files:
|
48
49
|
- install.rb
|
49
50
|
- CHANGES
|
@@ -155,19 +156,16 @@ files:
|
|
155
156
|
- doc/release_notes/rake-0.8.3.rdoc
|
156
157
|
- doc/release_notes/rake-0.8.4.rdoc
|
157
158
|
- doc/release_notes/rake-0.8.5.rdoc
|
159
|
+
- doc/release_notes/rake-0.8.6.rdoc
|
158
160
|
has_rdoc: true
|
159
161
|
homepage: http://rake.rubyforge.org
|
160
162
|
post_install_message:
|
161
163
|
rdoc_options:
|
162
164
|
- --line-numbers
|
163
|
-
- --inline-source
|
164
165
|
- --main
|
165
166
|
- README
|
166
167
|
- --title
|
167
168
|
- Rake -- Ruby Make
|
168
|
-
- -SHN
|
169
|
-
- -f
|
170
|
-
- darkfish
|
171
169
|
require_paths:
|
172
170
|
- lib
|
173
171
|
required_ruby_version: !ruby/object:Gem::Requirement
|