filebydate 0.0.1 → 0.0.2

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.
Files changed (234) hide show
  1. data/CHANGELOG +2 -1
  2. data/Rakefile +1 -1
  3. data/bin/renwdate +3 -1
  4. data/doc/classes/ConfigTable.html +500 -0
  5. data/doc/classes/ConfigTable.src/M000002.html +25 -0
  6. data/doc/classes/ConfigTable.src/M000003.html +18 -0
  7. data/doc/classes/ConfigTable.src/M000004.html +18 -0
  8. data/doc/classes/ConfigTable.src/M000005.html +18 -0
  9. data/doc/classes/ConfigTable.src/M000006.html +18 -0
  10. data/doc/classes/ConfigTable.src/M000007.html +18 -0
  11. data/doc/classes/ConfigTable.src/M000008.html +18 -0
  12. data/doc/classes/ConfigTable.src/M000009.html +18 -0
  13. data/doc/classes/ConfigTable.src/M000010.html +18 -0
  14. data/doc/classes/ConfigTable.src/M000011.html +19 -0
  15. data/doc/classes/ConfigTable.src/M000012.html +21 -0
  16. data/doc/classes/ConfigTable.src/M000013.html +20 -0
  17. data/doc/classes/ConfigTable.src/M000014.html +18 -0
  18. data/doc/classes/ConfigTable.src/M000015.html +25 -0
  19. data/doc/classes/ConfigTable.src/M000016.html +23 -0
  20. data/doc/classes/ConfigTable.src/M000017.html +20 -0
  21. data/doc/classes/ConfigTable.src/M000018.html +20 -0
  22. data/doc/classes/ConfigTable.src/M000019.html +23 -0
  23. data/doc/classes/ConfigTable.src/M000020.html +19 -0
  24. data/doc/classes/ConfigTable.src/M000021.html +18 -0
  25. data/doc/classes/ConfigTable.src/M000022.html +18 -0
  26. data/doc/classes/ConfigTable/BoolItem.html +154 -0
  27. data/doc/classes/ConfigTable/BoolItem.src/M000023.html +18 -0
  28. data/doc/classes/ConfigTable/BoolItem.src/M000024.html +18 -0
  29. data/doc/classes/ConfigTable/ExecItem.html +201 -0
  30. data/doc/classes/ConfigTable/ExecItem.src/M000042.html +20 -0
  31. data/doc/classes/ConfigTable/ExecItem.src/M000043.html +18 -0
  32. data/doc/classes/ConfigTable/ExecItem.src/M000044.html +18 -0
  33. data/doc/classes/ConfigTable/ExecItem.src/M000045.html +18 -0
  34. data/doc/classes/ConfigTable/ExecItem.src/M000046.html +22 -0
  35. data/doc/classes/ConfigTable/Item.html +250 -0
  36. data/doc/classes/ConfigTable/Item.src/M000049.html +22 -0
  37. data/doc/classes/ConfigTable/Item.src/M000050.html +18 -0
  38. data/doc/classes/ConfigTable/Item.src/M000051.html +18 -0
  39. data/doc/classes/ConfigTable/Item.src/M000052.html +18 -0
  40. data/doc/classes/ConfigTable/Item.src/M000053.html +18 -0
  41. data/doc/classes/ConfigTable/Item.src/M000054.html +18 -0
  42. data/doc/classes/ConfigTable/MetaConfigEnvironment.html +325 -0
  43. data/doc/classes/ConfigTable/MetaConfigEnvironment.src/M000029.html +19 -0
  44. data/doc/classes/ConfigTable/MetaConfigEnvironment.src/M000030.html +18 -0
  45. data/doc/classes/ConfigTable/MetaConfigEnvironment.src/M000031.html +18 -0
  46. data/doc/classes/ConfigTable/MetaConfigEnvironment.src/M000032.html +18 -0
  47. data/doc/classes/ConfigTable/MetaConfigEnvironment.src/M000033.html +18 -0
  48. data/doc/classes/ConfigTable/MetaConfigEnvironment.src/M000034.html +18 -0
  49. data/doc/classes/ConfigTable/MetaConfigEnvironment.src/M000035.html +18 -0
  50. data/doc/classes/ConfigTable/MetaConfigEnvironment.src/M000036.html +18 -0
  51. data/doc/classes/ConfigTable/MetaConfigEnvironment.src/M000037.html +18 -0
  52. data/doc/classes/ConfigTable/MetaConfigEnvironment.src/M000038.html +18 -0
  53. data/doc/classes/ConfigTable/MetaConfigEnvironment.src/M000039.html +18 -0
  54. data/doc/classes/ConfigTable/MetaConfigEnvironment.src/M000040.html +19 -0
  55. data/doc/classes/ConfigTable/MetaConfigEnvironment.src/M000041.html +19 -0
  56. data/doc/classes/ConfigTable/PackageSelectionItem.html +169 -0
  57. data/doc/classes/ConfigTable/PackageSelectionItem.src/M000027.html +19 -0
  58. data/doc/classes/ConfigTable/PackageSelectionItem.src/M000028.html +18 -0
  59. data/doc/classes/ConfigTable/PathItem.html +139 -0
  60. data/doc/classes/ConfigTable/PathItem.src/M000026.html +18 -0
  61. data/doc/classes/ConfigTable/ProgramItem.html +139 -0
  62. data/doc/classes/ConfigTable/ProgramItem.src/M000025.html +18 -0
  63. data/doc/classes/ConfigTable/SelectItem.html +156 -0
  64. data/doc/classes/ConfigTable/SelectItem.src/M000047.html +19 -0
  65. data/doc/classes/ConfigTable/SelectItem.src/M000048.html +18 -0
  66. data/doc/classes/Enumerable.html +118 -0
  67. data/doc/classes/Errno.html +111 -0
  68. data/doc/classes/Errno/ENOTEMPTY.html +111 -0
  69. data/doc/classes/File.html +166 -0
  70. data/doc/classes/File.src/M000183.html +20 -0
  71. data/doc/classes/File.src/M000184.html +20 -0
  72. data/doc/classes/File.src/M000185.html +18 -0
  73. data/doc/classes/FileByDate.html +208 -0
  74. data/doc/classes/FileByDate.src/M000198.html +31 -0
  75. data/doc/classes/FileByDate.src/M000199.html +31 -0
  76. data/doc/classes/FileOperations.html +375 -0
  77. data/doc/classes/FileOperations.src/M000200.html +31 -0
  78. data/doc/classes/FileOperations.src/M000201.html +20 -0
  79. data/doc/classes/FileOperations.src/M000202.html +20 -0
  80. data/doc/classes/FileOperations.src/M000203.html +24 -0
  81. data/doc/classes/FileOperations.src/M000204.html +34 -0
  82. data/doc/classes/FileOperations.src/M000205.html +27 -0
  83. data/doc/classes/FileOperations.src/M000206.html +21 -0
  84. data/doc/classes/FileOperations.src/M000207.html +19 -0
  85. data/doc/classes/FileOperations.src/M000208.html +40 -0
  86. data/doc/classes/FileOperations.src/M000209.html +19 -0
  87. data/doc/classes/FileOperations.src/M000210.html +20 -0
  88. data/doc/classes/FileOperations.src/M000211.html +18 -0
  89. data/doc/classes/FileOperations.src/M000212.html +18 -0
  90. data/doc/classes/FileOperations.src/M000213.html +18 -0
  91. data/doc/classes/FileOperations.src/M000214.html +20 -0
  92. data/doc/classes/FileOperations.src/M000215.html +20 -0
  93. data/doc/classes/FilebydateTest.html +348 -0
  94. data/doc/classes/FilebydateTest.src/M000169.html +28 -0
  95. data/doc/classes/FilebydateTest.src/M000170.html +19 -0
  96. data/doc/classes/FilebydateTest.src/M000171.html +20 -0
  97. data/doc/classes/FilebydateTest.src/M000172.html +21 -0
  98. data/doc/classes/FilebydateTest.src/M000173.html +22 -0
  99. data/doc/classes/FilebydateTest.src/M000174.html +24 -0
  100. data/doc/classes/FilebydateTest.src/M000175.html +20 -0
  101. data/doc/classes/FilebydateTest.src/M000176.html +28 -0
  102. data/doc/classes/FilebydateTest.src/M000177.html +19 -0
  103. data/doc/classes/FilebydateTest.src/M000178.html +20 -0
  104. data/doc/classes/FilebydateTest.src/M000179.html +21 -0
  105. data/doc/classes/FilebydateTest.src/M000180.html +22 -0
  106. data/doc/classes/FilebydateTest.src/M000181.html +24 -0
  107. data/doc/classes/FilebydateTest.src/M000182.html +20 -0
  108. data/doc/classes/HookScriptAPI.html +308 -0
  109. data/doc/classes/HookScriptAPI.src/M000186.html +18 -0
  110. data/doc/classes/HookScriptAPI.src/M000188.html +18 -0
  111. data/doc/classes/HookScriptAPI.src/M000189.html +18 -0
  112. data/doc/classes/HookScriptAPI.src/M000190.html +18 -0
  113. data/doc/classes/HookScriptAPI.src/M000191.html +18 -0
  114. data/doc/classes/HookScriptAPI.src/M000192.html +18 -0
  115. data/doc/classes/HookScriptAPI.src/M000193.html +18 -0
  116. data/doc/classes/HookScriptAPI.src/M000194.html +18 -0
  117. data/doc/classes/HookScriptAPI.src/M000195.html +20 -0
  118. data/doc/classes/HookScriptAPI.src/M000196.html +20 -0
  119. data/doc/classes/HookScriptAPI.src/M000197.html +20 -0
  120. data/doc/classes/Installer.html +1148 -0
  121. data/doc/classes/Installer.src/M000102.html +21 -0
  122. data/doc/classes/Installer.src/M000103.html +18 -0
  123. data/doc/classes/Installer.src/M000104.html +17 -0
  124. data/doc/classes/Installer.src/M000105.html +18 -0
  125. data/doc/classes/Installer.src/M000106.html +18 -0
  126. data/doc/classes/Installer.src/M000107.html +18 -0
  127. data/doc/classes/Installer.src/M000108.html +18 -0
  128. data/doc/classes/Installer.src/M000109.html +18 -0
  129. data/doc/classes/Installer.src/M000110.html +23 -0
  130. data/doc/classes/Installer.src/M000111.html +18 -0
  131. data/doc/classes/Installer.src/M000114.html +18 -0
  132. data/doc/classes/Installer.src/M000118.html +18 -0
  133. data/doc/classes/Installer.src/M000119.html +18 -0
  134. data/doc/classes/Installer.src/M000120.html +20 -0
  135. data/doc/classes/Installer.src/M000122.html +18 -0
  136. data/doc/classes/Installer.src/M000126.html +36 -0
  137. data/doc/classes/Installer.src/M000127.html +25 -0
  138. data/doc/classes/Installer.src/M000128.html +24 -0
  139. data/doc/classes/Installer.src/M000129.html +19 -0
  140. data/doc/classes/Installer.src/M000130.html +18 -0
  141. data/doc/classes/Installer.src/M000131.html +18 -0
  142. data/doc/classes/Installer.src/M000132.html +21 -0
  143. data/doc/classes/Installer.src/M000133.html +18 -0
  144. data/doc/classes/Installer.src/M000134.html +20 -0
  145. data/doc/classes/Installer.src/M000135.html +18 -0
  146. data/doc/classes/Installer.src/M000136.html +21 -0
  147. data/doc/classes/Installer.src/M000137.html +18 -0
  148. data/doc/classes/Installer.src/M000138.html +22 -0
  149. data/doc/classes/Installer.src/M000139.html +18 -0
  150. data/doc/classes/Installer.src/M000140.html +23 -0
  151. data/doc/classes/Installer.src/M000141.html +18 -0
  152. data/doc/classes/Installer.src/M000142.html +20 -0
  153. data/doc/classes/Installer.src/M000143.html +19 -0
  154. data/doc/classes/Installer.src/M000144.html +19 -0
  155. data/doc/classes/Installer.src/M000145.html +20 -0
  156. data/doc/classes/Installer.src/M000146.html +30 -0
  157. data/doc/classes/Installer.src/M000147.html +20 -0
  158. data/doc/classes/Installer.src/M000153.html +19 -0
  159. data/doc/classes/Installer.src/M000154.html +20 -0
  160. data/doc/classes/Installer.src/M000157.html +19 -0
  161. data/doc/classes/Installer.src/M000161.html +26 -0
  162. data/doc/classes/Installer.src/M000162.html +25 -0
  163. data/doc/classes/Installer.src/M000163.html +29 -0
  164. data/doc/classes/Installer.src/M000164.html +26 -0
  165. data/doc/classes/Installer/Shebang.html +202 -0
  166. data/doc/classes/Installer/Shebang.src/M000165.html +23 -0
  167. data/doc/classes/Installer/Shebang.src/M000166.html +19 -0
  168. data/doc/classes/Installer/Shebang.src/M000167.html +19 -0
  169. data/doc/classes/Installer/Shebang.src/M000168.html +18 -0
  170. data/doc/classes/SetupError.html +111 -0
  171. data/doc/classes/ToplevelInstaller.html +621 -0
  172. data/doc/classes/ToplevelInstaller.src/M000055.html +23 -0
  173. data/doc/classes/ToplevelInstaller.src/M000056.html +18 -0
  174. data/doc/classes/ToplevelInstaller.src/M000057.html +25 -0
  175. data/doc/classes/ToplevelInstaller.src/M000058.html +21 -0
  176. data/doc/classes/ToplevelInstaller.src/M000059.html +18 -0
  177. data/doc/classes/ToplevelInstaller.src/M000060.html +18 -0
  178. data/doc/classes/ToplevelInstaller.src/M000061.html +38 -0
  179. data/doc/classes/ToplevelInstaller.src/M000062.html +18 -0
  180. data/doc/classes/ToplevelInstaller.src/M000063.html +18 -0
  181. data/doc/classes/ToplevelInstaller.src/M000064.html +18 -0
  182. data/doc/classes/ToplevelInstaller.src/M000065.html +18 -0
  183. data/doc/classes/ToplevelInstaller.src/M000066.html +18 -0
  184. data/doc/classes/ToplevelInstaller.src/M000067.html +40 -0
  185. data/doc/classes/ToplevelInstaller.src/M000068.html +18 -0
  186. data/doc/classes/ToplevelInstaller.src/M000069.html +18 -0
  187. data/doc/classes/ToplevelInstaller.src/M000070.html +21 -0
  188. data/doc/classes/ToplevelInstaller.src/M000076.html +40 -0
  189. data/doc/classes/ToplevelInstaller.src/M000077.html +31 -0
  190. data/doc/classes/ToplevelInstaller.src/M000078.html +52 -0
  191. data/doc/classes/ToplevelInstaller.src/M000079.html +19 -0
  192. data/doc/classes/ToplevelInstaller.src/M000080.html +18 -0
  193. data/doc/classes/ToplevelInstaller.src/M000081.html +18 -0
  194. data/doc/classes/ToplevelInstaller.src/M000082.html +18 -0
  195. data/doc/classes/ToplevelInstaller.src/M000083.html +20 -0
  196. data/doc/classes/ToplevelInstaller.src/M000084.html +18 -0
  197. data/doc/classes/ToplevelInstaller.src/M000085.html +18 -0
  198. data/doc/classes/ToplevelInstallerMulti.html +398 -0
  199. data/doc/classes/ToplevelInstallerMulti.src/M000086.html +21 -0
  200. data/doc/classes/ToplevelInstallerMulti.src/M000087.html +21 -0
  201. data/doc/classes/ToplevelInstallerMulti.src/M000088.html +23 -0
  202. data/doc/classes/ToplevelInstallerMulti.src/M000089.html +29 -0
  203. data/doc/classes/ToplevelInstallerMulti.src/M000090.html +22 -0
  204. data/doc/classes/ToplevelInstallerMulti.src/M000091.html +21 -0
  205. data/doc/classes/ToplevelInstallerMulti.src/M000092.html +21 -0
  206. data/doc/classes/ToplevelInstallerMulti.src/M000093.html +20 -0
  207. data/doc/classes/ToplevelInstallerMulti.src/M000094.html +20 -0
  208. data/doc/classes/ToplevelInstallerMulti.src/M000095.html +20 -0
  209. data/doc/classes/ToplevelInstallerMulti.src/M000096.html +21 -0
  210. data/doc/classes/ToplevelInstallerMulti.src/M000097.html +21 -0
  211. data/doc/classes/ToplevelInstallerMulti.src/M000098.html +25 -0
  212. data/doc/classes/ToplevelInstallerMulti.src/M000099.html +18 -0
  213. data/doc/classes/ToplevelInstallerMulti.src/M000100.html +18 -0
  214. data/doc/classes/ToplevelInstallerMulti.src/M000101.html +18 -0
  215. data/doc/created.rid +1 -0
  216. data/doc/files/lib/filebydate/version_rb.html +101 -0
  217. data/doc/files/lib/filebydate_rb.html +101 -0
  218. data/doc/files/pkg/filebydate-0_0_1/lib/filebydate/version_rb.html +101 -0
  219. data/doc/files/pkg/filebydate-0_0_1/lib/filebydate_rb.html +101 -0
  220. data/doc/files/pkg/filebydate-0_0_1/test/filebydate_test_rb.html +109 -0
  221. data/doc/files/pkg/filebydate-0_0_1/test/test_helper_rb.html +108 -0
  222. data/doc/files/setup_rb.html +148 -0
  223. data/doc/files/setup_rb.src/M000001.html +18 -0
  224. data/doc/files/test/filebydate_test_rb.html +109 -0
  225. data/doc/files/test/test_helper_rb.html +108 -0
  226. data/doc/fr_class_index.html +48 -0
  227. data/doc/fr_file_index.html +35 -0
  228. data/doc/fr_method_index.html +241 -0
  229. data/doc/index.html +24 -0
  230. data/doc/rdoc-style.css +208 -0
  231. data/lib/filebydate/version.rb +1 -1
  232. data/test/filebydate_test.rb +3 -7
  233. data/test/renwdate_test +18 -0
  234. metadata +264 -4
