reap 0.6.1 → 3.01

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. data/{ANN-0.6.1 → ANN} +0 -0
  2. data/ChangeLog +19 -8
  3. data/ProjectInfo +25 -0
  4. data/README +76 -11
  5. data/Rakefile +139 -17
  6. data/bin/reap +159 -0
  7. data/lib/reap/{announce-task.rb → announce_task.rb} +43 -41
  8. data/lib/reap/{chmod-task.rb → filemod_task.rb} +24 -20
  9. data/lib/reap/info_task.rb +29 -0
  10. data/lib/reap/noop_task.rb +35 -0
  11. data/lib/reap/{package-task.rb → package_task.rb} +63 -43
  12. data/lib/reap/projectinfo.rb +40 -0
  13. data/lib/reap/{publish-task.rb → publish_task.rb} +21 -17
  14. data/lib/reap/{rdoc-task.rb → rdoc_task.rb} +24 -19
  15. data/lib/reap/ready_made.rb +12 -0
  16. data/lib/reap/task.rb +89 -162
  17. data/lib/reap/tasks.rb +9 -0
  18. data/lib/reap/{test-task.rb → test_task.rb} +35 -15
  19. data/lib/reap/web_publish_task.rb +49 -0
  20. data/pub/grape.jpg +0 -0
  21. data/pub/www/index.html +61 -21
  22. data/pub/www/rdoc/classes/ProjectInfo.html +207 -0
  23. data/pub/www/rdoc/classes/ProjectInfo.src/M000055.html +18 -0
  24. data/pub/www/rdoc/classes/ProjectInfo.src/M000056.html +23 -0
  25. data/pub/www/rdoc/classes/ProjectInfo.src/M000057.html +18 -0
  26. data/pub/www/rdoc/classes/ProjectInfo.src/M000058.html +21 -0
  27. data/pub/www/rdoc/classes/ProjectInfo.src/M000059.html +18 -0
  28. data/pub/www/rdoc/classes/RakeTask.html +182 -0
  29. data/pub/www/rdoc/classes/RakeTask.src/M000051.html +18 -0
  30. data/pub/www/rdoc/classes/RakeTask.src/M000052.html +18 -0
  31. data/pub/www/rdoc/classes/RakeTask.src/M000053.html +18 -0
  32. data/pub/www/rdoc/classes/RakeTask.src/M000054.html +18 -0
  33. data/pub/www/rdoc/classes/Reap.html +57 -4
  34. data/pub/www/rdoc/classes/Reap/AnnounceTask.html +140 -14
  35. data/pub/www/rdoc/classes/Reap/AnnounceTask.src/M000039.html +16 -0
  36. data/pub/www/rdoc/classes/Reap/{TemplateTask.src/M000021.html → AnnounceTask.src/M000040.html} +4 -4
  37. data/pub/www/rdoc/classes/Reap/AnnounceTask.src/{M000031.html → M000041.html} +34 -34
  38. data/pub/www/rdoc/classes/Reap/AnnounceTask.src/{M000032.html → M000042.html} +1 -1
  39. data/pub/www/rdoc/classes/Reap/FilemodTask.html +254 -0
  40. data/pub/www/rdoc/classes/Reap/FilemodTask.src/M000027.html +16 -0
  41. data/pub/www/rdoc/classes/Reap/FilemodTask.src/M000028.html +18 -0
  42. data/pub/www/rdoc/classes/Reap/FilemodTask.src/M000029.html +21 -0
  43. data/pub/www/rdoc/classes/Reap/{ChmodTask.src/M000017.html → FilemodTask.src/M000030.html} +3 -3
  44. data/pub/www/rdoc/classes/Reap/{ChmodTask.src/M000018.html → FilemodTask.src/M000031.html} +2 -2
  45. data/pub/www/rdoc/classes/Reap/FilemodTask.src/M000032.html +18 -0
  46. data/pub/www/rdoc/classes/Reap/{TemplateTask.html → InfoTask.html} +46 -34
  47. data/pub/www/rdoc/classes/Reap/InfoTask.src/M000047.html +16 -0
  48. data/pub/www/rdoc/classes/Reap/{Task.src/M000026.html → InfoTask.src/M000048.html} +4 -4
  49. data/pub/www/rdoc/classes/Reap/{Task.src/M000025.html → InfoTask.src/M000049.html} +2 -3
  50. data/pub/www/rdoc/classes/Reap/InfoTask.src/M000050.html +18 -0
  51. data/pub/www/rdoc/classes/Reap/NoopTask.html +210 -0
  52. data/pub/www/rdoc/classes/Reap/NoopTask.src/M000043.html +16 -0
  53. data/pub/www/rdoc/classes/Reap/NoopTask.src/M000044.html +18 -0
  54. data/pub/www/rdoc/classes/Reap/{Task.src/M000028.html → NoopTask.src/M000045.html} +4 -3
  55. data/pub/www/rdoc/classes/Reap/NoopTask.src/M000046.html +18 -0
  56. data/pub/www/rdoc/classes/Reap/PackageTask.html +179 -22
  57. data/pub/www/rdoc/classes/Reap/PackageTask.src/M000005.html +16 -0
  58. data/pub/www/rdoc/classes/Reap/PackageTask.src/M000006.html +24 -0
  59. data/pub/www/rdoc/classes/Reap/PackageTask.src/M000007.html +53 -0
  60. data/pub/www/rdoc/classes/Reap/PackageTask.src/{M000002.html → M000008.html} +3 -4
  61. data/pub/www/rdoc/classes/Reap/PackageTask.src/{M000003.html → M000009.html} +1 -1
  62. data/pub/www/rdoc/classes/Reap/PublishTask.html +85 -14
  63. data/pub/www/rdoc/classes/Reap/PublishTask.src/M000023.html +16 -0
  64. data/pub/www/rdoc/classes/Reap/PublishTask.src/M000024.html +18 -0
  65. data/pub/www/rdoc/classes/Reap/PublishTask.src/M000025.html +22 -0
  66. data/pub/www/rdoc/classes/Reap/PublishTask.src/{M000020.html → M000026.html} +2 -2
  67. data/pub/www/rdoc/classes/Reap/RDocTask.html +37 -21
  68. data/pub/www/rdoc/classes/Reap/RDocTask.src/M000001.html +16 -0
  69. data/pub/www/rdoc/classes/Reap/RDocTask.src/M000002.html +18 -0
  70. data/pub/www/rdoc/classes/Reap/RDocTask.src/M000003.html +25 -0
  71. data/pub/www/rdoc/classes/Reap/RDocTask.src/M000004.html +39 -10
  72. data/pub/www/rdoc/classes/Reap/Task.html +44 -124
  73. data/pub/www/rdoc/classes/Reap/Task.src/M000033.html +21 -0
  74. data/pub/www/rdoc/classes/Reap/Task.src/{M000030.html → M000034.html} +4 -5
  75. data/pub/www/rdoc/classes/Reap/Task.src/M000035.html +41 -0
  76. data/pub/www/rdoc/classes/Reap/Task.src/M000036.html +16 -0
  77. data/pub/www/rdoc/classes/Reap/Task.src/M000037.html +18 -0
  78. data/pub/www/rdoc/classes/Reap/Task.src/M000038.html +19 -0
  79. data/pub/www/rdoc/classes/Reap/TestTask.html +66 -32
  80. data/pub/www/rdoc/classes/Reap/TestTask.src/M000014.html +16 -0
  81. data/pub/www/rdoc/classes/Reap/TestTask.src/M000015.html +18 -0
  82. data/pub/www/rdoc/classes/Reap/TestTask.src/M000016.html +25 -0
  83. data/pub/www/rdoc/classes/Reap/TestTask.src/{M000009.html → M000017.html} +5 -5
  84. data/pub/www/rdoc/classes/Reap/TestTask.src/{M000010.html → M000018.html} +3 -3
  85. data/pub/www/rdoc/classes/Reap/TestTask.src/{M000011.html → M000019.html} +1 -1
  86. data/pub/www/rdoc/classes/Reap/TestTask/TestResults.html +17 -17
  87. data/pub/www/rdoc/classes/Reap/TestTask/TestResults.src/{M000012.html → M000020.html} +1 -1
  88. data/pub/www/rdoc/classes/Reap/TestTask/TestResults.src/{M000013.html → M000021.html} +1 -1
  89. data/pub/www/rdoc/classes/Reap/TestTask/TestResults.src/{M000014.html → M000022.html} +1 -1
  90. data/pub/www/rdoc/classes/Reap/{ChmodTask.html → WebPublishTask.html} +46 -35
  91. data/pub/www/rdoc/classes/Reap/WebPublishTask.src/M000010.html +16 -0
  92. data/pub/www/rdoc/classes/Reap/WebPublishTask.src/M000011.html +18 -0
  93. data/pub/www/rdoc/classes/Reap/WebPublishTask.src/M000012.html +21 -0
  94. data/pub/www/rdoc/classes/Reap/WebPublishTask.src/M000013.html +32 -0
  95. data/pub/www/rdoc/classes/ReapTask.html +287 -0
  96. data/pub/www/rdoc/classes/ReapTask.src/M000060.html +18 -0
  97. data/pub/www/rdoc/classes/ReapTask.src/M000061.html +18 -0
  98. data/pub/www/rdoc/classes/ReapTask.src/M000062.html +18 -0
  99. data/pub/www/rdoc/classes/ReapTask.src/M000063.html +18 -0
  100. data/pub/www/rdoc/classes/ReapTask.src/M000064.html +18 -0
  101. data/pub/www/rdoc/classes/ReapTask.src/M000065.html +18 -0
  102. data/pub/www/rdoc/classes/ReapTask.src/M000066.html +18 -0
  103. data/pub/www/rdoc/classes/ReapTask.src/M000067.html +18 -0
  104. data/pub/www/rdoc/classes/ReapTask.src/M000068.html +18 -0
  105. data/pub/www/rdoc/created.rid +1 -1
  106. data/pub/www/rdoc/files/{lib/reap2/publish-task_rb.html → LICENSE.html} +19 -7
  107. data/pub/www/rdoc/files/README.html +271 -0
  108. data/pub/www/rdoc/files/lib/{reap2/announce-task_rb.html → reap/announce_task_rb.html} +5 -4
  109. data/pub/www/rdoc/files/lib/{reap2/template-task_rb.html → reap/filemod_task_rb.html} +5 -5
  110. data/pub/www/rdoc/files/lib/{reap2/rdoc-task_rb.html → reap/info_task_rb.html} +5 -5
  111. data/pub/www/rdoc/files/lib/{reap2/chmod-task_rb.html → reap/noop_task_rb.html} +5 -5
  112. data/pub/www/rdoc/files/lib/{reap2/package-task_rb.html → reap/package_task_rb.html} +5 -4
  113. data/pub/www/rdoc/files/lib/reap/projectinfo_rb.html +111 -0
  114. data/pub/www/rdoc/files/lib/reap/publish_task_rb.html +108 -0
  115. data/pub/www/rdoc/files/lib/reap/rdoc_task_rb.html +108 -0
  116. data/pub/www/rdoc/files/lib/reap/ready_made_rb.html +115 -0
  117. data/pub/www/rdoc/files/lib/{reap2 → reap}/task_rb.html +5 -6
  118. data/pub/www/rdoc/files/lib/reap/tasks_rb.html +115 -0
  119. data/pub/www/rdoc/files/lib/{reap2/test-task_rb.html → reap/test_task_rb.html} +5 -10
  120. data/pub/www/rdoc/files/lib/reap/web_publish_task_rb.html +108 -0
  121. data/pub/www/rdoc/fr_class_index.html +7 -2
  122. data/pub/www/rdoc/fr_file_index.html +15 -9
  123. data/pub/www/rdoc/fr_method_index.html +68 -32
  124. data/pub/www/rdoc/index.html +1 -1
  125. data/test/tc_reap.rb +1 -1
  126. metadata +126 -58
  127. data/Reapfile +0 -99
  128. data/lib/reap/reap-all.rb +0 -15
  129. data/lib/reap/template-task.rb +0 -40
  130. data/pub/www/rdoc/classes/Reap/ChmodTask.src/M000015.html +0 -21
  131. data/pub/www/rdoc/classes/Reap/ChmodTask.src/M000016.html +0 -21
  132. data/pub/www/rdoc/classes/Reap/PackageTask.src/M000001.html +0 -49
  133. data/pub/www/rdoc/classes/Reap/PublishTask.src/M000019.html +0 -24
  134. data/pub/www/rdoc/classes/Reap/RDocTask.src/M000005.html +0 -21
  135. data/pub/www/rdoc/classes/Reap/RDocTask.src/M000006.html +0 -53
  136. data/pub/www/rdoc/classes/Reap/Task.src/M000024.html +0 -21
  137. data/pub/www/rdoc/classes/Reap/Task.src/M000027.html +0 -28
  138. data/pub/www/rdoc/classes/Reap/Task.src/M000029.html +0 -18
  139. data/pub/www/rdoc/classes/Reap/TemplateTask.src/M000022.html +0 -21
  140. data/pub/www/rdoc/classes/Reap/TemplateTask.src/M000023.html +0 -34
  141. data/pub/www/rdoc/classes/Reap/TestTask.src/M000007.html +0 -25
  142. data/pub/www/rdoc/classes/Reap/TestTask.src/M000008.html +0 -21
  143. data/pub/www/rdoc/files/lib/reap2/reap-all_rb.html +0 -110
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>default_name (Reap::AnnounceTask)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/reap/announce_task.rb, line 22</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">default_name</span> ; <span class="ruby-value str">&quot;announce&quot;</span> ; <span class="ruby-keyword kw">end</span></pre>
15
+ </body>
16
+ </html>
@@ -5,14 +5,14 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>init (Reap::TemplateTask)</title>
8
+ <title>default_desc (Reap::AnnounceTask)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/reap2/template-task.rb, line 9</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init</span>
15
- <span class="ruby-ivar">@file_name</span> = <span class="ruby-identifier">section</span>[<span class="ruby-value str">'file'</span>] <span class="ruby-operator">||</span> <span class="ruby-value str">'Reapfile'</span>
13
+ <pre><span class="ruby-comment cmt"># File lib/reap/announce_task.rb, line 23</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">default_desc</span>
15
+ <span class="ruby-value str">&quot;send [ANN] email to ruby-talk or other list [reap]&quot;</span>
16
16
  <span class="ruby-keyword kw">end</span></pre>
