rake 0.7.3 → 0.8.0
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 +15 -1
- data/Rakefile +72 -53
- data/TODO +1 -0
- data/bin/rake +24 -0
- data/lib/rake.rb +424 -214
- data/lib/rake/gempackagetask.rb +2 -0
- data/test/data/multidesc/Rakefile +3 -0
- data/test/data/statusreturn/Rakefile +8 -0
- data/test/functional.rb +2 -0
- data/test/rake_test_setup.rb +5 -0
- data/test/session_functional.rb +46 -1
- data/test/test_application.rb +98 -21
- data/test/test_extension.rb +63 -0
- data/test/test_filelist.rb +12 -4
- data/test/test_invocation_chain.rb +75 -0
- data/test/test_namespace.rb +7 -3
- data/test/test_package_task.rb +0 -14
- data/test/test_pathmap.rb +21 -0
- data/test/test_rules.rb +31 -5
- data/test/test_task_arguments.rb +76 -0
- data/test/test_tasks.rb +214 -4
- data/test/test_test_task.rb +1 -2
- data/test/test_top_level_functions.rb +7 -2
- metadata +20 -8
data/test/test_test_task.rb
CHANGED
@@ -7,7 +7,7 @@ class TestTestTask < Test::Unit::TestCase
|
|
7
7
|
include Rake
|
8
8
|
def setup
|
9
9
|
Task.clear
|
10
|
-
ENV
|
10
|
+
ENV.delete('TEST')
|
11
11
|
end
|
12
12
|
|
13
13
|
def teardown
|
@@ -43,7 +43,6 @@ class TestTestTask < Test::Unit::TestCase
|
|
43
43
|
end
|
44
44
|
|
45
45
|
def test_pattern
|
46
|
-
ENV['TEST'] = nil
|
47
46
|
tt = Rake::TestTask.new do |t|
|
48
47
|
t.pattern = '*.rb'
|
49
48
|
end
|
@@ -1,12 +1,17 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
+
begin
|
4
|
+
require 'rubygems'
|
5
|
+
rescue LoadError
|
6
|
+
# got no gems
|
7
|
+
end
|
8
|
+
|
3
9
|
require 'test/unit'
|
4
10
|
require 'test/capture_stdout'
|
5
11
|
require 'rake'
|
6
|
-
require 'flexmock'
|
12
|
+
require 'flexmock/test_unit'
|
7
13
|
|
8
14
|
class TestTopLevelFunctions < Test::Unit::TestCase
|
9
|
-
include FlexMock::TestCase
|
10
15
|
include CaptureStdout
|
11
16
|
|
12
17
|
def setup
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.
|
3
|
-
specification_version:
|
2
|
+
rubygems_version: 0.9.4.7
|
3
|
+
specification_version: 2
|
4
4
|
name: rake
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.
|
7
|
-
date: 2007-
|
6
|
+
version: 0.8.0
|
7
|
+
date: 2007-12-20 00:00:00 -05:00
|
8
8
|
summary: Ruby based make-like utility.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -16,15 +16,22 @@ autorequire:
|
|
16
16
|
default_executable: rake
|
17
17
|
bindir: bin
|
18
18
|
has_rdoc: true
|
19
|
-
required_ruby_version: !ruby/object:Gem::
|
19
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
|
-
- - "
|
21
|
+
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0
|
23
|
+
version: "0"
|
24
|
+
version:
|
25
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: "0"
|
24
30
|
version:
|
25
31
|
platform: ruby
|
26
32
|
signing_key:
|
27
|
-
cert_chain:
|
33
|
+
cert_chain: []
|
34
|
+
|
28
35
|
post_install_message:
|
29
36
|
authors:
|
30
37
|
- Jim Weirich
|
@@ -58,6 +65,7 @@ files:
|
|
58
65
|
- test/capture_stdout.rb
|
59
66
|
- test/filecreation.rb
|
60
67
|
- test/functional.rb
|
68
|
+
- test/rake_test_setup.rb
|
61
69
|
- test/reqfile.rb
|
62
70
|
- test/reqfile2.rb
|
63
71
|
- test/session_functional.rb
|
@@ -66,11 +74,13 @@ files:
|
|
66
74
|
- test/test_clean.rb
|
67
75
|
- test/test_definitions.rb
|
68
76
|
- test/test_earlytime.rb
|
77
|
+
- test/test_extension.rb
|
69
78
|
- test/test_file_creation_task.rb
|
70
79
|
- test/test_file_task.rb
|
71
80
|
- test/test_filelist.rb
|
72
81
|
- test/test_fileutils.rb
|
73
82
|
- test/test_ftp.rb
|
83
|
+
- test/test_invocation_chain.rb
|
74
84
|
- test/test_makefile_loader.rb
|
75
85
|
- test/test_multitask.rb
|
76
86
|
- test/test_namespace.rb
|
@@ -79,6 +89,7 @@ files:
|
|
79
89
|
- test/test_rake.rb
|
80
90
|
- test/test_require.rb
|
81
91
|
- test/test_rules.rb
|
92
|
+
- test/test_task_arguments.rb
|
82
93
|
- test/test_task_manager.rb
|
83
94
|
- test/test_tasks.rb
|
84
95
|
- test/test_test_task.rb
|
@@ -95,6 +106,7 @@ files:
|
|
95
106
|
- test/data/imports/Rakefile
|
96
107
|
- test/data/multidesc/Rakefile
|
97
108
|
- test/data/namespace/Rakefile
|
109
|
+
- test/data/statusreturn/Rakefile
|
98
110
|
- test/data/unittest/Rakefile
|
99
111
|
- doc/example
|
100
112
|
- doc/glossary.rdoc
|