reap 4.5.2 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -95,7 +95,7 @@ class Reap::Release < Reap::Task
95
95
 
96
96
  }
97
97
 
98
- alias_method :rel, :task
98
+ task_attr :rel
99
99
 
100
100
  def run
101
101
 
@@ -26,7 +26,7 @@ class Reap::Scaffold < Reap::Task
26
26
 
27
27
  }
28
28
 
29
- task_available { ! Reap.projectfile? }
29
+ task_available { |app| ! app.projectfile? }
30
30
 
31
31
  def run( type=nil )
32
32
  content = Dir.entries('.') - [ '.', '..' ]
@@ -3,6 +3,8 @@ require 'facet/gem/self/gempath'
3
3
 
4
4
  class Reap::Template < Reap::Task
5
5
 
6
+ #task_name 'template'
7
+
6
8
  task_desc "Create a ProjectInfo template."
7
9
 
8
10
  task_help %{
@@ -15,7 +17,7 @@ class Reap::Template < Reap::Task
15
17
 
16
18
  }
17
19
 
18
- task_available { ! Reap.projectfile? }
20
+ task_available { |app| ! app.projectfile? }
19
21
 
20
22
  # Copies the file from lib/data to the current dir.
21
23
 
@@ -31,8 +31,6 @@ class Reap::Test < Reap::Task
31
31
 
32
32
  task_desc "Run unit-tests (each in a separate process)."
33
33
 
34
- task_available { Reap.projectfile? }
35
-
36
34
  task_help %{
37
35
 
38
36
  reap test
@@ -53,7 +51,7 @@ class Reap::Test < Reap::Task
53
51
 
54
52
  }
55
53
 
56
- alias_method :tst, :task
54
+ task_attr :tst
57
55
 
58
56
  # Run testing task.
59
57
 
@@ -2,7 +2,6 @@
2
2
 
3
3
  require 'reap/task'
4
4
 
5
- #
6
5
  # Noop Task
7
6
  #
8
7
  # This task doesn't do anything except
@@ -13,7 +12,7 @@ class Reap::Noop < Reap::Task
13
12
 
14
13
  task_desc "A no-op task to help debug reap itself."
15
14
 
16
- alias_method :msg, :task
15
+ task_attr :msg
17
16
 
18
17
  def run
19
18
  puts ( msg.message || 'No message field in noop section.' )
metadata CHANGED
@@ -3,9 +3,9 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: reap
5
5
  version: !ruby/object:Gem::Version
6
- version: 4.5.2
7
- date: 2006-04-24 00:00:00 -04:00
8
- summary: The Bountiful Ruby Project Management Assistant
6
+ version: 5.0.0
7
+ date: 2006-05-04 00:00:00 -04:00
8
+ summary: The Flexible Ruby Project Management Assistant
9
9
  require_paths:
10
10
  - lib
11
11
  email: transfire@gmail.com
@@ -35,17 +35,16 @@ files:
35
35
  - task
36
36
  - lib
37
37
  - test
38
- - COPYING
39
38
  - ProjectInfo
40
39
  - setup.rb
41
- - README
42
- - package.rb
43
40
  - bin/reap
44
41
  - bin/rubytest
45
42
  - doc/ChangeLog
46
43
  - doc/note
47
44
  - doc/doap.xml
48
45
  - doc/LATEST
46
+ - doc/COPYING
47
+ - doc/README
49
48
  - doc/note/setup.rb
50
49
  - doc/note/license-each.rb
51
50
  - doc/note/sshpublisher.rb
@@ -62,6 +61,10 @@ files:
62
61
  - doc/note/Rakefile.htm
63
62
  - doc/note/scaffold.rb
64
63
  - doc/note/ProjectInfo.rb
64
+ - doc/note/application.rb
65
+ - doc/note/package.rb
66
+ - doc/note/intro.txt
67
+ - doc/note/Rakefile.0
65
68
  - doc/note/interface/interface.rb
66
69
  - doc/note/interface/rubyforge.rb
67
70
  - data/reap
@@ -111,7 +114,9 @@ files:
111
114
  - lib/reap/vendor
112
115
  - lib/reap/task.rb
113
116
  - lib/reap/reap.rb
117
+ - lib/reap/app.rb
114
118
  - lib/reap/rakeadapter.rb
119
+ - lib/reap/rake.rb
115
120
  - lib/reap/bin/reap.rb
116
121
  - lib/reap/bin/rubytest.rb
117
122
  - lib/reap/bin/rubylint.rb
@@ -123,6 +128,7 @@ files:
123
128
  - lib/reap/task/test.rb
124
129
  - lib/reap/task/extest.rb
125
130
  - lib/reap/task/scaffold.rb
131
+ - lib/reap/task/custom.rb
126
132
  - lib/reap/task/fileperm.rb
127
133
  - lib/reap/task/package.rb
128
134
  - lib/reap/task/info.rb