17
17
  </body>
18
18
  </html>
@@ -5,27 +5,30 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>setup (Reap::AnnounceTask)</title>
8
+ <title>init (Reap::AnnounceTask)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/reap2/announce-task.rb, line 16</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span>
15
- <span class="ruby-ivar">@address</span> = <span class="ruby-identifier">section</span>[<span class="ruby-value str">'to'</span>]
16
- <span class="ruby-ivar">@from</span> = <span class="ruby-identifier">section</span>[<span class="ruby-value str">'from'</span>].<span class="ruby-identifier">to_s</span>
17
- <span class="ruby-ivar">@server</span> = <span class="ruby-identifier">section</span>[<span class="ruby-value str">'server'</span>].<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">strip</span>
18
- <span class="ruby-ivar">@port</span> = <span class="ruby-identifier">section</span>[<span class="ruby-value str">'port'</span>] <span class="ruby-operator">||</span> <span class="ruby-value">25</span>
19
- <span class="ruby-ivar">@domain</span> = <span class="ruby-identifier">section</span>[<span class="ruby-value str">'domain'</span>].<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">strip</span>
20
- <span class="ruby-ivar">@account</span> = <span class="ruby-identifier">section</span>[<span class="ruby-value str">'account'</span>].<span class="ruby-identifier">to_s</span>
21
- <span class="ruby-ivar">@authtype</span> = <span class="ruby-identifier">section</span>[<span class="ruby-value str">'authtype'</span>].<span class="ruby-identifier">to_sym</span>
22
- <span class="ruby-ivar">@tls</span> = <span class="ruby-identifier">section</span>[<span class="ruby-value str">'tls'</span>] <span class="ruby-operator">?</span> <span class="ruby-keyword kw">true</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">false</span>
13
+ <pre><span class="ruby-comment cmt"># File lib/reap/announce_task.rb, line 32</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init</span>
15
+ <span class="ruby-ivar">@to</span> = <span class="ruby-ivar">@to</span>.<span class="ruby-identifier">to_s</span>
16
+ <span class="ruby-ivar">@from</span> = <span class="ruby-ivar">@from</span>.<span class="ruby-identifier">to_s</span>
17
+ <span class="ruby-ivar">@server</span> = <span class="ruby-ivar">@server</span>.<span class="ruby-identifier">strip</span>
18
+ <span class="ruby-ivar">@port</span> = (<span class="ruby-ivar">@port</span> <span class="ruby-operator">||</span> <span class="ruby-value">25</span>).<span class="ruby-identifier">to_i</span>
19
+ <span class="ruby-ivar">@domain</span> = <span class="ruby-ivar">@domain</span>.<span class="ruby-identifier">strip</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@domain</span>
20
+ <span class="ruby-ivar">@account</span> = <span class="ruby-ivar">@account</span>.<span class="ruby-identifier">to_s</span>
21
+ <span class="ruby-ivar">@authtype</span> = <span class="ruby-ivar">@authtype</span>.<span class="ruby-identifier">to_s</span>
22
+ <span class="ruby-ivar">@sectype</span> = <span class="ruby-ivar">@sectype</span>.<span class="ruby-identifier">to_s</span>
23
23
 
