aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/hub.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/hub.rb')
-rw-r--r--lib/sisu/hub.rb25
1 files changed, 12 insertions, 13 deletions
diff --git a/lib/sisu/hub.rb b/lib/sisu/hub.rb
index ef778785..49d569a5 100644
--- a/lib/sisu/hub.rb
+++ b/lib/sisu/hub.rb
@@ -7,11 +7,11 @@
*** hub
** Author: Ralph Amissah
- <ralph@amissah.com>
- <ralph.amissah@gmail.com>
+ [ralph@amissah.com]
+ [ralph.amissah@gmail.com]
** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
- 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Ralph Amissah,
+ 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Ralph Amissah,
All Rights Reserved.
** License: GPL 3 or later:
@@ -31,14 +31,12 @@
more details.
You should have received a copy of the GNU General Public License along with
- this program. If not, see <http://www.gnu.org/licenses/>.
+ this program. If not, see [http://www.gnu.org/licenses/].
If you have Internet connection, the latest version of the GPL should be
available at these locations:
- <http://www.fsf.org/licensing/licenses/gpl.html>
- <http://www.gnu.org/licenses/gpl.html>
-
- <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html>
+ [http://www.fsf.org/licensing/licenses/gpl.html]
+ [http://www.gnu.org/licenses/gpl.html]
** SiSU uses:
* Standard SiSU markup syntax,
@@ -46,12 +44,12 @@
* Standard SiSU object citation numbering and system
** Hompages:
- <http://www.jus.uio.no/sisu>
- <http://www.sisudoc.org>
+ [http://www.jus.uio.no/sisu]
+ [http://www.sisudoc.org]
** Git
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary>
- <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/hub.rb;hb=HEAD>
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary]
+ [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/hub.rb;hb=HEAD]
=end
module SiSU
@@ -131,6 +129,7 @@ module SiSU
actions.outputs.each_file.html?
actions.outputs.each_file.xhtml?
actions.outputs.each_file.xml?
+ actions.outputs.each_file.json?
actions.outputs.each_file.pdf?
actions.outputs.each_file.man_or_info?
actions.outputs.each_file.po4a_make?
@@ -262,7 +261,7 @@ module SiSU
ensure
if FileTest.directory?(env.processing_path.processing) \
and FileTest.directory?(env.processing_path.processing_base_tmp) \
- and env.processing_path.processing_base_tmp =~/#{env.processing_path.processing}/ \
+ and env.processing_path.processing_base_tmp =~ /#{env.processing_path.processing}/ \
and env.processing_path.processing_base_tmp =~/^\/tmp\/\S+/ \
and not argv.inspect =~/"--maintenance"|"-M"/
FileUtils::cd(env.processing_path.processing_base_tmp) do