@@ -0,0 +1,21 @@
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>install_dir_ext (Installer)</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 setup.rb, line 1353</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install_dir_ext</span>(<span class="ruby-identifier">rel</span>)
15
+ <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">extdir?</span>(<span class="ruby-identifier">curr_srcdir</span>())
16
+ <span class="ruby-identifier">install_files</span> <span class="ruby-identifier">rubyextentions</span>(<span class="ruby-value str">'.'</span>),
17
+ <span class="ruby-node">&quot;#{config('sodir')}/#{File.dirname(rel)}&quot;</span>,
18
+ <span class="ruby-value">0555</span>
19
+ <span class="ruby-keyword kw">end</span></pre>
20
+ </body>
21
+ </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>install_dir_data (Installer)</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 setup.rb, line 1360</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install_dir_data</span>(<span class="ruby-identifier">rel</span>)
15
+ <span class="ruby-identifier">install_files</span> <span class="ruby-identifier">targetfiles</span>(), <span class="ruby-node">&quot;#{config('datadir')}/#{rel}&quot;</span>, <span class="ruby-value">0644</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,20 @@
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>install_dir_conf (Installer)</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 setup.rb, line 1364</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install_dir_conf</span>(<span class="ruby-identifier">rel</span>)
15
+ <span class="ruby-comment cmt"># FIXME: should not remove current config files</span>
16
+ <span class="ruby-comment cmt"># (rename previous file to .old/.org)</span>
17
+ <span class="ruby-identifier">install_files</span> <span class="ruby-identifier">targetfiles</span>(), <span class="ruby-node">&quot;#{config('sysconfdir')}/#{rel}&quot;</span>, <span class="ruby-value">0644</span>
18
+ <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
+ </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>install_dir_man (Installer)</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 setup.rb, line 1370</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install_dir_man</span>(<span class="ruby-identifier">rel</span>)
15
+ <span class="ruby-identifier">install_files</span> <span class="ruby-identifier">targetfiles</span>(), <span class="ruby-node">&quot;#{config('mandir')}/#{rel}&quot;</span>, <span class="ruby-value">0644</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,21 @@
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>install_files (Installer)</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 setup.rb, line 1374</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install_files</span>(<span class="ruby-identifier">list</span>, <span class="ruby-identifier">dest</span>, <span class="ruby-identifier">mode</span>)
15
+ <span class="ruby-identifier">mkdir_p</span> <span class="ruby-identifier">dest</span>, <span class="ruby-ivar">@config</span>.<span class="ruby-identifier">install_prefix</span>
16
+ <span class="ruby-identifier">list</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">fname</span><span class="ruby-operator">|</span>
17
+ <span class="ruby-identifier">install</span> <span class="ruby-identifier">fname</span>, <span class="ruby-identifier">dest</span>, <span class="ruby-identifier">mode</span>, <span class="ruby-ivar">@config</span>.<span class="ruby-identifier">install_prefix</span>
18
+ <span class="ruby-keyword kw">end</span>
19
+ <span class="ruby-keyword kw">end</span></pre>
20
+ </body>
21
+ </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>libfiles (Installer)</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 setup.rb, line 1381</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">libfiles</span>
15
+ <span class="ruby-identifier">glob_reject</span>(<span class="ruby-node">%w(*.y *.output)</span>, <span class="ruby-identifier">targetfiles</span>())
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,22 @@
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>rubyextentions (Installer)</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 setup.rb, line 1385</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rubyextentions</span>(<span class="ruby-identifier">dir</span>)
15
+ <span class="ruby-identifier">ents</span> = <span class="ruby-identifier">glob_select</span>(<span class="ruby-node">&quot;*.#{@config.dllext}&quot;</span>, <span class="ruby-identifier">targetfiles</span>())
16
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">ents</span>.<span class="ruby-identifier">empty?</span>
17
+ <span class="ruby-identifier">setup_rb_error</span> <span class="ruby-node">&quot;no ruby extention exists: 'ruby #{$0} setup' first&quot;</span>
18
+ <span class="ruby-keyword kw">end</span>
19
+ <span class="ruby-identifier">ents</span>
20
+ <span class="ruby-keyword kw">end</span></pre>
21
+ </body>
22
+ </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>targetfiles (Installer)</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 setup.rb, line 1393</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">targetfiles</span>
15
+ <span class="ruby-identifier">mapdir</span>(<span class="ruby-identifier">existfiles</span>() <span class="ruby-operator">-</span> <span class="ruby-identifier">hookfiles</span>())
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,23 @@
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>mapdir (Installer)</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 setup.rb, line 1397</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mapdir</span>(<span class="ruby-identifier">ents</span>)
15
+ <span class="ruby-identifier">ents</span>.<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">ent</span><span class="ruby-operator">|</span>
16
+ <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">ent</span>)
17
+ <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">ent</span> <span class="ruby-comment cmt"># objdir</span>
18
+ <span class="ruby-keyword kw">else</span> <span class="ruby-node">&quot;#{curr_srcdir()}/#{ent}&quot;</span> <span class="ruby-comment cmt"># srcdir</span>
19
+ <span class="ruby-keyword kw">end</span>
20
+ }
21
+ <span class="ruby-keyword kw">end</span></pre>
22
+ </body>
23
+ </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>existfiles (Installer)</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 setup.rb, line 1415</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">existfiles</span>
15
+ <span class="ruby-identifier">glob_reject</span>(<span class="ruby-constant">JUNK_FILES</span>, (<span class="ruby-identifier">files_of</span>(<span class="ruby-identifier">curr_srcdir</span>()) <span class="ruby-operator">|</span> <span class="ruby-identifier">files_of</span>(<span class="ruby-value str">'.'</span>)))
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,20 @@
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>hookfiles (Installer)</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 setup.rb, line 1419</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hookfiles</span>
15
+ <span class="ruby-node">%w( pre-%s post-%s pre-%s.rb post-%s.rb )</span>.<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">fmt</span><span class="ruby-operator">|</span>
16
+ <span class="ruby-node">%w( config setup install clean )</span>.<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span> <span class="ruby-identifier">sprintf</span>(<span class="ruby-identifier">fmt</span>, <span class="ruby-identifier">t</span>) }
17
+ }.<span class="ruby-identifier">flatten</span>
18
+ <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
+ </html>
@@ -0,0 +1,19 @@
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>glob_select (Installer)</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 setup.rb, line 1425</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">glob_select</span>(<span class="ruby-identifier">pat</span>, <span class="ruby-identifier">ents</span>)
15
+ <span class="ruby-identifier">re</span> = <span class="ruby-identifier">globs2re</span>([<span class="ruby-identifier">pat</span>])
16
+ <span class="ruby-identifier">ents</span>.<span class="ruby-identifier">select</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">ent</span><span class="ruby-operator">|</span> <span class="ruby-identifier">re</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">ent</span> }
17
+ <span class="ruby-keyword kw">end</span></pre>
18
+ </body>
19
+ </html>
@@ -0,0 +1,19 @@
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>glob_reject (Installer)</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 setup.rb, line 1430</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">glob_reject</span>(<span class="ruby-identifier">pats</span>, <span class="ruby-identifier">ents</span>)
15
+ <span class="ruby-identifier">re</span> = <span class="ruby-identifier">globs2re</span>(<span class="ruby-identifier">pats</span>)
16
+ <span class="ruby-identifier">ents</span>.<span class="ruby-identifier">reject</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">ent</span><span class="ruby-operator">|</span> <span class="ruby-identifier">re</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">ent</span> }
17
+ <span class="ruby-keyword kw">end</span></pre>
18
+ </body>
19
+ </html>
@@ -0,0 +1,20 @@
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>globs2re (Installer)</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 setup.rb, line 1442</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">globs2re</span>(<span class="ruby-identifier">pats</span>)
15
+ <span class="ruby-node">/\A(?:#{
16
+ pats.map {|pat| pat.gsub(/[\.\$\#\*]/) {|ch| GLOB2REGEX[ch] } }.join('|')
17
+ })\z/</span>
18
+ <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
+ </html>
@@ -0,0 +1,30 @@
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>exec_test (Installer)</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 setup.rb, line 1454</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exec_test</span>
15
+ <span class="ruby-keyword kw">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-value str">'test'</span>)
16
+ <span class="ruby-identifier">$stderr</span>.<span class="ruby-identifier">puts</span> <span class="ruby-value str">'no test in this package'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">verbose?</span>
17
+ <span class="ruby-keyword kw">return</span>
18
+ <span class="ruby-keyword kw">end</span>
19
+ <span class="ruby-identifier">$stderr</span>.<span class="ruby-identifier">puts</span> <span class="ruby-value str">'Running tests...'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">verbose?</span>
20
+ <span class="ruby-keyword kw">begin</span>
21
+ <span class="ruby-identifier">require</span> <span class="ruby-value str">'test/unit'</span>
22
+ <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">LoadError</span>
23
+ <span class="ruby-identifier">setup_rb_error</span> <span class="ruby-value str">'test/unit cannot loaded. You need Ruby 1.8 or later to invoke this task.'</span>
24
+ <span class="ruby-keyword kw">end</span>
25
+ <span class="ruby-identifier">runner</span> = <span class="ruby-constant">Test</span><span class="ruby-operator">::</span><span class="ruby-constant">Unit</span><span class="ruby-operator">::</span><span class="ruby-constant">AutoRunner</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">true</span>)
26
+ <span class="ruby-identifier">runner</span>.<span class="ruby-identifier">to_run</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">TESTDIR</span>
27
+ <span class="ruby-identifier">runner</span>.<span class="ruby-identifier">run</span>
28
+ <span class="ruby-keyword kw">end</span></pre>
29
+ </body>
30
+ </html>
@@ -0,0 +1,20 @@
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>exec_clean (Installer)</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 setup.rb, line 1474</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exec_clean</span>
15
+ <span class="ruby-identifier">exec_task_traverse</span> <span class="ruby-value str">'clean'</span>
16
+ <span class="ruby-identifier">rm_f</span> <span class="ruby-ivar">@config</span>.<span class="ruby-identifier">savefile</span>
17
+ <span class="ruby-identifier">rm_f</span> <span class="ruby-value str">'InstalledFiles'</span>
18
+ <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
+ </html>
@@ -0,0 +1,19 @@
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>clean_dir_ext (Installer)</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 setup.rb, line 1486</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clean_dir_ext</span>(<span class="ruby-identifier">rel</span>)
15
+ <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">extdir?</span>(<span class="ruby-identifier">curr_srcdir</span>())
16
+ <span class="ruby-identifier">make</span> <span class="ruby-value str">'clean'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">file?</span>(<span class="ruby-value str">'Makefile'</span>)
17
+ <span class="ruby-keyword kw">end</span></pre>
18
+ </body>
19
+ </html>
@@ -0,0 +1,20 @@
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>exec_distclean (Installer)</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 setup.rb, line 1495</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exec_distclean</span>
15
+ <span class="ruby-identifier">exec_task_traverse</span> <span class="ruby-value str">'distclean'</span>
16
+ <span class="ruby-identifier">rm_f</span> <span class="ruby-ivar">@config</span>.<span class="ruby-identifier">savefile</span>
17
+ <span class="ruby-identifier">rm_f</span> <span class="ruby-value str">'InstalledFiles'</span>
18
+ <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
+ </html>
@@ -0,0 +1,19 @@
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>distclean_dir_ext (Installer)</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 setup.rb, line 1504</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">distclean_dir_ext</span>(<span class="ruby-identifier">rel</span>)
15
+ <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">extdir?</span>(<span class="ruby-identifier">curr_srcdir</span>())
16
+ <span class="ruby-identifier">make</span> <span class="ruby-value str">'distclean'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">file?</span>(<span class="ruby-value str">'Makefile'</span>)
17
+ <span class="ruby-keyword kw">end</span></pre>
18
+ </body>
19
+ </html>
@@ -0,0 +1,26 @@
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>exec_task_traverse (Installer)</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 setup.rb, line 1517</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exec_task_traverse</span>(<span class="ruby-identifier">task</span>)
15
+ <span class="ruby-identifier">run_hook</span> <span class="ruby-node">&quot;pre-#{task}&quot;</span>
16
+ <span class="ruby-constant">FILETYPES</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">type</span><span class="ruby-operator">|</span>
17
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'ext'</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">config</span>(<span class="ruby-value str">'without-ext'</span>) <span class="ruby-operator">==</span> <span class="ruby-value str">'yes'</span>
18
+ <span class="ruby-identifier">$stderr</span>.<span class="ruby-identifier">puts</span> <span class="ruby-value str">'skipping ext/* by user option'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">verbose?</span>
19
+ <span class="ruby-keyword kw">next</span>
20
+ <span class="ruby-keyword kw">end</span>
21
+ <span class="ruby-identifier">traverse</span> <span class="ruby-identifier">task</span>, <span class="ruby-identifier">type</span>, <span class="ruby-node">&quot;#{task}_dir_#{type}&quot;</span>
22
+ <span class="ruby-keyword kw">end</span>
23
+ <span class="ruby-identifier">run_hook</span> <span class="ruby-node">&quot;post-#{task}&quot;</span>
24
+ <span class="ruby-keyword kw">end</span></pre>
25
+ </body>
26
+ </html>
@@ -0,0 +1,25 @@
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>traverse (Installer)</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 setup.rb, line 1529</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">traverse</span>(<span class="ruby-identifier">task</span>, <span class="ruby-identifier">rel</span>, <span class="ruby-identifier">mid</span>)
15
+ <span class="ruby-identifier">dive_into</span>(<span class="ruby-identifier">rel</span>) {
16
+ <span class="ruby-identifier">run_hook</span> <span class="ruby-node">&quot;pre-#{task}&quot;</span>
17
+ <span class="ruby-identifier">__send__</span> <span class="ruby-identifier">mid</span>, <span class="ruby-identifier">rel</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-regexp re">%r[\A.*?(?:/|\z)]</span>, <span class="ruby-value str">''</span>)
18
+ <span class="ruby-identifier">directories_of</span>(<span class="ruby-identifier">curr_srcdir</span>()).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">d</span><span class="ruby-operator">|</span>
19
+ <span class="ruby-identifier">traverse</span> <span class="ruby-identifier">task</span>, <span class="ruby-node">&quot;#{rel}/#{d}&quot;</span>, <span class="ruby-identifier">mid</span>
20
+ <span class="ruby-keyword kw">end</span>
21
+ <span class="ruby-identifier">run_hook</span> <span class="ruby-node">&quot;post-#{task}&quot;</span>
22
+ }
23
+ <span class="ruby-keyword kw">end</span></pre>
24
+ </body>
25
+ </html>