24
- <span class="ruby-ivar">@title</span> = <span class="ruby-identifier">master</span>[<span class="ruby-value str">'title'</span>]
25
- <span class="ruby-ivar">@version</span> = <span class="ruby-identifier">master</span>[<span class="ruby-value str">'version'</span>]
26
- <span class="ruby-ivar">@summary</span> = <span class="ruby-identifier">master</span>[<span class="ruby-value str">'summary'</span>]
24
+ <span class="ruby-ivar">@title</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">master</span>[<span class="ruby-value str">'title'</span>]
25
+ <span class="ruby-ivar">@version</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">master</span>[<span class="ruby-value str">'version'</span>]
26
+ <span class="ruby-ivar">@summary</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">master</span>[<span class="ruby-value str">'summary'</span>]
27
+ <span class="ruby-ivar">@description</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">master</span>[<span class="ruby-value str">'description'</span>]
28
+ <span class="ruby-ivar">@links</span> <span class="ruby-operator">||=</span> []
29
+ <span class="ruby-ivar">@subject</span> <span class="ruby-operator">||=</span> <span class="ruby-node">&quot;[ANN] #{@title}, v#{@version}&quot;</span>
27
30
 
28
- <span class="ruby-ivar">@subject</span> = <span class="ruby-node">&quot;[ANN] #{@title}, v#{@version}&quot;</span>
31
+ <span class="ruby-ivar">@address</span> = <span class="ruby-ivar">@to</span> <span class="ruby-comment cmt"># fix</span>
29
32
 
