setup 4.0.0 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (223) hide show
  1. data/CHANGES +42 -0
  2. data/MANIFEST +48 -215
  3. data/README +8 -12
  4. data/RELEASE +41 -0
  5. data/VERSION +2 -0
  6. data/doc/assets/images/setup-small.png +0 -0
  7. data/doc/assets/images/setup.png +0 -0
  8. data/doc/assets/styles/custom.css +59 -0
  9. data/doc/guide/doc.en/custom.css +47 -0
  10. data/doc/{manual → guide}/doc.en/devel.html +24 -17
  11. data/doc/{manual → guide}/doc.en/hookapi.html +11 -2
  12. data/doc/guide/doc.en/index.html +50 -0
  13. data/doc/{manual → guide}/doc.en/metaconfapi.html +14 -2
  14. data/doc/{manual → guide}/doc.en/usage.html +12 -3
  15. data/doc/{manual → guide}/doc.ja/devel.html +0 -0
  16. data/doc/{manual → guide}/doc.ja/hookapi.html +0 -0
  17. data/doc/{manual → guide}/doc.ja/index.html +0 -0
  18. data/doc/{manual → guide}/doc.ja/metaconfapi.html +0 -0
  19. data/doc/{manual → guide}/doc.ja/news.html +0 -0
  20. data/doc/{manual → guide}/doc.ja/usage.html +0 -0
  21. data/doc/index.html +58 -0
  22. data/doc/log/bstats/stats.html +39 -0
  23. data/doc/log/notes.xml +28 -0
  24. data/doc/log/stats.log +14 -0
  25. data/doc/log/syntax.log +0 -0
  26. data/doc/log/testunit.log +60 -0
  27. data/doc/note/TODO +14 -0
  28. data/doc/note/changelog-3.4.1.txt +732 -0
  29. data/doc/{manual/doc.en → note}/news.html +5 -0
  30. data/doc/note/release-4.0.0.txt +26 -0
  31. data/lib/setup.rb +1 -1
  32. data/lib/setup/command.rb +16 -11
  33. data/lib/setup/config.rb +128 -14
  34. data/lib/setup/install.rb +89 -67
  35. data/meta/abstract +8 -0
  36. data/meta/authors +3 -0
  37. data/meta/contact +1 -0
  38. data/meta/created +1 -0
  39. data/meta/homepage +1 -0
  40. data/meta/summary +1 -0
  41. data/{script → task}/install +0 -0
  42. data/test/test_installer.rb +139 -0
  43. metadata +65 -231
  44. data/HISTORY +0 -7
  45. data/METADATA +0 -25
  46. data/NEWS +0 -21
  47. data/doc/manual/doc.en/index.html +0 -28
  48. data/doc/rdoc/classes/Errno.html +0 -89
  49. data/doc/rdoc/classes/Errno/ENOTEMPTY.html +0 -92
  50. data/doc/rdoc/classes/File.html +0 -134
  51. data/doc/rdoc/classes/Setup.html +0 -107
  52. data/doc/rdoc/classes/Setup/Command.html +0 -276
  53. data/doc/rdoc/classes/Setup/ConfigTable.html +0 -622
  54. data/doc/rdoc/classes/Setup/Installer.html +0 -2454
  55. data/doc/rdoc/classes/Setup/Installer/Shebang.html +0 -187
  56. data/doc/rdoc/classes/SetupError.html +0 -92
  57. data/doc/rdoc/created.rid +0 -1
  58. data/doc/rdoc/files/COPYING.html +0 -759
  59. data/doc/rdoc/files/HISTORY.html +0 -104
  60. data/doc/rdoc/files/METADATA.html +0 -92
  61. data/doc/rdoc/files/NEWS.html +0 -113
  62. data/doc/rdoc/files/README.html +0 -214
  63. data/doc/rdoc/files/bin/setup_rb.html +0 -96
  64. data/doc/rdoc/files/lib/setup/build_rb.html +0 -96
  65. data/doc/rdoc/files/lib/setup/command_rb.html +0 -98
  66. data/doc/rdoc/files/lib/setup/config_rb.html +0 -98
  67. data/doc/rdoc/files/lib/setup/error_rb.html +0 -92
  68. data/doc/rdoc/files/lib/setup/install_rb.html +0 -116
  69. data/doc/rdoc/files/lib/setup/rake_rb.html +0 -97
  70. data/doc/rdoc/files/lib/setup/rubyver_rb.html +0 -96
  71. data/doc/rdoc/files/lib/setup_rb.html +0 -92
  72. data/doc/rdoc/fr_class_index.html +0 -55
  73. data/doc/rdoc/fr_file_index.html +0 -60
  74. data/doc/rdoc/fr_method_index.html +0 -182
  75. data/doc/rdoc/index.html +0 -26
  76. data/doc/rdoc/rdoc-style.css +0 -177
  77. data/doc/ri/Errno/ENOTEMPTY/cdesc-ENOTEMPTY.yaml +0 -15
  78. data/doc/ri/Errno/cdesc-Errno.yaml +0 -15
  79. data/doc/ri/File/cdesc-File.yaml +0 -18
  80. data/doc/ri/File/dir%3f-c.yaml +0 -12
  81. data/doc/ri/File/read-c.yaml +0 -10
  82. data/doc/ri/Setup/Command/cdesc-Command.yaml +0 -28
  83. data/doc/ri/Setup/Command/help-i.yaml +0 -12
  84. data/doc/ri/Setup/Command/run-c.yaml +0 -11
  85. data/doc/ri/Setup/Command/run-i.yaml +0 -11
  86. data/doc/ri/Setup/ConfigTable/%5b%5d%3d-i.yaml +0 -12
  87. data/doc/ri/Setup/ConfigTable/%5b%5d-i.yaml +0 -12
  88. data/doc/ri/Setup/ConfigTable/attr_accessor-c.yaml +0 -12
  89. data/doc/ri/Setup/ConfigTable/attr_boolean-c.yaml +0 -12
  90. data/doc/ri/Setup/ConfigTable/attr_pathlist-c.yaml +0 -12
  91. data/doc/ri/Setup/ConfigTable/attr_pathname-c.yaml +0 -12
  92. data/doc/ri/Setup/ConfigTable/cdesc-ConfigTable.yaml +0 -66
  93. data/doc/ri/Setup/ConfigTable/compiles%3f-i.yaml +0 -10
  94. data/doc/ri/Setup/ConfigTable/env_config-i.yaml +0 -12
  95. data/doc/ri/Setup/ConfigTable/extconfs-i.yaml +0 -11
  96. data/doc/ri/Setup/ConfigTable/extensions-i.yaml +0 -10
  97. data/doc/ri/Setup/ConfigTable/initialize_defaults-i.yaml +0 -14
  98. data/doc/ri/Setup/ConfigTable/installdirs%3d-i.yaml +0 -12
  99. data/doc/ri/Setup/ConfigTable/load_config-i.yaml +0 -12
  100. data/doc/ri/Setup/ConfigTable/new-c.yaml +0 -12
  101. data/doc/ri/Setup/ConfigTable/save_config-i.yaml +0 -12
  102. data/doc/ri/Setup/ConfigTable/shebang%3d-i.yaml +0 -12
  103. data/doc/ri/Setup/ConfigTable/show-i.yaml +0 -10
  104. data/doc/ri/Setup/Installer/Shebang/cdesc-Shebang.yaml +0 -28
  105. data/doc/ri/Setup/Installer/Shebang/load-c.yaml +0 -10
  106. data/doc/ri/Setup/Installer/Shebang/new-c.yaml +0 -10
  107. data/doc/ri/Setup/Installer/Shebang/parse-c.yaml +0 -10
  108. data/doc/ri/Setup/Installer/Shebang/to_s-i.yaml +0 -10
  109. data/doc/ri/Setup/Installer/binread-i.yaml +0 -14
  110. data/doc/ri/Setup/Installer/cdesc-Installer.yaml +0 -281
  111. data/doc/ri/Setup/Installer/clean_dir_bin-i.yaml +0 -12
  112. data/doc/ri/Setup/Installer/clean_dir_data-i.yaml +0 -12
  113. data/doc/ri/Setup/Installer/clean_dir_doc-i.yaml +0 -12
  114. data/doc/ri/Setup/Installer/clean_dir_etc-i.yaml +0 -12
  115. data/doc/ri/Setup/Installer/clean_dir_ext-i.yaml +0 -10
  116. data/doc/ri/Setup/Installer/clean_dir_lib-i.yaml +0 -12
  117. data/doc/ri/Setup/Installer/clean_dir_man-i.yaml +0 -12
  118. data/doc/ri/Setup/Installer/command-i.yaml +0 -10
  119. data/doc/ri/Setup/Installer/compiles%3f-i.yaml +0 -10
  120. data/doc/ri/Setup/Installer/config_dir_bin-i.yaml +0 -12
  121. data/doc/ri/Setup/Installer/config_dir_data-i.yaml +0 -12
  122. data/doc/ri/Setup/Installer/config_dir_doc-i.yaml +0 -12
  123. data/doc/ri/Setup/Installer/config_dir_etc-i.yaml +0 -12
  124. data/doc/ri/Setup/Installer/config_dir_ext-i.yaml +0 -10
  125. data/doc/ri/Setup/Installer/config_dir_lib-i.yaml +0 -12
  126. data/doc/ri/Setup/Installer/config_dir_man-i.yaml +0 -12
  127. data/doc/ri/Setup/Installer/curr_objdir-i.yaml +0 -10
  128. data/doc/ri/Setup/Installer/curr_srcdir-i.yaml +0 -12
  129. data/doc/ri/Setup/Installer/diff%3f-i.yaml +0 -10
  130. data/doc/ri/Setup/Installer/directories_of-i.yaml +0 -10
  131. data/doc/ri/Setup/Installer/distclean_dir_bin-i.yaml +0 -12
  132. data/doc/ri/Setup/Installer/distclean_dir_data-i.yaml +0 -12
  133. data/doc/ri/Setup/Installer/distclean_dir_doc-i.yaml +0 -10
  134. data/doc/ri/Setup/Installer/distclean_dir_etc-i.yaml +0 -12
  135. data/doc/ri/Setup/Installer/distclean_dir_ext-i.yaml +0 -10
  136. data/doc/ri/Setup/Installer/distclean_dir_lib-i.yaml +0 -12
  137. data/doc/ri/Setup/Installer/distclean_dir_man-i.yaml +0 -12
  138. data/doc/ri/Setup/Installer/dive_into-i.yaml +0 -10
  139. data/doc/ri/Setup/Installer/dllext-i.yaml +0 -10
  140. data/doc/ri/Setup/Installer/exec_all-i.yaml +0 -12
  141. data/doc/ri/Setup/Installer/exec_clean-i.yaml +0 -12
  142. data/doc/ri/Setup/Installer/exec_config-i.yaml +0 -12
  143. data/doc/ri/Setup/Installer/exec_distclean-i.yaml +0 -12
  144. data/doc/ri/Setup/Installer/exec_doc-i.yaml +0 -11
  145. data/doc/ri/Setup/Installer/exec_install-i.yaml +0 -12
  146. data/doc/ri/Setup/Installer/exec_rdoc-i.yaml +0 -14
  147. data/doc/ri/Setup/Installer/exec_ri-i.yaml +0 -12
  148. data/doc/ri/Setup/Installer/exec_setup-i.yaml +0 -14
  149. data/doc/ri/Setup/Installer/exec_show-i.yaml +0 -12
  150. data/doc/ri/Setup/Installer/exec_task_traverse-i.yaml +0 -12
  151. data/doc/ri/Setup/Installer/exec_test-i.yaml +0 -14
  152. data/doc/ri/Setup/Installer/exec_uninstall-i.yaml +0 -12
  153. data/doc/ri/Setup/Installer/existfiles-i.yaml +0 -10
  154. data/doc/ri/Setup/Installer/extconf-i.yaml +0 -10
  155. data/doc/ri/Setup/Installer/extdir%3f-i.yaml +0 -10
  156. data/doc/ri/Setup/Installer/extensions-i.yaml +0 -12
  157. data/doc/ri/Setup/Installer/files_of-i.yaml +0 -10
  158. data/doc/ri/Setup/Installer/force_remove_file-i.yaml +0 -10
  159. data/doc/ri/Setup/Installer/get_config-i.yaml +0 -11
  160. data/doc/ri/Setup/Installer/glob_reject-i.yaml +0 -10
  161. data/doc/ri/Setup/Installer/glob_select-i.yaml +0 -10
  162. data/doc/ri/Setup/Installer/globs2re-i.yaml +0 -10
  163. data/doc/ri/Setup/Installer/hookfiles-i.yaml +0 -10
  164. data/doc/ri/Setup/Installer/inspect-i.yaml +0 -10
  165. data/doc/ri/Setup/Installer/install-i.yaml +0 -10
  166. data/doc/ri/Setup/Installer/install_dir_bin-i.yaml +0 -10
  167. data/doc/ri/Setup/Installer/install_dir_data-i.yaml +0 -10
  168. data/doc/ri/Setup/Installer/install_dir_doc-i.yaml +0 -12
  169. data/doc/ri/Setup/Installer/install_dir_etc-i.yaml +0 -10
  170. data/doc/ri/Setup/Installer/install_dir_ext-i.yaml +0 -10
  171. data/doc/ri/Setup/Installer/install_dir_lib-i.yaml +0 -10
  172. data/doc/ri/Setup/Installer/install_dir_man-i.yaml +0 -10
  173. data/doc/ri/Setup/Installer/install_files-i.yaml +0 -10
  174. data/doc/ri/Setup/Installer/installation%21-i.yaml +0 -10
  175. data/doc/ri/Setup/Installer/installation%3f-i.yaml +0 -12
  176. data/doc/ri/Setup/Installer/libfiles-i.yaml +0 -10
  177. data/doc/ri/Setup/Installer/make-i.yaml +0 -10
  178. data/doc/ri/Setup/Installer/mapdir-i.yaml +0 -10
  179. data/doc/ri/Setup/Installer/mkdir_p-i.yaml +0 -10
  180. data/doc/ri/Setup/Installer/move_file-i.yaml +0 -10
  181. data/doc/ri/Setup/Installer/new-c.yaml +0 -12
  182. data/doc/ri/Setup/Installer/new_shebang-i.yaml +0 -10
  183. data/doc/ri/Setup/Installer/no_harm%3f-i.yaml +0 -10
  184. data/doc/ri/Setup/Installer/noop-i.yaml +0 -54
  185. data/doc/ri/Setup/Installer/objdir_root-i.yaml +0 -10
  186. data/doc/ri/Setup/Installer/open_atomic_writer-i.yaml +0 -10
  187. data/doc/ri/Setup/Installer/quiet%3f-i.yaml +0 -10
  188. data/doc/ri/Setup/Installer/record_installation-i.yaml +0 -10
  189. data/doc/ri/Setup/Installer/relpath-i.yaml +0 -10
  190. data/doc/ri/Setup/Installer/remove_file-i.yaml +0 -10
  191. data/doc/ri/Setup/Installer/remove_tree-i.yaml +0 -10
  192. data/doc/ri/Setup/Installer/remove_tree0-i.yaml +0 -10
  193. data/doc/ri/Setup/Installer/report_header-i.yaml +0 -11
  194. data/doc/ri/Setup/Installer/rm_f-i.yaml +0 -10
  195. data/doc/ri/Setup/Installer/rm_rf-i.yaml +0 -10
  196. data/doc/ri/Setup/Installer/rmdir-i.yaml +0 -10
  197. data/doc/ri/Setup/Installer/ruby-i.yaml +0 -10
  198. data/doc/ri/Setup/Installer/rubyextentions-i.yaml +0 -10
  199. data/doc/ri/Setup/Installer/run_hook-i.yaml +0 -10
  200. data/doc/ri/Setup/Installer/set_config-i.yaml +0 -12
  201. data/doc/ri/Setup/Installer/setup_dir_bin-i.yaml +0 -10
  202. data/doc/ri/Setup/Installer/setup_dir_data-i.yaml +0 -12
  203. data/doc/ri/Setup/Installer/setup_dir_doc-i.yaml +0 -12
  204. data/doc/ri/Setup/Installer/setup_dir_etc-i.yaml +0 -12
  205. data/doc/ri/Setup/Installer/setup_dir_ext-i.yaml +0 -10
  206. data/doc/ri/Setup/Installer/setup_dir_lib-i.yaml +0 -12
  207. data/doc/ri/Setup/Installer/setup_dir_man-i.yaml +0 -12
  208. data/doc/ri/Setup/Installer/srcdir_root-i.yaml +0 -12
  209. data/doc/ri/Setup/Installer/srcdirectories-i.yaml +0 -10
  210. data/doc/ri/Setup/Installer/srcdirectory%3f-i.yaml +0 -10
  211. data/doc/ri/Setup/Installer/srcentries-i.yaml +0 -10
  212. data/doc/ri/Setup/Installer/srcexist%3f-i.yaml +0 -10
  213. data/doc/ri/Setup/Installer/srcfile%3f-i.yaml +0 -10
  214. data/doc/ri/Setup/Installer/srcfile-i.yaml +0 -10
  215. data/doc/ri/Setup/Installer/srcfiles-i.yaml +0 -10
  216. data/doc/ri/Setup/Installer/targetfiles-i.yaml +0 -10
  217. data/doc/ri/Setup/Installer/traverse-i.yaml +0 -10
  218. data/doc/ri/Setup/Installer/update_shebang_line-i.yaml +0 -10
  219. data/doc/ri/Setup/Installer/verbose%3f-i.yaml +0 -10
  220. data/doc/ri/Setup/Installer/verbose_off-i.yaml +0 -10
  221. data/doc/ri/Setup/cdesc-Setup.yaml +0 -15
  222. data/doc/ri/SetupError/cdesc-SetupError.yaml +0 -15
  223. data/doc/ri/created.rid +0 -1
