sisu 7.1.7 → 7.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/data/sisu/version.yml +3 -3
  3. data/lib/sisu/air.rb +10 -12
  4. data/lib/sisu/ao.rb +10 -12
  5. data/lib/sisu/ao_appendices.rb +10 -12
  6. data/lib/sisu/ao_character_check.rb +10 -12
  7. data/lib/sisu/ao_composite.rb +10 -12
  8. data/lib/sisu/ao_doc_objects.rb +10 -12
  9. data/lib/sisu/ao_doc_str.rb +10 -12
  10. data/lib/sisu/ao_endnotes.rb +10 -12
  11. data/lib/sisu/ao_expand_insertions.rb +10 -12
  12. data/lib/sisu/ao_hash_digest.rb +10 -12
  13. data/lib/sisu/ao_idx.rb +10 -12
  14. data/lib/sisu/ao_images.rb +10 -12
  15. data/lib/sisu/ao_metadata.rb +10 -12
  16. data/lib/sisu/ao_misc_arrange.rb +10 -12
  17. data/lib/sisu/ao_numbering.rb +10 -12
  18. data/lib/sisu/ao_persist.rb +10 -12
  19. data/lib/sisu/ao_syntax.rb +10 -12
  20. data/lib/sisu/cgi.rb +10 -12
  21. data/lib/sisu/cgi_pgsql.rb +10 -12
  22. data/lib/sisu/cgi_sql_common.rb +16 -18
  23. data/lib/sisu/cgi_sqlite.rb +10 -12
  24. data/lib/sisu/conf.rb +10 -12
  25. data/lib/sisu/constants.rb +12 -13
  26. data/lib/sisu/css.rb +10 -12
  27. data/lib/sisu/db_columns.rb +10 -12
  28. data/lib/sisu/db_create.rb +10 -12
  29. data/lib/sisu/db_dbi.rb +10 -12
  30. data/lib/sisu/db_drop.rb +10 -12
  31. data/lib/sisu/db_import.rb +10 -12
  32. data/lib/sisu/db_indexes.rb +10 -12
  33. data/lib/sisu/db_load_tuple.rb +10 -12
  34. data/lib/sisu/db_remove.rb +10 -12
  35. data/lib/sisu/db_select.rb +10 -12
  36. data/lib/sisu/db_sqltxt.rb +10 -12
  37. data/lib/sisu/db_tests.rb +10 -12
  38. data/lib/sisu/dbi.rb +10 -12
  39. data/lib/sisu/dbi_discrete.rb +10 -12
  40. data/lib/sisu/digests.rb +10 -12
  41. data/lib/sisu/dp.rb +15 -14
  42. data/lib/sisu/dp_identify_markup.rb +10 -12
  43. data/lib/sisu/dp_make.rb +11 -13
  44. data/lib/sisu/embedded.rb +10 -12
  45. data/lib/sisu/errors.rb +10 -12
  46. data/lib/sisu/generic_parts.rb +10 -12
  47. data/lib/sisu/git.rb +10 -12
  48. data/lib/sisu/html.rb +10 -12
  49. data/lib/sisu/html_concordance.rb +10 -12
  50. data/lib/sisu/html_format.rb +10 -12
  51. data/lib/sisu/html_harvest.rb +10 -12
  52. data/lib/sisu/html_harvest_author_format.rb +10 -12
  53. data/lib/sisu/html_harvest_authors.rb +10 -12
  54. data/lib/sisu/html_harvest_topics.rb +10 -12
  55. data/lib/sisu/html_lite_shared.rb +10 -12
  56. data/lib/sisu/html_manifest.rb +10 -12
  57. data/lib/sisu/html_minitoc.rb +10 -12
  58. data/lib/sisu/html_parts.rb +10 -12
  59. data/lib/sisu/html_persist.rb +10 -12
  60. data/lib/sisu/html_promo.rb +10 -12
  61. data/lib/sisu/html_scroll.rb +10 -12
  62. data/lib/sisu/html_segments.rb +10 -12
  63. data/lib/sisu/html_shared.rb +10 -12
  64. data/lib/sisu/html_table.rb +10 -12
  65. data/lib/sisu/html_tune.rb +10 -12
  66. data/lib/sisu/hub.rb +12 -13
  67. data/lib/sisu/hub_actions.rb +26 -12
  68. data/lib/sisu/hub_loop_markup_files.rb +10 -12
  69. data/lib/sisu/hub_options.rb +19 -12
  70. data/lib/sisu/i18n.rb +10 -12
  71. data/lib/sisu/json.rb +415 -0
  72. data/lib/sisu/json_format.rb +478 -0
  73. data/lib/sisu/json_parts.rb +88 -0
  74. data/lib/sisu/json_persist.rb +124 -0
  75. data/lib/sisu/json_shared.rb +681 -0
  76. data/lib/sisu/manpage.rb +11 -13
  77. data/lib/sisu/manpage_format.rb +10 -12
  78. data/lib/sisu/object_munge.rb +10 -12
  79. data/lib/sisu/prog_text_translation.rb +10 -12
  80. data/lib/sisu/qrcode.rb +10 -12
  81. data/lib/sisu/relaxng.rb +16 -18
  82. data/lib/sisu/remote.rb +10 -12
  83. data/lib/sisu/rexml.rb +10 -12
  84. data/lib/sisu/se.rb +10 -12
  85. data/lib/sisu/se_cleanoutput.rb +10 -12
  86. data/lib/sisu/se_clear.rb +10 -12
  87. data/lib/sisu/se_createsite.rb +10 -12
  88. data/lib/sisu/se_css.rb +10 -12
  89. data/lib/sisu/se_date.rb +10 -12
  90. data/lib/sisu/se_db.rb +10 -12
  91. data/lib/sisu/se_envcall.rb +10 -12
  92. data/lib/sisu/se_file_op.rb +69 -12
  93. data/lib/sisu/se_filemap.rb +10 -12
  94. data/lib/sisu/se_get_init.rb +10 -12
  95. data/lib/sisu/se_hub_particulars.rb +10 -12
  96. data/lib/sisu/se_info_env.rb +10 -12
  97. data/lib/sisu/se_info_port.rb +10 -12
  98. data/lib/sisu/se_info_system.rb +10 -12
  99. data/lib/sisu/se_load.rb +10 -12
  100. data/lib/sisu/se_processing.rb +10 -12
  101. data/lib/sisu/se_programs.rb +10 -12
  102. data/lib/sisu/se_remotes.rb +10 -12
  103. data/lib/sisu/se_standardise_lang.rb +10 -12
  104. data/lib/sisu/se_version.rb +10 -12
  105. data/lib/sisu/shared_images.rb +10 -12
  106. data/lib/sisu/shared_markup_alt.rb +10 -12
  107. data/lib/sisu/shared_metadata.rb +22 -12
  108. data/lib/sisu/shared_sem.rb +10 -12
  109. data/lib/sisu/sitemaps.rb +10 -12
  110. data/lib/sisu/src_kdissert_share.rb +10 -12
  111. data/lib/sisu/src_po4a_share.rb +10 -12
  112. data/lib/sisu/src_po4a_shelf.rb +10 -12
  113. data/lib/sisu/src_po4a_shelf_set.rb +10 -12
  114. data/lib/sisu/src_po4a_sst_ao_sst.rb +10 -12
  115. data/lib/sisu/src_po4a_sst_ao_sst_set.rb +10 -12
  116. data/lib/sisu/src_po4a_sstm.rb +10 -12
  117. data/lib/sisu/src_shared.rb +10 -12
  118. data/lib/sisu/src_sisupod_make.rb +10 -12
  119. data/lib/sisu/src_sisupod_sstm.rb +10 -12
  120. data/lib/sisu/sst_convert_markup.rb +10 -12
  121. data/lib/sisu/sst_do_inline_footnotes.rb +10 -12
  122. data/lib/sisu/sst_from_xml.rb +10 -12
  123. data/lib/sisu/sst_identify_markup.rb +10 -12
  124. data/lib/sisu/sst_to_s_xml_sax.rb +10 -12
  125. data/lib/sisu/termsheet.rb +10 -12
  126. data/lib/sisu/texinfo.rb +10 -12
  127. data/lib/sisu/texinfo_format.rb +10 -12
  128. data/lib/sisu/texpdf.rb +10 -12
  129. data/lib/sisu/texpdf_format.rb +10 -12
  130. data/lib/sisu/texpdf_parts.rb +10 -12
  131. data/lib/sisu/txt_asciidoc.rb +10 -12
  132. data/lib/sisu/txt_asciidoc_decorate.rb +10 -12
  133. data/lib/sisu/txt_markdown.rb +10 -12
  134. data/lib/sisu/txt_markdown_decorate.rb +10 -12
  135. data/lib/sisu/txt_orgmode.rb +36 -22
  136. data/lib/sisu/txt_orgmode_decorate.rb +10 -12
  137. data/lib/sisu/txt_output.rb +10 -12
  138. data/lib/sisu/txt_plain.rb +10 -12
  139. data/lib/sisu/txt_plain_decorate.rb +10 -12
  140. data/lib/sisu/txt_read.rb +10 -12
  141. data/lib/sisu/txt_rst.rb +10 -12
  142. data/lib/sisu/txt_rst_decorate.rb +10 -12
  143. data/lib/sisu/txt_shared.rb +10 -12
  144. data/lib/sisu/txt_textile.rb +10 -12
  145. data/lib/sisu/txt_textile_decorate.rb +10 -12
  146. data/lib/sisu/update.rb +10 -12
  147. data/lib/sisu/urls.rb +23 -12
  148. data/lib/sisu/utils.rb +10 -11
  149. data/lib/sisu/utils_composite.rb +10 -12
  150. data/lib/sisu/utils_response.rb +10 -12
  151. data/lib/sisu/utils_screen_text_color.rb +10 -12
  152. data/lib/sisu/utils_spell.rb +10 -12
  153. data/lib/sisu/webrick.rb +10 -12
  154. data/lib/sisu/wikispeak.rb +10 -12
  155. data/lib/sisu/xhtml.rb +10 -12
  156. data/lib/sisu/xhtml_epub2.rb +10 -12
  157. data/lib/sisu/xhtml_epub2_concordance.rb +10 -12
  158. data/lib/sisu/xhtml_epub2_format.rb +10 -12
  159. data/lib/sisu/xhtml_epub2_persist.rb +10 -12
  160. data/lib/sisu/xhtml_epub2_segments.rb +10 -12
  161. data/lib/sisu/xhtml_epub2_tune.rb +10 -12
  162. data/lib/sisu/xhtml_parts.rb +10 -12
  163. data/lib/sisu/xhtml_shared.rb +10 -12
  164. data/lib/sisu/xhtml_table.rb +10 -12
  165. data/lib/sisu/xml_docbook5.rb +10 -12
  166. data/lib/sisu/xml_dom.rb +10 -12
  167. data/lib/sisu/xml_fictionbook2.rb +10 -12
  168. data/lib/sisu/xml_format.rb +10 -12
  169. data/lib/sisu/xml_md_oai_pmh_dc.rb +10 -12
  170. data/lib/sisu/xml_odf_odt.rb +10 -12
  171. data/lib/sisu/xml_odf_odt_format.rb +10 -12
  172. data/lib/sisu/xml_parts.rb +10 -12
  173. data/lib/sisu/xml_persist.rb +10 -12
  174. data/lib/sisu/xml_sax.rb +10 -12
  175. data/lib/sisu/xml_scaffold_structure_collapsed.rb +10 -12
  176. data/lib/sisu/xml_scaffold_structure_sisu.rb +10 -12
  177. data/lib/sisu/xml_shared.rb +10 -12
  178. data/lib/sisu/xml_tables.rb +10 -12
  179. data/lib/sisu/zap.rb +10 -12
  180. metadata +9 -4