30
33
  <span class="ruby-comment cmt">#raise &quot;DOMAIN is a required field&quot; if @domain.empty?</span>
31
34
 
@@ -34,58 +37,55 @@
34
37
  |
35
38
  |A N N O U N C I N G
36
39
  |
37
- |#{@title}, v#{@version}
40
+ |#{title}, v#{version}
38
41
  |
39
- |#{@summary}
42
+ |#{summary}
40
43
  |
41
- }</span>.<span class="ruby-identifier">margin</span>.<span class="ruby-identifier">center_lines</span>(<span class="ruby-value">66</span>)
44
+ }</span>.<span class="ruby-identifier">margin</span>.<span class="ruby-identifier">align_center</span>(<span class="ruby-value">66</span>)
42
45
 
43
46
  <span class="ruby-comment cmt"># abstract</span>
44
47
  <span class="ruby-identifier">abstract</span> = <span class="ruby-value str">''</span>
45
- <span class="ruby-identifier">desc</span> = <span class="ruby-identifier">description</span>
46
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">desc</span>
48
+ <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@description</span>
47
49
  <span class="ruby-identifier">abstract</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n\n&quot;</span>
48
- <span class="ruby-identifier">abstract</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;ABSTRACT: #{desc}&quot;</span>.<span class="ruby-identifier">word_wrap</span>(<span class="ruby-value">72</span>)
50
+ <span class="ruby-identifier">abstract</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;ABSTRACT: #{@description}&quot;</span>.<span class="ruby-identifier">word_wrap</span>(<span class="ruby-value">72</span>)
49
51
  <span class="ruby-identifier">abstract</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span>
