sisu 7.1.7 → 7.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/sisu/version.yml +3 -3
- data/lib/sisu/air.rb +10 -12
- data/lib/sisu/ao.rb +10 -12
- data/lib/sisu/ao_appendices.rb +10 -12
- data/lib/sisu/ao_character_check.rb +10 -12
- data/lib/sisu/ao_composite.rb +10 -12
- data/lib/sisu/ao_doc_objects.rb +10 -12
- data/lib/sisu/ao_doc_str.rb +10 -12
- data/lib/sisu/ao_endnotes.rb +10 -12
- data/lib/sisu/ao_expand_insertions.rb +10 -12
- data/lib/sisu/ao_hash_digest.rb +10 -12
- data/lib/sisu/ao_idx.rb +10 -12
- data/lib/sisu/ao_images.rb +10 -12
- data/lib/sisu/ao_metadata.rb +10 -12
- data/lib/sisu/ao_misc_arrange.rb +10 -12
- data/lib/sisu/ao_numbering.rb +10 -12
- data/lib/sisu/ao_persist.rb +10 -12
- data/lib/sisu/ao_syntax.rb +10 -12
- data/lib/sisu/cgi.rb +10 -12
- data/lib/sisu/cgi_pgsql.rb +10 -12
- data/lib/sisu/cgi_sql_common.rb +16 -18
- data/lib/sisu/cgi_sqlite.rb +10 -12
- data/lib/sisu/conf.rb +10 -12
- data/lib/sisu/constants.rb +12 -13
- data/lib/sisu/css.rb +10 -12
- data/lib/sisu/db_columns.rb +10 -12
- data/lib/sisu/db_create.rb +10 -12
- data/lib/sisu/db_dbi.rb +10 -12
- data/lib/sisu/db_drop.rb +10 -12
- data/lib/sisu/db_import.rb +10 -12
- data/lib/sisu/db_indexes.rb +10 -12
- data/lib/sisu/db_load_tuple.rb +10 -12
- data/lib/sisu/db_remove.rb +10 -12
- data/lib/sisu/db_select.rb +10 -12
- data/lib/sisu/db_sqltxt.rb +10 -12
- data/lib/sisu/db_tests.rb +10 -12
- data/lib/sisu/dbi.rb +10 -12
- data/lib/sisu/dbi_discrete.rb +10 -12
- data/lib/sisu/digests.rb +10 -12
- data/lib/sisu/dp.rb +15 -14
- data/lib/sisu/dp_identify_markup.rb +10 -12
- data/lib/sisu/dp_make.rb +11 -13
- data/lib/sisu/embedded.rb +10 -12
- data/lib/sisu/errors.rb +10 -12
- data/lib/sisu/generic_parts.rb +10 -12
- data/lib/sisu/git.rb +10 -12
- data/lib/sisu/html.rb +10 -12
- data/lib/sisu/html_concordance.rb +10 -12
- data/lib/sisu/html_format.rb +10 -12
- data/lib/sisu/html_harvest.rb +10 -12
- data/lib/sisu/html_harvest_author_format.rb +10 -12
- data/lib/sisu/html_harvest_authors.rb +10 -12
- data/lib/sisu/html_harvest_topics.rb +10 -12
- data/lib/sisu/html_lite_shared.rb +10 -12
- data/lib/sisu/html_manifest.rb +10 -12
- data/lib/sisu/html_minitoc.rb +10 -12
- data/lib/sisu/html_parts.rb +10 -12
- data/lib/sisu/html_persist.rb +10 -12
- data/lib/sisu/html_promo.rb +10 -12
- data/lib/sisu/html_scroll.rb +10 -12
- data/lib/sisu/html_segments.rb +10 -12
- data/lib/sisu/html_shared.rb +10 -12
- data/lib/sisu/html_table.rb +10 -12
- data/lib/sisu/html_tune.rb +10 -12
- data/lib/sisu/hub.rb +12 -13
- data/lib/sisu/hub_actions.rb +26 -12
- data/lib/sisu/hub_loop_markup_files.rb +10 -12
- data/lib/sisu/hub_options.rb +19 -12
- data/lib/sisu/i18n.rb +10 -12
- data/lib/sisu/json.rb +415 -0
- data/lib/sisu/json_format.rb +478 -0
- data/lib/sisu/json_parts.rb +88 -0
- data/lib/sisu/json_persist.rb +124 -0
- data/lib/sisu/json_shared.rb +681 -0
- data/lib/sisu/manpage.rb +11 -13
- data/lib/sisu/manpage_format.rb +10 -12
- data/lib/sisu/object_munge.rb +10 -12
- data/lib/sisu/prog_text_translation.rb +10 -12
- data/lib/sisu/qrcode.rb +10 -12
- data/lib/sisu/relaxng.rb +16 -18
- data/lib/sisu/remote.rb +10 -12
- data/lib/sisu/rexml.rb +10 -12
- data/lib/sisu/se.rb +10 -12
- data/lib/sisu/se_cleanoutput.rb +10 -12
- data/lib/sisu/se_clear.rb +10 -12
- data/lib/sisu/se_createsite.rb +10 -12
- data/lib/sisu/se_css.rb +10 -12
- data/lib/sisu/se_date.rb +10 -12
- data/lib/sisu/se_db.rb +10 -12
- data/lib/sisu/se_envcall.rb +10 -12
- data/lib/sisu/se_file_op.rb +69 -12
- data/lib/sisu/se_filemap.rb +10 -12
- data/lib/sisu/se_get_init.rb +10 -12
- data/lib/sisu/se_hub_particulars.rb +10 -12
- data/lib/sisu/se_info_env.rb +10 -12
- data/lib/sisu/se_info_port.rb +10 -12
- data/lib/sisu/se_info_system.rb +10 -12
- data/lib/sisu/se_load.rb +10 -12
- data/lib/sisu/se_processing.rb +10 -12
- data/lib/sisu/se_programs.rb +10 -12
- data/lib/sisu/se_remotes.rb +10 -12
- data/lib/sisu/se_standardise_lang.rb +10 -12
- data/lib/sisu/se_version.rb +10 -12
- data/lib/sisu/shared_images.rb +10 -12
- data/lib/sisu/shared_markup_alt.rb +10 -12
- data/lib/sisu/shared_metadata.rb +22 -12
- data/lib/sisu/shared_sem.rb +10 -12
- data/lib/sisu/sitemaps.rb +10 -12
- data/lib/sisu/src_kdissert_share.rb +10 -12
- data/lib/sisu/src_po4a_share.rb +10 -12
- data/lib/sisu/src_po4a_shelf.rb +10 -12
- data/lib/sisu/src_po4a_shelf_set.rb +10 -12
- data/lib/sisu/src_po4a_sst_ao_sst.rb +10 -12
- data/lib/sisu/src_po4a_sst_ao_sst_set.rb +10 -12
- data/lib/sisu/src_po4a_sstm.rb +10 -12
- data/lib/sisu/src_shared.rb +10 -12
- data/lib/sisu/src_sisupod_make.rb +10 -12
- data/lib/sisu/src_sisupod_sstm.rb +10 -12
- data/lib/sisu/sst_convert_markup.rb +10 -12
- data/lib/sisu/sst_do_inline_footnotes.rb +10 -12
- data/lib/sisu/sst_from_xml.rb +10 -12
- data/lib/sisu/sst_identify_markup.rb +10 -12
- data/lib/sisu/sst_to_s_xml_sax.rb +10 -12
- data/lib/sisu/termsheet.rb +10 -12
- data/lib/sisu/texinfo.rb +10 -12
- data/lib/sisu/texinfo_format.rb +10 -12
- data/lib/sisu/texpdf.rb +10 -12
- data/lib/sisu/texpdf_format.rb +10 -12
- data/lib/sisu/texpdf_parts.rb +10 -12
- data/lib/sisu/txt_asciidoc.rb +10 -12
- data/lib/sisu/txt_asciidoc_decorate.rb +10 -12
- data/lib/sisu/txt_markdown.rb +10 -12
- data/lib/sisu/txt_markdown_decorate.rb +10 -12
- data/lib/sisu/txt_orgmode.rb +36 -22
- data/lib/sisu/txt_orgmode_decorate.rb +10 -12
- data/lib/sisu/txt_output.rb +10 -12
- data/lib/sisu/txt_plain.rb +10 -12
- data/lib/sisu/txt_plain_decorate.rb +10 -12
- data/lib/sisu/txt_read.rb +10 -12
- data/lib/sisu/txt_rst.rb +10 -12
- data/lib/sisu/txt_rst_decorate.rb +10 -12
- data/lib/sisu/txt_shared.rb +10 -12
- data/lib/sisu/txt_textile.rb +10 -12
- data/lib/sisu/txt_textile_decorate.rb +10 -12
- data/lib/sisu/update.rb +10 -12
- data/lib/sisu/urls.rb +23 -12
- data/lib/sisu/utils.rb +10 -11
- data/lib/sisu/utils_composite.rb +10 -12
- data/lib/sisu/utils_response.rb +10 -12
- data/lib/sisu/utils_screen_text_color.rb +10 -12
- data/lib/sisu/utils_spell.rb +10 -12
- data/lib/sisu/webrick.rb +10 -12
- data/lib/sisu/wikispeak.rb +10 -12
- data/lib/sisu/xhtml.rb +10 -12
- data/lib/sisu/xhtml_epub2.rb +10 -12
- data/lib/sisu/xhtml_epub2_concordance.rb +10 -12
- data/lib/sisu/xhtml_epub2_format.rb +10 -12
- data/lib/sisu/xhtml_epub2_persist.rb +10 -12
- data/lib/sisu/xhtml_epub2_segments.rb +10 -12
- data/lib/sisu/xhtml_epub2_tune.rb +10 -12
- data/lib/sisu/xhtml_parts.rb +10 -12
- data/lib/sisu/xhtml_shared.rb +10 -12
- data/lib/sisu/xhtml_table.rb +10 -12
- data/lib/sisu/xml_docbook5.rb +10 -12
- data/lib/sisu/xml_dom.rb +10 -12
- data/lib/sisu/xml_fictionbook2.rb +10 -12
- data/lib/sisu/xml_format.rb +10 -12
- data/lib/sisu/xml_md_oai_pmh_dc.rb +10 -12
- data/lib/sisu/xml_odf_odt.rb +10 -12
- data/lib/sisu/xml_odf_odt_format.rb +10 -12
- data/lib/sisu/xml_parts.rb +10 -12
- data/lib/sisu/xml_persist.rb +10 -12
- data/lib/sisu/xml_sax.rb +10 -12
- data/lib/sisu/xml_scaffold_structure_collapsed.rb +10 -12
- data/lib/sisu/xml_scaffold_structure_sisu.rb +10 -12
- data/lib/sisu/xml_shared.rb +10 -12
- data/lib/sisu/xml_tables.rb +10 -12
- data/lib/sisu/zap.rb +10 -12
- metadata +9 -4
data/lib/sisu/html_promo.rb
CHANGED
@@ -7,11 +7,11 @@
|
|
7
7
|
*** html advertising component, build here, mockup
|
8
8
|
|
9
9
|
** Author: Ralph Amissah
|
10
|
-
|
11
|
-
|
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
|
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
|
-
|
39
|
-
|
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
|
-
|
50
|
-
|
47
|
+
[http://www.jus.uio.no/sisu]
|
48
|
+
[http://www.sisudoc.org]
|
51
49
|
|
52
50
|
** Git
|
53
|
-
|
54
|
-
|
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
|
data/lib/sisu/html_scroll.rb
CHANGED
@@ -7,11 +7,11 @@
|
|
7
7
|
*** html scroll generation, processing
|
8
8
|
|
9
9
|
** Author: Ralph Amissah
|
10
|
-
|
11
|
-
|
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
|
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
|
-
|
39
|
-
|
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
|
-
|
50
|
-
|
47
|
+
[http://www.jus.uio.no/sisu]
|
48
|
+
[http://www.sisudoc.org]
|
51
49
|
|
52
50
|
** Git
|
53
|
-
|
54
|
-
|
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
|
data/lib/sisu/html_segments.rb
CHANGED
@@ -7,11 +7,11 @@
|
|
7
7
|
*** html segment generation, processing
|
8
8
|
|
9
9
|
** Author: Ralph Amissah
|
10
|
-
|
11
|
-
|
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
|
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
|
-
|
39
|
-
|
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
|
-
|
50
|
-
|
47
|
+
[http://www.jus.uio.no/sisu]
|
48
|
+
[http://www.sisudoc.org]
|
51
49
|
|
52
50
|
** Git
|
53
|
-
|
54
|
-
|
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
|
data/lib/sisu/html_shared.rb
CHANGED
@@ -7,11 +7,11 @@
|
|
7
7
|
*** shared html parts
|
8
8
|
|
9
9
|
** Author: Ralph Amissah
|
10
|
-
|
11
|
-
|
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
|
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
|
-
|
39
|
-
|
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
|
-
|
50
|
-
|
47
|
+
[http://www.jus.uio.no/sisu]
|
48
|
+
[http://www.sisudoc.org]
|
51
49
|
|
52
50
|
** Git
|
53
|
-
|
54
|
-
|
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
|
data/lib/sisu/html_table.rb
CHANGED
@@ -7,11 +7,11 @@
|
|
7
7
|
*** shared html parts, table
|
8
8
|
|
9
9
|
** Author: Ralph Amissah
|
10
|
-
|
11
|
-
|
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
|
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
|
-
|
39
|
-
|
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
|
-
|
50
|
-
|
47
|
+
[http://www.jus.uio.no/sisu]
|
48
|
+
[http://www.sisudoc.org]
|
51
49
|
|
52
50
|
** Git
|
53
|
-
|
54
|
-
|
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
|
data/lib/sisu/html_tune.rb
CHANGED
@@ -7,11 +7,11 @@
|
|
7
7
|
*** html generation, html pre-processing
|
8
8
|
|
9
9
|
** Author: Ralph Amissah
|
10
|
-
|
11
|
-
|
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
|
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
|
-
|
39
|
-
|
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
|
-
|
50
|
-
|
47
|
+
[http://www.jus.uio.no/sisu]
|
48
|
+
[http://www.sisudoc.org]
|
51
49
|
|
52
50
|
** Git
|
53
|
-
|
54
|
-
|
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
|
data/lib/sisu/hub.rb
CHANGED
@@ -7,11 +7,11 @@
|
|
7
7
|
*** hub
|
8
8
|
|
9
9
|
** Author: Ralph Amissah
|
10
|
-
|
11
|
-
|
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
|
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
|
-
|
39
|
-
|
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
|
-
|
50
|
-
|
47
|
+
[http://www.jus.uio.no/sisu]
|
48
|
+
[http://www.sisudoc.org]
|
51
49
|
|
52
50
|
** Git
|
53
|
-
|
54
|
-
|
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
|
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
|
data/lib/sisu/hub_actions.rb
CHANGED
@@ -7,11 +7,11 @@
|
|
7
7
|
*** hub, perform selected actions
|
8
8
|
|
9
9
|
** Author: Ralph Amissah
|
10
|
-
|
11
|
-
|
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
|
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
|
-
|
39
|
-
|
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
|
-
|
50
|
-
|
47
|
+
[http://www.jus.uio.no/sisu]
|
48
|
+
[http://www.sisudoc.org]
|
51
49
|
|
52
50
|
** Git
|
53
|
-
|
54
|
-
|
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
|
-
|
11
|
-
|
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
|
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
|
-
|
39
|
-
|
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
|
-
|
50
|
-
|
47
|
+
[http://www.jus.uio.no/sisu]
|
48
|
+
[http://www.sisudoc.org]
|
51
49
|
|
52
50
|
** Git
|
53
|
-
|
54
|
-
|
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
|