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
@@ -1,15 +0,0 @@
1
- --- !ruby/object:RI::ClassDescription
2
- attributes: []
3
-
4
- class_methods: []
5
-
6
- comment:
7
- constants: []
8
-
9
- full_name: Errno
10
- includes: []
11
-
12
- instance_methods: []
13
-
14
- name: Errno
15
- superclass:
@@ -1,18 +0,0 @@
1
- --- !ruby/object:RI::ClassDescription
2
- attributes: []
3
-
4
- class_methods:
5
- - !ruby/object:RI::MethodSummary
6
- name: dir?
7
- - !ruby/object:RI::MethodSummary
8
- name: read
9
- comment:
10
- constants: []
11
-
12
- full_name: File
13
- includes: []
14
-
15
- instance_methods: []
16
-
17
- name: File
18
- superclass: IO
@@ -1,12 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- - !ruby/struct:SM::Flow::P
7
- body: for corrupted Windows' stat(2)
8
- full_name: File::dir?
9
- is_singleton: true
10
- name: dir?
11
- params: (path)
12
- visibility: public
@@ -1,10 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- full_name: File::read
7
- is_singleton: true
8
- name: read
9
- params: (fname)
10
- visibility: public
@@ -1,28 +0,0 @@
1
- --- !ruby/object:RI::ClassDescription
2
- attributes: []
3
-
4
- class_methods:
5
- - !ruby/object:RI::MethodSummary
6
- name: run
7
- comment:
8
- - !ruby/struct:SM::Flow::P
9
- body: CLI for setup.
10
- constants:
11
- - !ruby/object:RI::Constant
12
- comment:
13
- name: TASKS
14
- value: "%w(all config show setup test install uninstall rdoc ri clean distclean)"
15
- - !ruby/object:RI::Constant
16
- comment:
17
- name: TASK_DESCRIPTIONS
18
- value: "[ [ 'all', 'do config, setup, then install' ], [ 'config', 'saves your configurations' ], [ 'show', 'shows current configuration' ], [ 'setup', 'compiles ruby extentions and others' ], [ 'rdoc', 'generate rdoc documentation' ], [ 'ri', 'generate ri documentation' ], [ 'install', 'installs files' ], [ 'test', 'run all tests in test/' ], [ 'clean', \"does `make clean' for each extention\" ], [ 'distclean',\"does `make distclean' for each extention\" ]"
19
- full_name: Setup::Command
20
- includes: []
21
-
22
- instance_methods:
23
- - !ruby/object:RI::MethodSummary
24
- name: help
25
- - !ruby/object:RI::MethodSummary
26
- name: run
27
- name: Command
28
- superclass: Object
@@ -1,12 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- - !ruby/struct:SM::Flow::P
7
- body: Generate help text.
8
- full_name: Setup::Command#help
9
- is_singleton: false
10
- name: help
11
- params: ()
12
- visibility: public
@@ -1,11 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment: []
6
-
7
- full_name: Setup::Command::run
8
- is_singleton: true
9
- name: run
10
- params: ()
11
- visibility: public
@@ -1,11 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment: []
6
-
7
- full_name: Setup::Command#run
8
- is_singleton: false
9
- name: run
10
- params: ()
11
- visibility: public
@@ -1,12 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- - !ruby/struct:SM::Flow::P
7
- body: Set attribute.
8
- full_name: Setup::ConfigTable#[]=
9
- is_singleton: false
10
- name: "[]="
11
- params: (name, value)
12
- visibility: private
@@ -1,12 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- - !ruby/struct:SM::Flow::P
7
- body: Get unresloved attribute.
8
- full_name: Setup::ConfigTable#[]
9
- is_singleton: false
10
- name: "[]"
11
- params: (name)
12
- visibility: private
@@ -1,12 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- - !ruby/struct:SM::Flow::P
7
- body: Adds boolean support.
8
- full_name: Setup::ConfigTable::attr_accessor
9
- is_singleton: true
10
- name: attr_accessor
11
- params: (*names)
12
- visibility: public
@@ -1,12 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- - !ruby/struct:SM::Flow::P
7
- body: Boolean attribute. Can be assigned true, false, nil, or a string matching yes|true|y|t or no|false|n|f.
8
- full_name: Setup::ConfigTable::attr_boolean
9
- is_singleton: true
10
- name: attr_boolean
11
- params: (*names)
12
- visibility: public
@@ -1,12 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- - !ruby/struct:SM::Flow::P
7
- body: List of pathnames. These are not expanded though.
8
- full_name: Setup::ConfigTable::attr_pathlist
9
- is_singleton: true
10
- name: attr_pathlist
11
- params: (name)
12
- visibility: public
@@ -1,12 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- - !ruby/struct:SM::Flow::P
7
- body: Pathname attribute. Pathnames are automatically expanded unless they start with '$', a path variable.
8
- full_name: Setup::ConfigTable::attr_pathname
9
- is_singleton: true
10
- name: attr_pathname
11
- params: (name)
12
- visibility: public
@@ -1,66 +0,0 @@
1
- --- !ruby/object:RI::ClassDescription
2
- attributes: []
3
-
4
- class_methods:
5
- - !ruby/object:RI::MethodSummary
6
- name: attr_accessor
7
- - !ruby/object:RI::MethodSummary
8
- name: attr_boolean
9
- - !ruby/object:RI::MethodSummary
10
- name: attr_pathlist
11
- - !ruby/object:RI::MethodSummary
12
- name: attr_pathname
13
- - !ruby/object:RI::MethodSummary
14
- name: new
15
- comment:
16
- - !ruby/struct:SM::Flow::P
17
- body: Config stores platform information.
18
- constants:
19
- - !ruby/object:RI::Constant
20
- comment:
21
- name: RBCONFIG
22
- value: "::Config::CONFIG"
23
- - !ruby/object:RI::Constant
24
- comment:
25
- name: CONFIGFILE
26
- value: "'.config'"
27
- - !ruby/object:RI::Constant
28
- comment:
29
- name: DESCRIPTIONS
30
- value: "[ [:prefix , :path, 'path prefix of target environment'], [:bindir , :path, 'directory for commands'], [:libdir , :path, 'directory for libraries'], [:datadir , :path, 'directory for shared data'], [:mandir , :path, 'directory for man pages'], [:docdir , :path, 'Directory for documentation'], [:sysconfdir , :path, 'directory for system configuration files'], [:localstatedir , :path, 'directory for local state data'], [:libruby , :path, 'directory for ruby libraries'], [:librubyver , :path, 'directory for standard ruby libraries'], [:librubyverarch , :path, 'directory for standard ruby extensions'], [:siteruby , :path, 'directory for version-independent aux ruby libraries'], [:siterubyver , :path, 'directory for aux ruby libraries'], [:siterubyverarch , :path, 'directory for aux ruby binaries'], [:rbdir , :path, 'directory for ruby scripts'], [:sodir , :path, 'directory for ruby extentions'], [:rubypath , :prog, 'path to set to #! line'], [:rubyprog , :prog, 'ruby program using for installation'], [:makeprog , :prog, 'make program to compile ruby extentions'], [:extconfopt , :name, 'options to pass-thru to extconf.rb'], [:without_ext , :bool, 'do not compile/install ruby extentions'], [:without_doc , :bool, 'do not generate html documentation'], [:shebang , :pick, 'shebang line (#!) editing mode (all,ruby,never)'], [:doctemplate , :pick, 'document template to use (html|xml)'], [:testrunner , :pick, 'Runner to use for testing (auto|console|tk|gtk|gtk2)'], [:installdirs , :pick, 'install location mode (std,site,home :: libruby,site_ruby,$HOME)']"
31
- - !ruby/object:RI::Constant
32
- comment:
33
- - !ruby/struct:SM::Flow::P
34
- body: List of configurable options.
35
- name: OPTIONS
36
- value: DESCRIPTIONS.collect{ |(k,t,v)| k.to_s }
37
- full_name: Setup::ConfigTable
38
- includes: []
39
-
40
- instance_methods:
41
- - !ruby/object:RI::MethodSummary
42
- name: "[]"
43
- - !ruby/object:RI::MethodSummary
44
- name: "[]="
45
- - !ruby/object:RI::MethodSummary
46
- name: compiles?
47
- - !ruby/object:RI::MethodSummary
48
- name: env_config
49
- - !ruby/object:RI::MethodSummary
50
- name: extconfs
51
- - !ruby/object:RI::MethodSummary
52
- name: extensions
53
- - !ruby/object:RI::MethodSummary
54
- name: initialize_defaults
55
- - !ruby/object:RI::MethodSummary
56
- name: installdirs=
57
- - !ruby/object:RI::MethodSummary
58
- name: load_config
59
- - !ruby/object:RI::MethodSummary
60
- name: save_config
61
- - !ruby/object:RI::MethodSummary
62
- name: shebang=
63
- - !ruby/object:RI::MethodSummary
64
- name: show
65
- name: ConfigTable
66
- superclass: Object
@@ -1,10 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- full_name: Setup::ConfigTable#compiles?
7
- is_singleton: false
8
- name: compiles?
9
- params: ()
10
- visibility: public
@@ -1,12 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- - !ruby/struct:SM::Flow::P
7
- body: Get configuration from environment.
8
- full_name: Setup::ConfigTable#env_config
9
- is_singleton: false
10
- name: env_config
11
- params: ()
12
- visibility: public
@@ -1,11 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment: []
6
-
7
- full_name: Setup::ConfigTable#extconfs
8
- is_singleton: false
9
- name: extconfs
10
- params: ()
11
- visibility: public
@@ -1,10 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- full_name: Setup::ConfigTable#extensions
7
- is_singleton: false
8
- name: extensions
9
- params: ()
10
- visibility: public
@@ -1,14 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- - !ruby/struct:SM::Flow::P
7
- body: Assign CONFIG defaults
8
- - !ruby/struct:SM::Flow::P
9
- body: "TODO: Does this handle 'nmake' on windows?"
10
- full_name: Setup::ConfigTable#initialize_defaults
11
- is_singleton: false
12
- name: initialize_defaults
13
- params: ()
14
- visibility: public
@@ -1,12 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- - !ruby/struct:SM::Flow::P
7
- body: installdirs has only three options; and it has side-effects.
8
- full_name: Setup::ConfigTable#installdirs=
9
- is_singleton: false
10
- name: installdirs=
11
- params: (val)
12
- visibility: public
@@ -1,12 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- - !ruby/struct:SM::Flow::P
7
- body: Load configuration.
8
- full_name: Setup::ConfigTable#load_config
9
- is_singleton: false
10
- name: load_config
11
- params: ()
12
- visibility: public
@@ -1,12 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- - !ruby/struct:SM::Flow::P
7
- body: New ConfigTable
8
- full_name: Setup::ConfigTable::new
9
- is_singleton: true
10
- name: new
11
- params: (values=nil)
12
- visibility: public
@@ -1,12 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- - !ruby/struct:SM::Flow::P
7
- body: Save configuration.
8
- full_name: Setup::ConfigTable#save_config
9
- is_singleton: false
10
- name: save_config
11
- params: ()
12
- visibility: public
@@ -1,12 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- - !ruby/struct:SM::Flow::P
7
- body: shebang has only three options.
8
- full_name: Setup::ConfigTable#shebang=
9
- is_singleton: false
10
- name: shebang=
11
- params: (val)
12
- visibility: public
@@ -1,10 +0,0 @@
1
- --- !ruby/object:RI::MethodDescription
2
- aliases: []
3
-
4
- block_params:
5
- comment:
6
- full_name: Setup::ConfigTable#show
7
- is_singleton: false
8
- name: show
9
- params: ()
10
- visibility: public
@@ -1,28 +0,0 @@
1
- --- !ruby/object:RI::ClassDescription
2
- attributes:
3
- - !ruby/object:RI::Attribute
4
- comment:
5
- name: args
6
- rw: R
7
- - !ruby/object:RI::Attribute
8
- comment:
9
- name: cmd
10
- rw: R
11
- class_methods:
12
- - !ruby/object:RI::MethodSummary
13
- name: load
14
- - !ruby/object:RI::MethodSummary
15
- name: new
16
- - !ruby/object:RI::MethodSummary
17
- name: parse
18
- comment:
19
- constants: []
20
-
21
- full_name: Setup::Installer::Shebang
22
- includes: []
23
-
24
- instance_methods:
25
- - !ruby/object:RI::MethodSummary
26
- name: to_s
27
- name: Shebang
28
- superclass: Object