50
52
  <span class="ruby-keyword kw">end</span>
51
53
 
52
54
  <span class="ruby-comment cmt"># more info</span>
53
55
  <span class="ruby-identifier">info</span> = <span class="ruby-value str">''</span>
54
- <span class="ruby-identifier">info_arr</span> = <span class="ruby-identifier">section</span>[<span class="ruby-value str">'info'</span>]
55
- <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">info_arr</span>.<span class="ruby-identifier">empty?</span>
56
+ <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@links</span>.<span class="ruby-identifier">empty?</span>
56
57
  <span class="ruby-identifier">info</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span>
57
58
  <span class="ruby-identifier">info</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;For More Information&quot;</span>.<span class="ruby-identifier">center</span>(<span class="ruby-value">67</span>)
58
59
  <span class="ruby-identifier">info</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span>
59
- <span class="ruby-identifier">info_arr</span>.<span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">mi</span><span class="ruby-operator">|</span> <span class="ruby-identifier">info</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;#{mi}&quot;</span>.<span class="ruby-identifier">center</span>(<span class="ruby-value">67</span>) }
60
- <span class="ruby-identifier">info</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n\n&quot;</span>
60
+ <span class="ruby-ivar">@links</span>.<span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">mi</span><span class="ruby-operator">|</span> <span class="ruby-identifier">info</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;#{mi}&quot;</span>.<span class="ruby-identifier">center</span>(<span class="ruby-value">67</span>) <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span> }
61
+ <span class="ruby-identifier">info</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span>
61
62
  <span class="ruby-keyword kw">end</span>