@@ -7,11 +7,11 @@
7
7
  *** html advertising component, build here, mockup
8
8
 
9
9
  ** Author: Ralph Amissah
10
- <ralph@amissah.com>
11
- <ralph.amissah@gmail.com>
10
+ [ralph@amissah.com]
11
+ [ralph.amissah@gmail.com]
12
12
 
13
13
  ** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
14
- 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Ralph Amissah,
14
+ 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Ralph Amissah,
15
15
  All Rights Reserved.
16
16
 
17
17
  ** License: GPL 3 or later:
@@ -31,14 +31,12 @@
31
31
  more details.
32
32
 
33
33
  You should have received a copy of the GNU General Public License along with
34
- this program. If not, see <http://www.gnu.org/licenses/>.
34
+ this program. If not, see [http://www.gnu.org/licenses/].
35
35
 
36
36
  If you have Internet connection, the latest version of the GPL should be
37
37
  available at these locations:
38
- <http://www.fsf.org/licensing/licenses/gpl.html>
39
- <http://www.gnu.org/licenses/gpl.html>
40
-
41
- <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html>
38
+ [http://www.fsf.org/licensing/licenses/gpl.html]
39
+ [http://www.gnu.org/licenses/gpl.html]
42
40
 
43
41
  ** SiSU uses:
44
42
  * Standard SiSU markup syntax,
@@ -46,12 +44,12 @@
46
44
  * Standard SiSU object citation numbering and system
47
45
 
48
46
  ** Hompages:
49
- <http://www.jus.uio.no/sisu>
50
- <http://www.sisudoc.org>
47
+ [http://www.jus.uio.no/sisu]
48
+ [http://www.sisudoc.org]
51
49
 
52
50
  ** Git
53
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary>
54
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/html_promo.rb;hb=HEAD>
51
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary]
52
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/html_promo.rb;hb=HEAD]
55
53
 
56
54
  =end
57
55
  module SiSU_HTML_Promo
@@ -7,11 +7,11 @@
7
7
  *** html scroll generation, processing
8
8
 
9
9
  ** Author: Ralph Amissah
10
- <ralph@amissah.com>
11
- <ralph.amissah@gmail.com>
10
+ [ralph@amissah.com]
11
+ [ralph.amissah@gmail.com]
12
12
 
13
13
  ** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
14
- 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Ralph Amissah,
14
+ 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Ralph Amissah,
15
15
  All Rights Reserved.
16
16
 
17
17
  ** License: GPL 3 or later:
@@ -31,14 +31,12 @@
31
31
  more details.
32
32
 
33
33
  You should have received a copy of the GNU General Public License along with
34
- this program. If not, see <http://www.gnu.org/licenses/>.
34
+ this program. If not, see [http://www.gnu.org/licenses/].
35
35
 
36
36
  If you have Internet connection, the latest version of the GPL should be
37
37
  available at these locations:
38
- <http://www.fsf.org/licensing/licenses/gpl.html>
39
- <http://www.gnu.org/licenses/gpl.html>
40
-
41
- <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html>
38
+ [http://www.fsf.org/licensing/licenses/gpl.html]
39
+ [http://www.gnu.org/licenses/gpl.html]
42
40
 
43
41
  ** SiSU uses:
44
42
  * Standard SiSU markup syntax,
@@ -46,12 +44,12 @@
46
44
  * Standard SiSU object citation numbering and system
47
45
 
48
46
  ** Hompages:
49
- <http://www.jus.uio.no/sisu>
50
- <http://www.sisudoc.org>
47
+ [http://www.jus.uio.no/sisu]
48
+ [http://www.sisudoc.org]
51
49
 
52
50
  ** Git
53
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary>
54
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/html_scroll.rb;hb=HEAD>
51
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary]
52
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/html_scroll.rb;hb=HEAD]
55
53
 
56
54
  =end
57
55
  module SiSU_HTML_Scroll
@@ -7,11 +7,11 @@
7
7
  *** html segment generation, processing
8
8
 
9
9
  ** Author: Ralph Amissah
10
- <ralph@amissah.com>
11
- <ralph.amissah@gmail.com>
10
+ [ralph@amissah.com]
11
+ [ralph.amissah@gmail.com]
12
12
 
13
13
  ** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
14
- 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Ralph Amissah,
14
+ 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Ralph Amissah,
15
15
  All Rights Reserved.
16
16
 
17
17
  ** License: GPL 3 or later:
@@ -31,14 +31,12 @@
31
31
  more details.
32
32
 
33
33
  You should have received a copy of the GNU General Public License along with
34
- this program. If not, see <http://www.gnu.org/licenses/>.
34
+ this program. If not, see [http://www.gnu.org/licenses/].
35
35
 
36
36
  If you have Internet connection, the latest version of the GPL should be
37
37
  available at these locations:
38
- <http://www.fsf.org/licensing/licenses/gpl.html>
39
- <http://www.gnu.org/licenses/gpl.html>
40
-
41
- <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html>
38
+ [http://www.fsf.org/licensing/licenses/gpl.html]
39
+ [http://www.gnu.org/licenses/gpl.html]
42
40
 
43
41
  ** SiSU uses:
44
42
  * Standard SiSU markup syntax,
@@ -46,12 +44,12 @@
46
44
  * Standard SiSU object citation numbering and system
47
45
 
48
46
  ** Hompages:
49
- <http://www.jus.uio.no/sisu>
50
- <http://www.sisudoc.org>
47
+ [http://www.jus.uio.no/sisu]
48
+ [http://www.sisudoc.org]
51
49
 
52
50
  ** Git
53
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary>
54
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/html_segments.rb;hb=HEAD>
51
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary]
52
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/html_segments.rb;hb=HEAD]
55
53
 
56
54
  =end
57
55
  module SiSU_HTML_Seg
@@ -7,11 +7,11 @@
7
7
  *** shared html parts
8
8
 
9
9
  ** Author: Ralph Amissah
10
- <ralph@amissah.com>
11
- <ralph.amissah@gmail.com>
10
+ [ralph@amissah.com]
11
+ [ralph.amissah@gmail.com]
12
12
 
13
13
  ** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
14
- 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Ralph Amissah,
14
+ 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Ralph Amissah,
15
15
  All Rights Reserved.
16
16
 
17
17
  ** License: GPL 3 or later:
@@ -31,14 +31,12 @@
31
31
  more details.
32
32
 
33
33
  You should have received a copy of the GNU General Public License along with
34
- this program. If not, see <http://www.gnu.org/licenses/>.
34
+ this program. If not, see [http://www.gnu.org/licenses/].
35
35
 
36
36
  If you have Internet connection, the latest version of the GPL should be
37
37
  available at these locations:
38
- <http://www.fsf.org/licensing/licenses/gpl.html>
39
- <http://www.gnu.org/licenses/gpl.html>
40
-
41
- <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html>
38
+ [http://www.fsf.org/licensing/licenses/gpl.html]
39
+ [http://www.gnu.org/licenses/gpl.html]
42
40
 
43
41
  ** SiSU uses:
44
42
  * Standard SiSU markup syntax,
@@ -46,12 +44,12 @@
46
44
  * Standard SiSU object citation numbering and system
47
45
 
48
46
  ** Hompages:
49
- <http://www.jus.uio.no/sisu>
50
- <http://www.sisudoc.org>
47
+ [http://www.jus.uio.no/sisu]
48
+ [http://www.sisudoc.org]
51
49
 
52
50
  ** Git
53
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary>
54
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/html_shared.rb;hb=HEAD>
51
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary]
52
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/html_shared.rb;hb=HEAD]
55
53
 
56
54
  =end
57
55
  module SiSU_HTML_Shared
@@ -7,11 +7,11 @@
7
7
  *** shared html parts, table
8
8
 
9
9
  ** Author: Ralph Amissah
10
- <ralph@amissah.com>
11
- <ralph.amissah@gmail.com>
10
+ [ralph@amissah.com]
11
+ [ralph.amissah@gmail.com]
12
12
 
13
13
  ** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
14
- 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Ralph Amissah,
14
+ 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Ralph Amissah,
15
15
  All Rights Reserved.
16
16
 
17
17
  ** License: GPL 3 or later:
@@ -31,14 +31,12 @@
31
31
  more details.
32
32
 
33
33
  You should have received a copy of the GNU General Public License along with
34
- this program. If not, see <http://www.gnu.org/licenses/>.
34
+ this program. If not, see [http://www.gnu.org/licenses/].
35
35
 
36
36
  If you have Internet connection, the latest version of the GPL should be
37
37
  available at these locations:
38
- <http://www.fsf.org/licensing/licenses/gpl.html>
39
- <http://www.gnu.org/licenses/gpl.html>
40
-
41
- <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html>
38
+ [http://www.fsf.org/licensing/licenses/gpl.html]
39
+ [http://www.gnu.org/licenses/gpl.html]
42
40
 
43
41
  ** SiSU uses:
44
42
  * Standard SiSU markup syntax,
@@ -46,12 +44,12 @@
46
44
  * Standard SiSU object citation numbering and system
47
45
 
48
46
  ** Hompages:
49
- <http://www.jus.uio.no/sisu>
50
- <http://www.sisudoc.org>
47
+ [http://www.jus.uio.no/sisu]
48
+ [http://www.sisudoc.org]
51
49
 
52
50
  ** Git
53
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary>
54
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/html_table.rb;hb=HEAD>
51
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary]
52
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/html_table.rb;hb=HEAD]
55
53
 
56
54
  =end
57
55
  module SiSU_HTML_Table
@@ -7,11 +7,11 @@
7
7
  *** html generation, html pre-processing
8
8
 
9
9
  ** Author: Ralph Amissah
10
- <ralph@amissah.com>
11
- <ralph.amissah@gmail.com>
10
+ [ralph@amissah.com]
11
+ [ralph.amissah@gmail.com]
12
12
 
13
13
  ** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
14
- 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Ralph Amissah,
14
+ 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Ralph Amissah,
15
15
  All Rights Reserved.
16
16
 
17
17
  ** License: GPL 3 or later:
@@ -31,14 +31,12 @@
31
31
  more details.
32
32
 
33
33
  You should have received a copy of the GNU General Public License along with
34
- this program. If not, see <http://www.gnu.org/licenses/>.
34
+ this program. If not, see [http://www.gnu.org/licenses/].
35
35
 
36
36
  If you have Internet connection, the latest version of the GPL should be
37
37
  available at these locations:
38
- <http://www.fsf.org/licensing/licenses/gpl.html>
39
- <http://www.gnu.org/licenses/gpl.html>
40
-
41
- <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html>
38
+ [http://www.fsf.org/licensing/licenses/gpl.html]
39
+ [http://www.gnu.org/licenses/gpl.html]
42
40
 
43
41
  ** SiSU uses:
44
42
  * Standard SiSU markup syntax,
@@ -46,12 +44,12 @@
46
44
  * Standard SiSU object citation numbering and system
47
45
 
48
46
  ** Hompages:
49
- <http://www.jus.uio.no/sisu>
50
- <http://www.sisudoc.org>
47
+ [http://www.jus.uio.no/sisu]
48
+ [http://www.sisudoc.org]
51
49
 
52
50
  ** Git
53
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary>
54
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/html_tune.rb;hb=HEAD>
51
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary]
52
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/html_tune.rb;hb=HEAD]
55
53
 
56
54
  =end
57
55
  require_relative 'dp' # dp.rb
@@ -7,11 +7,11 @@
7
7
  *** hub
8
8
 
9
9
  ** Author: Ralph Amissah
10
- <ralph@amissah.com>
11
- <ralph.amissah@gmail.com>
10
+ [ralph@amissah.com]
11
+ [ralph.amissah@gmail.com]
12
12
 
13
13
  ** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
14
- 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Ralph Amissah,
14
+ 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Ralph Amissah,
15
15
  All Rights Reserved.
16
16
 
17
17
  ** License: GPL 3 or later:
@@ -31,14 +31,12 @@
31
31
  more details.
32
32
 
33
33
  You should have received a copy of the GNU General Public License along with
34
- this program. If not, see <http://www.gnu.org/licenses/>.
34
+ this program. If not, see [http://www.gnu.org/licenses/].
35
35
 
36
36
  If you have Internet connection, the latest version of the GPL should be
37
37
  available at these locations:
38
- <http://www.fsf.org/licensing/licenses/gpl.html>
39
- <http://www.gnu.org/licenses/gpl.html>
40
-
41
- <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html>
38
+ [http://www.fsf.org/licensing/licenses/gpl.html]
39
+ [http://www.gnu.org/licenses/gpl.html]
42
40
 
43
41
  ** SiSU uses:
44
42
  * Standard SiSU markup syntax,
@@ -46,12 +44,12 @@
46
44
  * Standard SiSU object citation numbering and system
47
45
 
48
46
  ** Hompages:
49
- <http://www.jus.uio.no/sisu>
50
- <http://www.sisudoc.org>
47
+ [http://www.jus.uio.no/sisu]
48
+ [http://www.sisudoc.org]
51
49
 
52
50
  ** Git
53
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary>
54
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/hub.rb;hb=HEAD>
51
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary]
52
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/hub.rb;hb=HEAD]
55
53
 
56
54
  =end
57
55
  module SiSU
@@ -131,6 +129,7 @@ module SiSU
131
129
  actions.outputs.each_file.html?
132
130
  actions.outputs.each_file.xhtml?
133
131
  actions.outputs.each_file.xml?
132
+ actions.outputs.each_file.json?
134
133
  actions.outputs.each_file.pdf?
135
134
  actions.outputs.each_file.man_or_info?
136
135
  actions.outputs.each_file.po4a_make?
@@ -262,7 +261,7 @@ module SiSU
262
261
  ensure
263
262
  if FileTest.directory?(env.processing_path.processing) \
264
263
  and FileTest.directory?(env.processing_path.processing_base_tmp) \
265
- and env.processing_path.processing_base_tmp =~/#{env.processing_path.processing}/ \
264
+ and env.processing_path.processing_base_tmp =~ /#{env.processing_path.processing}/ \
266
265
  and env.processing_path.processing_base_tmp =~/^\/tmp\/\S+/ \
267
266
  and not argv.inspect =~/"--maintenance"|"-M"/
268
267
  FileUtils::cd(env.processing_path.processing_base_tmp) do
@@ -7,11 +7,11 @@
7
7
  *** hub, perform selected actions
8
8
 
9
9
  ** Author: Ralph Amissah
10
- <ralph@amissah.com>
11
- <ralph.amissah@gmail.com>
10
+ [ralph@amissah.com]
11
+ [ralph.amissah@gmail.com]
12
12
 
13
13
  ** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
14
- 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Ralph Amissah,
14
+ 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Ralph Amissah,
15
15
  All Rights Reserved.
16
16
 
17
17
  ** License: GPL 3 or later:
@@ -31,14 +31,12 @@
31
31
  more details.
32
32
 
33
33
  You should have received a copy of the GNU General Public License along with
34
- this program. If not, see <http://www.gnu.org/licenses/>.
34
+ this program. If not, see [http://www.gnu.org/licenses/].
35
35
 
36
36
  If you have Internet connection, the latest version of the GPL should be
37
37
  available at these locations:
38
- <http://www.fsf.org/licensing/licenses/gpl.html>
39
- <http://www.gnu.org/licenses/gpl.html>
40
-
41
- <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html>
38
+ [http://www.fsf.org/licensing/licenses/gpl.html]
39
+ [http://www.gnu.org/licenses/gpl.html]
42
40
 
43
41
  ** SiSU uses:
44
42
  * Standard SiSU markup syntax,
@@ -46,12 +44,12 @@
46
44
  * Standard SiSU object citation numbering and system
47
45
 
48
46
  ** Hompages:
49
- <http://www.jus.uio.no/sisu>
50
- <http://www.sisudoc.org>
47
+ [http://www.jus.uio.no/sisu]
48
+ [http://www.sisudoc.org]
51
49
 
52
50
  ** Git
53
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary>
54
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/hub_actions.rb;hb=HEAD>
51
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary]
52
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/hub_actions.rb;hb=HEAD]
55
53
 
56
54
  =end
57
55
  module SiSU_Hub_Actions
@@ -384,6 +382,22 @@ module SiSU_Hub_Actions
384
382
  end
385
383
  end
386
384
  end
385
+ def json?
386
+ if @opt.act[:json][:set]==:on #% --js, -J
387
+ if @opt.f_pths.length > 0
388
+ require_relative 'json' # json.rb
389
+ SiSU_JSON::Source.new(@opt).read
390
+ else
391
+ msg='json request requires sisu markup files'
392
+ if (@opt.act[:verbose_plus][:set]==:on \
393
+ || @opt.act[:maintenance][:set]==:on)
394
+ SiSU_Utils::CodeMarker.new(__LINE__,__FILE__,:yellow).
395
+ mark(msg)
396
+ else puts msg
397
+ end
398
+ end
399
+ end
400
+ end
387
401
  def xhtml?
388
402
  if @opt.act[:xhtml][:set]==:on #% --xhtml, -b
389
403
  if @opt.f_pths.length > 0
@@ -7,11 +7,11 @@
7
7
  *** hub
8
8
 
9
9
  ** Author: Ralph Amissah
10
- <ralph@amissah.com>
11
- <ralph.amissah@gmail.com>
10
+ [ralph@amissah.com]
11
+ [ralph.amissah@gmail.com]
12
12
 
13
13
  ** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
14
- 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Ralph Amissah,
14
+ 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Ralph Amissah,
15
15
  All Rights Reserved.
16
16
 
17
17
  ** License: GPL 3 or later:
@@ -31,14 +31,12 @@
31
31
  more details.
32
32
 
33
33
  You should have received a copy of the GNU General Public License along with
34
- this program. If not, see <http://www.gnu.org/licenses/>.
34
+ this program. If not, see [http://www.gnu.org/licenses/].
35
35
 
36
36
  If you have Internet connection, the latest version of the GPL should be
37
37
  available at these locations:
38
- <http://www.fsf.org/licensing/licenses/gpl.html>
39
- <http://www.gnu.org/licenses/gpl.html>
40
-
41
- <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html>
38
+ [http://www.fsf.org/licensing/licenses/gpl.html]
39
+ [http://www.gnu.org/licenses/gpl.html]
42
40
 
43
41
  ** SiSU uses:
44
42
  * Standard SiSU markup syntax,
@@ -46,12 +44,12 @@
46
44
  * Standard SiSU object citation numbering and system
47
45
 
48
46
  ** Hompages:
49
- <http://www.jus.uio.no/sisu>
50
- <http://www.sisudoc.org>
47
+ [http://www.jus.uio.no/sisu]
48
+ [http://www.sisudoc.org]
51
49
 
52
50
  ** Git
53
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary>
54
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/hub_loop_markup_files.rb;hb=HEAD>
51
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary]
52
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/hub_loop_markup_files.rb;hb=HEAD]
55
53
 
56
54
  =end
57
55
  module SiSU_Hub_Loops