data/HISTORY DELETED
@@ -1,7 +0,0 @@
1
- = RELEASE HISTORY
2
-
3
- == 4.0.0 // 2008-08-15
4
-
5
- * Intial release.
6
- * This is a conversion of Minero Aoki's setup.rb into a stand alone application.
7
-
data/METADATA DELETED
@@ -1,25 +0,0 @@
1
- ---
2
- project : setup
3
- version : 4.0.0
4
- status : beta
5
- released : 2008-08-15
6
-
7
- title : Setup
8
- brief : Setup.rb Stand-alone Application
9
-
10
- author : trans <transfire@gmail.com>
11
- copyright : (c) 2008 Tiger Ops
12
- homepage : http://setup.rubyforge.org
13
- email : tigerops-talk@rubyforge.org
14
- created : 2008-08-01
15
-
16
- abstract : >
17
- Every Rubyist is aware of Minero Aoki's ever useful
18
- setup.rb script. It's how most of us used to install
19
- our ruby programs before RubyGems came along.And it's
20
- still mighty useful in certain scenarios, not the least
21
- of which is the job of the distribution package managers.
22
- Setup converts setup.rb into a stand-alone application.
23
- No longer will you need distribute setup.rb with you
24
- Ruby packages. Just instruct your users to use Setup.
25
-
data/NEWS DELETED
@@ -1,21 +0,0 @@
1
- = NEWS
2
-
3
- == 4.0.0 // 2008-08-16
4
-
5
- This is the initial release of Setup. As such it is getting
6
- the label "betaware" until enough people put it
7
- through it's paces. However, since it is predominantly
8
- setup.rb 3.4.1 code, and that it works to install
9
- itself ;) it certainly is a usable product.
10
-
11
- Please report any problems so we can fix them ASAP.
12
-
13
- Currently Setup does not support Aoki's Metaconfig API.
14
- It's usefulness seems extremely limited, but we will
15
- reconsider adding it back in a furture version.
16
-
17
- Multi-package support has also been removed.
18
-
19
- --
20
- Website: http://setup.rubyforge.org
21
-
@@ -1,28 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
- <html lang="en">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
5
- <meta http-equiv="Content-Language" content="en">
6
- <title>setup.rb User Manual</title>
7
- </head>
8
- <body>
9
-
10
- <h1>setup.rb User Manual</h1>
11
- <p>
12
- setup.rb is the generic installer for ruby scripts/extentions.
13
- You can automate configuration and installation of your program
14
- package.
15
- </p>
16
-
17
- <ul>
18
- <li><a href="usage.html">Installing Packages with setup.rb</a>
19
- <li><a href="devel.html">Creating Packages Using setup.rb</a>
20
- <li><a href="hookapi.html">Hook Script APIs Reference Manual</a>
21
- <li><a href="metaconfapi.html">metaconfig APIs Reference Manual</a>
22
-
23
- <li><a href="news.html">NEWS</a>
24
-
25
- </ul>
26
-
27
- </body>
28
- </html>
@@ -1,89 +0,0 @@
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
- <html>
6
- <head>
7
- <title>Module: Errno</title>
8
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
10
-
11
- <script language="JavaScript" type="text/javascript">
12
- // <![CDATA[
13
-
14
- function toggleSource( id )
15
- {
16
- var elem
17
- var link
18
-
19
- if( document.getElementById )
20
- {
21
- elem = document.getElementById( id )
22
- link = document.getElementById( "l_" + id )
23
- }
24
- else if ( document.all )
25
- {
26
- elem = eval( "document.all." + id )
27
- link = eval( "document.all.l_" + id )
28
- }
29
- else
30
- return false;
31
-
32
- if( elem.style.display == "block" )
33
- {
34
- elem.style.display = "none"
35
- link.innerHTML = "+"
36
- }
37
- else
38
- {
39
- elem.style.display = "block"
40
- link.innerHTML = "-"
41
- }
42
- }
43
-
44
- function openCode( url )
45
- {
46
- window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
47
- }
48
- // ]]>
49
- </script>
50
- </head>
51
-
52
- <body>
53
- <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
54
- <td class="file-title"><span class="file-title-prefix">Module</span><br />Errno</td>
55
- <td align="right">
56
- <table cellspacing="0" cellpadding="2">
57
- <tr valign="top">
58
- <td>In:</td>
59
- <td>
60
- <a href="../files/lib/setup/rubyver_rb.html">lib/setup/rubyver.rb</a>
61
- </td>
62
- </tr>
63
- </table>
64
- </td>
65
- </tr>
66
- </table>
67
- <!-- banner header -->
68
-
69
- <div id="bodyContent">
70
- <div id="content">
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
- <div class="sectiontitle">Classes and Modules</div>
79
- Class <a href="Errno/ENOTEMPTY.html" class="link">Errno::ENOTEMPTY</a><br />
80
-
81
-
82
-
83
-
84
- </div>
85
-
86
- </div>
87
-
88
- </body>
89
- </html>
@@ -1,92 +0,0 @@
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
- <html>
6
- <head>
7
- <title>Class: Errno::ENOTEMPTY</title>
8
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
10
-
11
- <script language="JavaScript" type="text/javascript">
12
- // <![CDATA[
13
-
14
- function toggleSource( id )
15
- {
16
- var elem
17
- var link
18
-
19
- if( document.getElementById )
20
- {
21
- elem = document.getElementById( id )
22
- link = document.getElementById( "l_" + id )
23
- }
24
- else if ( document.all )
25
- {
26
- elem = eval( "document.all." + id )
27
- link = eval( "document.all.l_" + id )
28
- }
29
- else
30
- return false;
31
-
32
- if( elem.style.display == "block" )
33
- {
34
- elem.style.display = "none"
35
- link.innerHTML = "+"
36
- }
37
- else
38
- {
39
- elem.style.display = "block"
40
- link.innerHTML = "-"
41
- }
42
- }
43
-
44
- function openCode( url )
45
- {
46
- window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
47
- }
48
- // ]]>
49
- </script>
50
- </head>
51
-
52
- <body>
53
- <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
54
- <td class="file-title"><span class="file-title-prefix">Class</span><br />Errno::ENOTEMPTY</td>
55
- <td align="right">
56
- <table cellspacing="0" cellpadding="2">
57
- <tr valign="top">
58
- <td>In:</td>
59
- <td>
60
- <a href="../../files/lib/setup/rubyver_rb.html">lib/setup/rubyver.rb</a>
61
- </td>
62
- </tr>
63
- <tr>
64
- <td>Parent:</td>
65
- <td>
66
- Object
67
- </td>
68
- </tr>
69
- </table>
70
- </td>
71
- </tr>
72
- </table>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
- <div id="content">
77
-
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
-
86
-
87
- </div>
88
-
89
- </div>
90
-
91
- </body>
92
- </html>
@@ -1,134 +0,0 @@
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
- <html>
6
- <head>
7
- <title>Class: File</title>
8
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
10
-
11
- <script language="JavaScript" type="text/javascript">
12
- // <![CDATA[
13
-
14
- function toggleSource( id )
15
- {
16
- var elem
17
- var link
18
-
19
- if( document.getElementById )
20
- {
21
- elem = document.getElementById( id )
22
- link = document.getElementById( "l_" + id )
23
- }
24
- else if ( document.all )
25
- {
26
- elem = eval( "document.all." + id )
27
- link = eval( "document.all.l_" + id )
28
- }
29
- else
30
- return false;
31
-
32
- if( elem.style.display == "block" )
33
- {
34
- elem.style.display = "none"
35
- link.innerHTML = "+"
36
- }
37
- else
38
- {
39
- elem.style.display = "block"
40
- link.innerHTML = "-"
41
- }
42
- }
43
-
44
- function openCode( url )
45
- {
46
- window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
47
- }
48
- // ]]>
49
- </script>
50
- </head>
51
-
52
- <body>
53
- <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
54
- <td class="file-title"><span class="file-title-prefix">Class</span><br />File</td>
55
- <td align="right">
56
- <table cellspacing="0" cellpadding="2">
57
- <tr valign="top">
58
- <td>In:</td>
59
- <td>
60
- </td>
61
- </tr>
62
- <tr>
63
- <td>Parent:</td>
64
- <td>
65
- IO
66
- </td>
67
- </tr>
68
- </table>
69
- </td>
70
- </tr>
71
- </table>
72
- <!-- banner header -->
73
-
74
- <div id="bodyContent">
75
- <div id="content">
76
-
77
-
78
-
79
-
80
- <div class="sectiontitle">Methods</div>
81
- <span style="padding-right: 5px;"><a href="#M000002">dir?</a></span>
82
- <span style="padding-right: 5px;"><a href="#M000001">read</a></span>
83
-
84
-
85
-
86
-
87
-
88
-
89
- <div class="sectiontitle">Public Class methods</div>
90
- <div class="method">
91
- <div class="title">
92
- <a name="M000002"></a><b>dir?</b>(path)
93
- </div>
94
- <div class="description">
95
- <p>
96
- for corrupted Windows&#8217; stat(2)
97
- </p>
98
- </div>
99
- <div class="sourcecode">
100
- <p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">+</a> ]</p>
101
- <div id="M000002_source" class="dyn-source">
102
- <pre>
103
- <span class="ruby-comment cmt"># File lib/setup/rubyver.rb, line 22</span>
104
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">dir?</span>(<span class="ruby-identifier">path</span>)
105
- <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>((<span class="ruby-identifier">path</span>[<span class="ruby-value">-1</span>,<span class="ruby-value">1</span>] <span class="ruby-operator">==</span> <span class="ruby-value str">'/'</span>) <span class="ruby-operator">?</span> <span class="ruby-identifier">path</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">path</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'/'</span>)
106
- <span class="ruby-keyword kw">end</span>
107
- </pre>
108
- </div>
109
- </div>
110
- </div>
111
- <div class="method">
112
- <div class="title">
113
- <a name="M000001"></a><b>read</b>(fname)
114
- </div>
115
- <div class="sourcecode">
116
- <p class="source-link">[ <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">+</a> ]</p>
117
- <div id="M000001_source" class="dyn-source">
118
- <pre>
119
- <span class="ruby-comment cmt"># File lib/setup/rubyver.rb, line 6</span>
120
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">fname</span>)
121
- <span class="ruby-identifier">open</span>(<span class="ruby-identifier">fname</span>) {<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
122
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">read</span>
123
- }
124
- <span class="ruby-keyword kw">end</span>
125
- </pre>
126
- </div>
127
- </div>
128
- </div>
129
- </div>
130
-
131
- </div>
132
-
133
- </body>
134
- </html>
@@ -1,107 +0,0 @@
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
- <html>
6
- <head>
7
- <title>Module: Setup</title>
8
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
10
-
11
- <script language="JavaScript" type="text/javascript">
12
- // <![CDATA[
13
-
14
- function toggleSource( id )
15
- {
16
- var elem
17
- var link
18
-
19
- if( document.getElementById )
20
- {
21
- elem = document.getElementById( id )
22
- link = document.getElementById( "l_" + id )
23
- }
24
- else if ( document.all )
25
- {
26
- elem = eval( "document.all." + id )
27
- link = eval( "document.all.l_" + id )
28
- }
29
- else
30
- return false;
31
-
32
- if( elem.style.display == "block" )
33
- {
34
- elem.style.display = "none"
35
- link.innerHTML = "+"
36
- }
37
- else
38
- {
39
- elem.style.display = "block"
40
- link.innerHTML = "-"
41
- }
42
- }
43
-
44
- function openCode( url )
45
- {
46
- window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
47
- }
48
- // ]]>
49
- </script>
50
- </head>
51
-
52
- <body>
53
- <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
54
- <td class="file-title"><span class="file-title-prefix">Module</span><br />Setup</td>
55
- <td align="right">
56
- <table cellspacing="0" cellpadding="2">
57
- <tr valign="top">
58
- <td>In:</td>
59
- <td>
60
- <a href="../files/lib/setup_rb.html">lib/setup.rb</a>
61
- <a href="../files/lib/setup/install_rb.html">lib/setup/install.rb</a>
62
- <a href="../files/lib/setup/command_rb.html">lib/setup/command.rb</a>
63
- <a href="../files/lib/setup/config_rb.html">lib/setup/config.rb</a>
64
- </td>
65
- </tr>
66
- </table>
67
- </td>
68
- </tr>
69
- </table>
70
- <!-- banner header -->
71
-
72
- <div id="bodyContent">
73
- <div id="content">
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
- <div class="sectiontitle">Classes and Modules</div>
82
- Class <a href="Setup/Command.html" class="link">Setup::Command</a><br />
83
- Class <a href="Setup/ConfigTable.html" class="link">Setup::ConfigTable</a><br />
84
- Class <a href="Setup/Installer.html" class="link">Setup::Installer</a><br />
85
-
86
-
87
- <div class="sectiontitle">Constants</div>
88
- <table border='0' cellpadding='5'>
89
- <tr valign='top'>
90
- <td class="attr-name">VERSION</td>
91
- <td>=</td>
92
- <td class="attr-value">'4.0.0'</td>
93
- </tr>
94
- <tr valign='top'>
95
- <td class="attr-name">COPYRIGHT</td>
96
- <td>=</td>
97
- <td class="attr-value">'Copyright (c) 2002,2008 Minero Aoki &amp; Thomas Sawyer'</td>
98
- </tr>
99
- </table>
100
-
101
-
102
- </div>
103
-
104
- </div>
105
-
106
- </body>
107
- </html>