62
63
 
63
64
  <span class="ruby-comment cmt"># slogan</span>
64
65
  <span class="ruby-identifier">slogan</span> = <span class="ruby-value str">''</span>
65
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">section</span>[<span class="ruby-value str">'slogan'</span>]
66
+ <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@slogan</span>
66
67
  <span class="ruby-identifier">slogan</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n\n&quot;</span>
67
- <span class="ruby-identifier">slogan</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">section</span>[<span class="ruby-value str">'slogan'</span>].<span class="ruby-identifier">center</span>(<span class="ruby-value">67</span>)
68
+ <span class="ruby-identifier">slogan</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-ivar">@slogan</span>.<span class="ruby-identifier">center</span>(<span class="ruby-value">67</span>)
68
69
  <span class="ruby-identifier">slogan</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n\n&quot;</span>
69
70
  <span class="ruby-keyword kw">end</span>
70
71
 
71
72
  <span class="ruby-comment cmt"># memo</span>
72
73
  <span class="ruby-identifier">memo</span> = <span class="ruby-value str">''</span>
73
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">section</span>[<span class="ruby-value str">'memo'</span>]
74
+ <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@memo</span>
74
75
  <span class="ruby-identifier">memo</span> = <span class="ruby-value str">''</span>
75
76
  <span class="ruby-identifier">memo</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span> <span class="ruby-operator">&lt;&lt;</span> (<span class="ruby-value str">'-'</span> <span class="ruby-operator">*</span> <span class="ruby-value">72</span>) <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span>
76
77
  <span class="ruby-identifier">memo</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;(Memo)\n\n&quot;</span>
77
- <span class="ruby-identifier">memo</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">section</span>[<span class="ruby-value str">'memo'</span>].<span class="ruby-identifier">fold</span>.<span class="ruby-identifier">word_wrap</span>(<span class="ruby-value">72</span>)
78
+ <span class="ruby-identifier">memo</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-ivar">@memo</span>.<span class="ruby-identifier">fold</span>.<span class="ruby-identifier">word_wrap</span>(<span class="ruby-value">72</span>)
78
79
  <span class="ruby-comment cmt">#memo &lt;&lt; &quot;\n&quot;</span>
79
80
  <span class="ruby-keyword kw">end</span>
80
81
 
81
82
  <span class="ruby-comment cmt"># msg file</span>
82
83
  <span class="ruby-identifier">msg</span> = <span class="ruby-value str">''</span>
83
- <span class="ruby-identifier">msg_file</span> = <span class="ruby-identifier">section</span>[<span class="ruby-value str">'file'</span>]
84
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">msg_file</span> <span class="ruby-keyword kw">and</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">file?</span>( <span class="ruby-identifier">msg_file</span> )
84
+ <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@file</span> <span class="ruby-keyword kw">and</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">file?</span>( <span class="ruby-ivar">@file</span> )
85
85
  <span class="ruby-identifier">msg</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span> <span class="ruby-operator">&lt;&lt;</span> (<span class="ruby-value str">&quot;-&quot;</span> <span class="ruby-operator">*</span> <span class="ruby-value">72</span>) <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span>
