rake 0.8.5 → 0.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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/README CHANGED
@@ -1,6 +1,6 @@
1
1
  = RAKE -- Ruby Make
2
2
 
3
- Supporting Rake version: 0.8.4
3
+ Supporting Rake version: 0.8.6
4
4
 
5
5
  This package contains Rake, a simple ruby build program with
6
6
  capabilities similar to make.
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 << '--line-numbers' << '--inline-source' <<
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 = rd.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
@@ -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.5'
32
+ RAKEVERSION = '0.8.7'
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,14 +952,18 @@ 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
  #
959
959
  module FileUtils
960
+ RUBY_EXT = ((Config::CONFIG['ruby_install_name'] =~ /\.(com|cmd|exe|bat|rb|sh)$/) ?
961
+ "" :
962
+ Config::CONFIG['EXEEXT'])
963
+
960
964
  RUBY = File.join(
961
965
  Config::CONFIG['bindir'],
962
- Config::CONFIG['ruby_install_name'] + Config::CONFIG['EXEEXT']).
966
+ Config::CONFIG['ruby_install_name'] + RUBY_EXT).
963
967
  sub(/.*\s.*/m, '"\&"')
964
968
 
965
969
  OPT_TABLE['sh'] = %w(noop verbose)
@@ -1056,7 +1060,7 @@ module FileUtils
1056
1060
  end
1057
1061
  end
1058
1062
 
1059
- # ###########################################################################
1063
+ #############################################################################
1060
1064
  # RakeFileUtils provides a custom version of the FileUtils methods that
1061
1065
  # respond to the <tt>verbose</tt> and <tt>nowrite</tt> commands.
1062
1066
  #
@@ -1187,7 +1191,7 @@ module RakeFileUtils
1187
1191
  extend self
1188
1192
  end
1189
1193
 
1190
- # ###########################################################################
1194
+ #############################################################################
1191
1195
  # Include the FileUtils file manipulation functions in the top level module,
1192
1196
  # but mark them private so that they don't unintentionally define methods on
1193
1197
  # other objects.
@@ -1199,7 +1203,7 @@ private(*RakeFileUtils.instance_methods(false))
1199
1203
  ######################################################################
1200
1204
  module Rake
1201
1205
 
1202
- # #########################################################################
1206
+ ###########################################################################
1203
1207
  # A FileList is essentially an array with a few helper methods defined to
1204
1208
  # make file manipulation a bit easier.
1205
1209
  #
@@ -1607,7 +1611,7 @@ end # module Rake
1607
1611
  # Alias FileList to be available at the top level.
1608
1612
  FileList = Rake::FileList
1609
1613
 
1610
- # ###########################################################################
1614
+ #############################################################################
1611
1615
  module Rake
1612
1616
 
1613
1617
  # Default Rakefile loader used by +import+.
@@ -1634,7 +1638,7 @@ module Rake
1634
1638
  EARLY = EarlyTime.instance
1635
1639
  end # module Rake
1636
1640
 
1637
- # ###########################################################################
1641
+ #############################################################################
1638
1642
  # Extensions to time to allow comparisons with an early time class.
1639
1643
  #
1640
1644
  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.5
4
+ version: 0.8.7
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-06 00:00:00 -07:00
12
+ date: 2009-05-15 00:00:00 -04:00
13
13
  default_executable: rake
14
14
  dependencies: []
15
15
 
@@ -44,6 +44,8 @@ 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
48
+ - doc/release_notes/rake-0.8.7.rdoc
47
49
  files:
48
50
  - install.rb
49
51
  - CHANGES
@@ -155,19 +157,17 @@ files:
155
157
  - doc/release_notes/rake-0.8.3.rdoc
156
158
  - doc/release_notes/rake-0.8.4.rdoc
157
159
  - doc/release_notes/rake-0.8.5.rdoc
160
+ - doc/release_notes/rake-0.8.6.rdoc
161
+ - doc/release_notes/rake-0.8.7.rdoc
158
162
  has_rdoc: true
159
163
  homepage: http://rake.rubyforge.org
160
164
  post_install_message:
161
165
  rdoc_options:
162
166
  - --line-numbers
163
- - --inline-source
164
167
  - --main
165
168
  - README
166
169
  - --title
167
170
  - Rake -- Ruby Make
168
- - -SHN
169
- - -f
170
- - darkfish
171
171
  require_paths:
172
172
  - lib
173
173
  required_ruby_version: !ruby/object:Gem::Requirement