rake 0.4.10 → 0.4.11

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  = Rake Changelog
2
2
 
3
+ == pre Version 0.4.11
4
+
5
+ * Changed the "don't know how to rake" message (finally)
6
+ * Changes references to a literal "Rakefile" to reference the global
7
+ variable $rakefile (which contains the actual name of the rakefile).
8
+
3
9
  == Version 0.4.10
4
10
 
5
11
  * Added block support to the "sh" command, allowing users to take
data/Rakefile CHANGED
@@ -159,7 +159,7 @@ else
159
159
 
160
160
  s.author = "Jim Weirich"
161
161
  s.email = "jim@weirichhouse.org"
162
- s.homepage = "http://onestepback.org"
162
+ s.homepage = "http://rake.rubyforge.org"
163
163
  s.rubyforge_project = "rake"
164
164
  end
165
165
 
@@ -29,7 +29,7 @@
29
29
  # referenced as a library via a require statement, but it can be
30
30
  # distributed independently as an application.
31
31
 
32
- RAKEVERSION = '0.4.10'
32
+ RAKEVERSION = '0.4.11'
33
33
 
34
34
  require 'rbconfig'
35
35
  require 'ftools'
@@ -171,7 +171,7 @@ class Task
171
171
  if File.exist?(task_name)
172
172
  return FileTask.define_task(task_name)
173
173
  end
174
- fail "Don't know how to rake #{task_name}"
174
+ fail "Don't know how to build task '#{task_name}'"
175
175
  end
176
176
 
177
177
  # TRUE if the task name is already defined.
@@ -98,7 +98,7 @@ module Rake
98
98
 
99
99
  directory @rdoc_dir
100
100
  task name => [rdoc_target]
101
- file rdoc_target => @rdoc_files + ["Rakefile"] do
101
+ file rdoc_target => @rdoc_files + [$rakefile] do
102
102
  rm_r @rdoc_dir rescue nil
103
103
  opts = option_list.join(' ')
104
104
  sh %{rdoc -o #{@rdoc_dir} #{opts} #{@rdoc_files}}
@@ -45,7 +45,7 @@ class TestTask < Test::Unit::TestCase
45
45
  task :tfind
46
46
  assert_equal "tfind", Task[:tfind].name
47
47
  ex = assert_raises(RuntimeError) { Task[:leaves] }
48
- assert_equal "Don't know how to rake leaves", ex.message
48
+ assert_equal "Don't know how to build task 'leaves'", ex.message
49
49
  end
50
50
 
51
51
  def test_defined
metadata CHANGED
@@ -3,14 +3,14 @@ rubygems_version: 0.8.1
3
3
  specification_version: 1
4
4
  name: rake
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.4.10
7
- date: 2004-11-05
6
+ version: 0.4.11
7
+ date: 2004-11-12
8
8
  summary: Ruby based make-like utility.
9
9
  require_paths:
10
10
  - lib
11
11
  author: Jim Weirich
12
12
  email: jim@weirichhouse.org
13
- homepage: http://onestepback.org
13
+ homepage: http://rake.rubyforge.org
14
14
  rubyforge_project: rake
15
15
  description: Rake is a Make-like program implemented in Ruby. Tasks and dependencies are specified in standard Ruby syntax.
16
16
  autorequire:
@@ -28,9 +28,9 @@ platform: ruby
28
28
  files:
29
29
  - install.rb
30
30
  - CHANGES
31
- - Rakefile
32
31
  - README
33
32
  - TODO
33
+ - Rakefile
34
34
  - MIT-LICENSE
35
35
  - bin/rake
36
36
  - lib/rake.rb