86
- <span class="ruby-identifier">msg</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;(from #{msg_file})\n\n&quot;</span>
86
+ <span class="ruby-identifier">msg</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;(from #{@file})\n\n&quot;</span>
87
87
  <span class="ruby-identifier">mg</span> = <span class="ruby-value str">''</span>
88
- <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>( <span class="ruby-identifier">msg_file</span> ) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">mg</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">gets</span>(<span class="ruby-keyword kw">nil</span>) }
88
+ <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>( <span class="ruby-ivar">@file</span> ) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">mg</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">gets</span>(<span class="ruby-keyword kw">nil</span>) }
89
89
  <span class="ruby-identifier">msg</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">mg</span>.<span class="ruby-identifier">fold</span>.<span class="ruby-identifier">word_wrap</span>(<span class="ruby-value">72</span>)
90
90
  <span class="ruby-keyword kw">end</span>
91
91
 
@@ -93,7 +93,7 @@
93
93
  <span class="ruby-identifier">stamp</span> = <span class="ruby-value str">''</span>
94
94
  <span class="ruby-identifier">stamp</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span> <span class="ruby-operator">&lt;&lt;</span> (<span class="ruby-value str">&quot;-&quot;</span> <span class="ruby-operator">*</span> <span class="ruby-value">72</span>) <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span>
95
95
  <span class="ruby-identifier">stamp</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">%Q{
96
- |Generated by Reap, a dedicated Ruby Packaging Assistant.
96
+ |Generated by Reap, a Rake-based Ruby Project Assistant.
97
97
  |Do you Ruby? (http://www.ruby-lang.org)
98
98
  }</span>.<span class="ruby-identifier">margin</span>
99
99
  <span class="ruby-identifier">stamp</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n\n&quot;</span>
@@ -10,7 +10,7 @@
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/reap2/announce-task.rb, line 113</span>
13
+ <pre><span class="ruby-comment cmt"># File lib/reap/announce_task.rb, line 129</span>
14
14
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">run</span>
15
15
  <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;\n#{@message}\n\n&quot;</span>
16
16
  <span class="ruby-identifier">print</span> <span class="ruby-value str">&quot;Send? [Y/n] &quot;</span>
@@ -0,0 +1,254 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Reap::FilemodTask</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Reap::FilemodTask</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/reap/filemod_task_rb.html">
59
+ lib/reap/filemod_task.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ <a href="Task.html">
69
+ Reap::Task
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+
83
+ <div id="description">
84
+ <p>
85
+ Filemod <a href="Task.html">Task</a>
86
+ </p>
87
+
88
+ </div>
89
+
90
+
91
+ </div>
92
+
93
+ <div id="method-list">
94
+ <h3 class="section-bar">Methods</h3>
95
+
96
+ <div class="name-list">
97
+ <a href="#M000031">chmod</a>&nbsp;&nbsp;
98
+ <a href="#M000028">default_desc</a>&nbsp;&nbsp;
99
+ <a href="#M000027">default_name</a>&nbsp;&nbsp;
100
+ <a href="#M000029">init</a>&nbsp;&nbsp;
101
+ <a href="#M000030">run</a>&nbsp;&nbsp;
102
+ <a href="#M000032">run_chown</a>&nbsp;&nbsp;
103
+ </div>
104
+ </div>
105
+
106
+ </div>
107
+
108
+
109
+ <!-- if includes -->
110
+
111
+ <div id="section">
112
+
113
+
114
+
115
+
116
+
117
+ <div id="attribute-list">
118
+ <h3 class="section-bar">Attributes</h3>
119
+
120
+ <div class="name-list">
121
+ <table>
122
+ <tr class="top-aligned-row context-row">
123
+ <td class="context-item-name">dirmod</td>
124
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
125
+ <td class="context-item-desc"></td>
126
+ </tr>
127
+ <tr class="top-aligned-row context-row">
128
+ <td class="context-item-name">filemod</td>
129
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
130
+ <td class="context-item-desc"></td>
131
+ </tr>
132
+ <tr class="top-aligned-row context-row">
133
+ <td class="context-item-name">group</td>
134
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
135
+ <td class="context-item-desc"></td>
136
+ </tr>
137
+ <tr class="top-aligned-row context-row">
138
+ <td class="context-item-name">user</td>
139
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
140
+ <td class="context-item-desc"></td>
141
+ </tr>
142
+ </table>
143
+ </div>
144
+ </div>
145
+
146
+
147
+
148
+ <!-- if method_list -->
149
+ <div id="methods">
150
+ <h3 class="section-bar">Public Instance methods</h3>
151
+
152
+ <div id="method-M000031" class="method-detail">
153
+ <a name="M000031"></a>
154
+
155
+ <div class="method-heading">
156
+ <a href="FilemodTask.src/M000031.html" target="Code" class="method-signature"
157
+ onclick="popupCode('FilemodTask.src/M000031.html');return false;">
158
+ <span class="method-name">chmod</span><span class="method-args">( file_list, file_mode=644, dir_mode=755 )</span>
159
+ </a>
160
+ </div>
161
+
162
+ <div class="method-description">
163
+ <p>
164
+ support function
165
+ </p>
166
+ </div>
167
+ </div>
168
+
169
+ <div id="method-M000028" class="method-detail">
170
+ <a name="M000028"></a>
171
+
172
+ <div class="method-heading">
173
+ <a href="FilemodTask.src/M000028.html" target="Code" class="method-signature"
174
+ onclick="popupCode('FilemodTask.src/M000028.html');return false;">
175
+ <span class="method-name">default_desc</span><span class="method-args">()</span>
176
+ </a>
177
+ </div>
178
+
179
+ <div class="method-description">
180
+ </div>
181
+ </div>
182
+
183
+ <div id="method-M000027" class="method-detail">
184
+ <a name="M000027"></a>
185
+
186
+ <div class="method-heading">
187
+ <a href="FilemodTask.src/M000027.html" target="Code" class="method-signature"
188
+ onclick="popupCode('FilemodTask.src/M000027.html');return false;">
189
+ <span class="method-name">default_name</span><span class="method-args">()</span>
190
+ </a>
191
+ </div>
192
+
193
+ <div class="method-description">
194
+ <p>
195
+ register &#8216;filemod&#8217;
196
+ </p>
197
+ </div>
198
+ </div>
199
+
200
+ <div id="method-M000029" class="method-detail">
201
+ <a name="M000029"></a>
202
+
203
+ <div class="method-heading">
204
+ <a href="FilemodTask.src/M000029.html" target="Code" class="method-signature"
205
+ onclick="popupCode('FilemodTask.src/M000029.html');return false;">
206
+ <span class="method-name">init</span><span class="method-args">()</span>
207
+ </a>
208
+ </div>
209
+
210
+ <div class="method-description">
211
+ </div>
212
+ </div>
213
+
214
+ <div id="method-M000030" class="method-detail">
215
+ <a name="M000030"></a>
216
+
217
+ <div class="method-heading">
218
+ <a href="FilemodTask.src/M000030.html" target="Code" class="method-signature"
219
+ onclick="popupCode('FilemodTask.src/M000030.html');return false;">
220
+ <span class="method-name">run</span><span class="method-args">()</span>
221
+ </a>
222
+ </div>
223
+
224
+ <div class="method-description">
225
+ </div>
226
+ </div>
227
+
228
+ <div id="method-M000032" class="method-detail">
229
+ <a name="M000032"></a>
230
+
231
+ <div class="method-heading">
232
+ <a href="FilemodTask.src/M000032.html" target="Code" class="method-signature"
233
+ onclick="popupCode('FilemodTask.src/M000032.html');return false;">
234
+ <span class="method-name">run_chown</span><span class="method-args">()</span>
235
+ </a>
236
+ </div>
237
+
238
+ <div class="method-description">
239
+ </div>
240
+ </div>
241
+
242
+
243
+ </div>
244
+
245
+
246
+ </div>
247
+
248
+
249
+ <div id="validator-badges">
250
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
251
+ </div>
252
+
253
+ </body>
254
+ </html>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>default_name (Reap::FilemodTask)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/reap/filemod_task.rb, line 17</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">default_name</span> ; <span class="ruby-value str">'filemod'</span> ; <span class="ruby-keyword kw">end</span></pre>
15
+ </body>
16
+ </html>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>default_desc (Reap::FilemodTask)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/reap/filemod_task.rb, line 18</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">default_desc</span>
15
+ <span class="ruby-value str">&quot;normalize ownership and permissions of package files [reap]&quot;</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>