metanorma-iho 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/macos.yml +34 -0
- data/.github/workflows/ubuntu.yml +34 -0
- data/.github/workflows/windows.yml +36 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +11 -0
- data/LICENSE +25 -0
- data/README.adoc +26 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/rspec +18 -0
- data/bin/setup +8 -0
- data/lib/asciidoctor/iho/basicdoc.rng +1059 -0
- data/lib/asciidoctor/iho/biblio.rng +1207 -0
- data/lib/asciidoctor/iho/boilerplate.xml +30 -0
- data/lib/asciidoctor/iho/converter.rb +94 -0
- data/lib/asciidoctor/iho/iho.rng +144 -0
- data/lib/asciidoctor/iho/isodoc.rng +1061 -0
- data/lib/asciidoctor/iho/reqt.rng +171 -0
- data/lib/asciidoctor/iho.rb +4 -0
- data/lib/isodoc/iho/base_convert.rb +74 -0
- data/lib/isodoc/iho/html/header.html +241 -0
- data/lib/isodoc/iho/html/html_iho_intro.html +8 -0
- data/lib/isodoc/iho/html/html_iho_titlepage.html +89 -0
- data/lib/isodoc/iho/html/htmlstyle.scss +757 -0
- data/lib/isodoc/iho/html/iho.scss +760 -0
- data/lib/isodoc/iho/html/image001.png +0 -0
- data/lib/isodoc/iho/html/image002.png +0 -0
- data/lib/isodoc/iho/html/image003.png +0 -0
- data/lib/isodoc/iho/html/logo.png +0 -0
- data/lib/isodoc/iho/html/logo.svg +555 -0
- data/lib/isodoc/iho/html/scripts.html +68 -0
- data/lib/isodoc/iho/html/scripts.pdf.html +72 -0
- data/lib/isodoc/iho/html/word_iho_intro.html +24 -0
- data/lib/isodoc/iho/html/word_iho_titlepage.html +888 -0
- data/lib/isodoc/iho/html/wordstyle.scss +1156 -0
- data/lib/isodoc/iho/html_convert.rb +33 -0
- data/lib/isodoc/iho/metadata.rb +26 -0
- data/lib/isodoc/iho/pdf_convert.rb +31 -0
- data/lib/isodoc/iho/word_convert.rb +46 -0
- data/lib/metanorma/iho/processor.rb +37 -0
- data/lib/metanorma/iho/version.rb +5 -0
- data/lib/metanorma/iho.rb +32 -0
- data/lib/metanorma-iho.rb +12 -0
- data/metanorma-iho.gemspec +43 -0
- data/metanorma.yml +56 -0
- metadata +274 -0
@@ -0,0 +1,33 @@
|
|
1
|
+
require "isodoc"
|
2
|
+
require "isodoc/generic/html_convert"
|
3
|
+
require "isodoc/iho/metadata"
|
4
|
+
|
5
|
+
module IsoDoc
|
6
|
+
module IHO
|
7
|
+
# A {Converter} implementation that generates HTML output, and a document
|
8
|
+
# schema encapsulation of the document for validation
|
9
|
+
#
|
10
|
+
class HtmlConvert < IsoDoc::Generic::HtmlConvert
|
11
|
+
def configuration
|
12
|
+
Metanorma::IHO.configuration
|
13
|
+
end
|
14
|
+
|
15
|
+
def make_body3(body, docxml)
|
16
|
+
body.div **{ class: "main-section" } do |div3|
|
17
|
+
boilerplate docxml, div3
|
18
|
+
abstract docxml, div3
|
19
|
+
foreword docxml, div3
|
20
|
+
introduction docxml, div3
|
21
|
+
preface docxml, div3
|
22
|
+
acknowledgements docxml, div3
|
23
|
+
middle docxml, div3
|
24
|
+
footnotes div3
|
25
|
+
comments div3
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
include BaseConvert
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require "isodoc"
|
2
|
+
|
3
|
+
module IsoDoc
|
4
|
+
module IHO
|
5
|
+
|
6
|
+
class Metadata < IsoDoc::Generic::Metadata
|
7
|
+
def configuration
|
8
|
+
Metanorma::IHO.configuration
|
9
|
+
end
|
10
|
+
|
11
|
+
def commentperiod(ixml, _out)
|
12
|
+
from = ixml.at(ns("//bibdata/ext/commentperiod/from"))&.text
|
13
|
+
to = ixml.at(ns("//bibdata/ext/commentperiod/to"))&.text
|
14
|
+
extended = ixml.at(ns("//bibdata/ext/commentperiod/extended"))&.text
|
15
|
+
set(:comment_from, from) if from
|
16
|
+
set(:comment_to, to) if to
|
17
|
+
end
|
18
|
+
|
19
|
+
def series(xml, _out)
|
20
|
+
set(:series, xml.at(ns("//bibdata/series[@type = 'main']/title"))&.text)
|
21
|
+
a = xml.at(ns("//bibdata/series[@type = 'main']/abbreviation"))&.text and
|
22
|
+
set(:seriesabbr, a)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require "isodoc"
|
2
|
+
require "isodoc/iho/metadata"
|
3
|
+
|
4
|
+
module IsoDoc
|
5
|
+
module IHO
|
6
|
+
# A {Converter} implementation that generates PDF HTML output, and a
|
7
|
+
# document schema encapsulation of the document for validation
|
8
|
+
class PdfConvert < IsoDoc::XslfoPdfConvert
|
9
|
+
def initialize(options)
|
10
|
+
@libdir = File.dirname(__FILE__)
|
11
|
+
super
|
12
|
+
end
|
13
|
+
|
14
|
+
def convert(filename, file = nil, debug = false)
|
15
|
+
return
|
16
|
+
file = File.read(filename, encoding: "utf-8") if file.nil?
|
17
|
+
docxml, outname_html, dir = convert_init(file, filename, debug)
|
18
|
+
/\.xml$/.match(filename) or
|
19
|
+
filename = Tempfile.open([outname_html, ".xml"], encoding: "utf-8") do |f|
|
20
|
+
f.write file
|
21
|
+
f.path
|
22
|
+
end
|
23
|
+
FileUtils.rm_rf dir
|
24
|
+
::Metanorma::Output::XslfoPdf.new.convert(
|
25
|
+
filename, outname_html + ".pdf",
|
26
|
+
File.join(@libdir, "rsd.standard.xsl"))
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
@@ -0,0 +1,46 @@
|
|
1
|
+
require "isodoc"
|
2
|
+
require "isodoc/generic/word_convert"
|
3
|
+
require "isodoc/iho/metadata"
|
4
|
+
|
5
|
+
module IsoDoc
|
6
|
+
module IHO
|
7
|
+
# A {Converter} implementation that generates Word output, and a document
|
8
|
+
# schema encapsulation of the document for validation
|
9
|
+
class WordConvert < IsoDoc::Generic::WordConvert
|
10
|
+
def configuration
|
11
|
+
Metanorma::IHO.configuration
|
12
|
+
end
|
13
|
+
|
14
|
+
def make_body1(body, _docxml)
|
15
|
+
body.div **{ class: "WordSection1" } do |div1|
|
16
|
+
div1.p **{style: "font-size:0pt;" } do
|
17
|
+
|p| p << " "
|
18
|
+
end # placeholder
|
19
|
+
end
|
20
|
+
section_break(body)
|
21
|
+
end
|
22
|
+
|
23
|
+
def make_body2(body, docxml)
|
24
|
+
body.div **{ class: "WordSection2" } do |div2|
|
25
|
+
boilerplate docxml, div2
|
26
|
+
abstract docxml, div2
|
27
|
+
foreword docxml, div2
|
28
|
+
introduction docxml, div2
|
29
|
+
preface docxml, div2
|
30
|
+
acknowledgements docxml, div2
|
31
|
+
div2.p { |p| p << " " } # placeholder
|
32
|
+
end
|
33
|
+
section_break(body)
|
34
|
+
end
|
35
|
+
|
36
|
+
def authority_cleanup(docxml)
|
37
|
+
super
|
38
|
+
docxml.xpath("//div[@class = 'boilerplate-feedback']/p").each do |p|
|
39
|
+
p["style"] = 'font-size:8pt;font-family:Arial;text-align:right'
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
include BaseConvert
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
require "metanorma/processor"
|
2
|
+
|
3
|
+
module Metanorma
|
4
|
+
module IHO
|
5
|
+
def self.fonts_used
|
6
|
+
["SourceSansPro-Light", "SourceSerifPro", "SourceCodePro-Light", "HanSans"]
|
7
|
+
end
|
8
|
+
|
9
|
+
class Processor < Metanorma::Generic::Processor
|
10
|
+
def configuration
|
11
|
+
Metanorma::IHO.configuration
|
12
|
+
end
|
13
|
+
|
14
|
+
def output_formats
|
15
|
+
super.merge(
|
16
|
+
html: "html",
|
17
|
+
doc: "doc",
|
18
|
+
).tap { |hs| hs.delete(:pdf) }
|
19
|
+
end
|
20
|
+
|
21
|
+
def version
|
22
|
+
"Metanorma::IHO #{Metanorma::IHO::VERSION}"
|
23
|
+
end
|
24
|
+
|
25
|
+
def output(isodoc_node, outname, format, options={})
|
26
|
+
case format
|
27
|
+
when :html
|
28
|
+
IsoDoc::IHO::HtmlConvert.new(options).convert(outname, isodoc_node)
|
29
|
+
when :doc
|
30
|
+
IsoDoc::IHO::WordConvert.new(options).convert(outname, isodoc_node)
|
31
|
+
else
|
32
|
+
super
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require "metanorma"
|
2
|
+
require "metanorma-generic"
|
3
|
+
require "metanorma/iho/processor"
|
4
|
+
|
5
|
+
module Metanorma
|
6
|
+
module IHO
|
7
|
+
|
8
|
+
class Configuration < Metanorma::Generic::Configuration
|
9
|
+
def initialize(*args)
|
10
|
+
super
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
class << self
|
15
|
+
extend Forwardable
|
16
|
+
|
17
|
+
attr_accessor :configuration
|
18
|
+
|
19
|
+
Configuration::CONFIG_ATTRS.each do |attr_name|
|
20
|
+
def_delegator :@configuration, attr_name
|
21
|
+
end
|
22
|
+
|
23
|
+
def configure
|
24
|
+
self.configuration ||= Configuration.new
|
25
|
+
yield(configuration)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
configure {}
|
30
|
+
end
|
31
|
+
end
|
32
|
+
Metanorma::Registry.instance.register(Metanorma::IHO::Processor)
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require "asciidoctor" unless defined? Asciidoctor::Converter
|
2
|
+
require_relative "asciidoctor/iho/converter"
|
3
|
+
require_relative "isodoc/iho/base_convert"
|
4
|
+
require_relative "isodoc/iho/html_convert"
|
5
|
+
require_relative "isodoc/iho/word_convert"
|
6
|
+
require_relative "isodoc/iho/pdf_convert"
|
7
|
+
require_relative "metanorma/iho/version"
|
8
|
+
|
9
|
+
if defined? Metanorma
|
10
|
+
require_relative "metanorma/iho"
|
11
|
+
Metanorma::Registry.instance.register(Metanorma::IHO::Processor)
|
12
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
lib = File.expand_path("../lib", __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "metanorma/iho/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "metanorma-iho"
|
7
|
+
spec.version = Metanorma::IHO::VERSION
|
8
|
+
spec.authors = ["Ribose Inc."]
|
9
|
+
spec.email = ["open.source@ribose.com"]
|
10
|
+
|
11
|
+
spec.summary = "metanorma-iho lets you write IHO in AsciiDoc."
|
12
|
+
spec.description = <<~DESCRIPTION
|
13
|
+
metanorma-iho lets you write IHO in AsciiDoc syntax.
|
14
|
+
|
15
|
+
This gem is in active development.
|
16
|
+
DESCRIPTION
|
17
|
+
|
18
|
+
spec.homepage = "https://github.com/metanorma/metanorma-iho"
|
19
|
+
spec.license = "BSD-2-Clause"
|
20
|
+
|
21
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
22
|
+
f.match(%r{^(test|spec|features)/})
|
23
|
+
end
|
24
|
+
spec.bindir = "exe"
|
25
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
|
+
spec.require_paths = ["lib"]
|
27
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
28
|
+
|
29
|
+
spec.add_dependency "htmlentities", "~> 4.3.4"
|
30
|
+
spec.add_dependency "metanorma-standoc", "~> 1.3.0"
|
31
|
+
spec.add_dependency "isodoc", "~> 1.0.0"
|
32
|
+
spec.add_dependency 'metanorma-generic', '~> 1.4.0'
|
33
|
+
|
34
|
+
spec.add_development_dependency "byebug", "~> 9.1"
|
35
|
+
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
36
|
+
spec.add_development_dependency "guard", "~> 2.14"
|
37
|
+
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
38
|
+
spec.add_development_dependency "rake", "~> 12.0"
|
39
|
+
spec.add_development_dependency "rspec", "~> 3.6"
|
40
|
+
spec.add_development_dependency "rubocop", "= 0.54.0"
|
41
|
+
spec.add_development_dependency "simplecov", "~> 0.15"
|
42
|
+
spec.add_development_dependency "timecop", "~> 0.9"
|
43
|
+
end
|
data/metanorma.yml
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
metanorma_name: iho
|
2
|
+
organization_name_short: IHO
|
3
|
+
organization_name_long: International Hydrographic Organization
|
4
|
+
document_namespace: https://www.metanorma.org/ns/iho
|
5
|
+
xml_root_tag: 'iho-standard'
|
6
|
+
logo_path: lib/isodoc/iho/html/logo.png
|
7
|
+
logo_paths:
|
8
|
+
- lib/isodoc/iho/html/image001.png
|
9
|
+
- lib/isodoc/iho/html/image002.png
|
10
|
+
- lib/isodoc/iho/html/image003.png
|
11
|
+
validate_rng_file: lib/asciidoctor/iho/iho.rng
|
12
|
+
htmlcoverpage: lib/isodoc/iho/html/html_iho_titlepage.html
|
13
|
+
htmlintropage: lib/isodoc/iho/html/html_iho_intro.html
|
14
|
+
htmlstylesheet: lib/isodoc/iho/html/htmlstyle.scss
|
15
|
+
html_bodyfont: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'
|
16
|
+
html_headerfont: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'
|
17
|
+
html_monospacefont: 'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'
|
18
|
+
scripts: lib/isodoc/iho/html/scripts.html
|
19
|
+
scripts_pdf: lib/isodoc/iho/html/scripts.pdf.html
|
20
|
+
standardstylesheet: lib/isodoc/iho/html/iho.scss
|
21
|
+
header: lib/isodoc/iho/html/header.html
|
22
|
+
wordcoverpage: lib/isodoc/iho/html/word_iho_titlepage.html
|
23
|
+
wordintropage: lib/isodoc/iho/html/word_iho_intro.html
|
24
|
+
wordstylesheet: lib/isodoc/iho/html/wordstyle.scss
|
25
|
+
word_bodyfont: '"Helvetica Neue",Arial,sans-serif'
|
26
|
+
word_headerfont: '"Helvetica Neue",Arial,sans-serif'
|
27
|
+
word_monospacefont: 'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'
|
28
|
+
docid_template: "{% if seriesabbr %}{{seriesabbr}}{%else%}S{%endif%}-{{ docnumeric }}{% if stageabbr %}({{ stageabbr }}){%endif%}"
|
29
|
+
published_stages:
|
30
|
+
- in-force
|
31
|
+
- retired
|
32
|
+
default_stage: in-force
|
33
|
+
stage_abbreviations:
|
34
|
+
draft-proposal:
|
35
|
+
draft-development:
|
36
|
+
draft-testing:
|
37
|
+
draft-implementation:
|
38
|
+
in-force:
|
39
|
+
retired:
|
40
|
+
doctypes:
|
41
|
+
- standard
|
42
|
+
- specification
|
43
|
+
- resolution
|
44
|
+
- regulation
|
45
|
+
default_doctype: standard
|
46
|
+
symbols_titles:
|
47
|
+
- Abbreviations
|
48
|
+
- Abbreviations and acronyms
|
49
|
+
- Symbols
|
50
|
+
termsdefs_titles:
|
51
|
+
- Definitions
|
52
|
+
- Definitions and terminology
|
53
|
+
- Terms and definitions
|
54
|
+
- Terms, definitions and abbreviations
|
55
|
+
normref_titles:
|
56
|
+
- References
|
metadata
ADDED
@@ -0,0 +1,274 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: metanorma-iho
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ribose Inc.
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-05-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: htmlentities
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.3.4
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.3.4
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: metanorma-standoc
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.3.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.3.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: isodoc
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.0.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.0.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: metanorma-generic
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.4.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.4.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: byebug
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '9.1'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '9.1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: equivalent-xml
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.6'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.6'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: guard
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '2.14'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '2.14'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: guard-rspec
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '4.7'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '4.7'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rake
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '12.0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '12.0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rspec
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '3.6'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '3.6'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rubocop
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 0.54.0
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 0.54.0
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: simplecov
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0.15'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0.15'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: timecop
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0.9'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0.9'
|
195
|
+
description: |
|
196
|
+
metanorma-iho lets you write IHO in AsciiDoc syntax.
|
197
|
+
|
198
|
+
This gem is in active development.
|
199
|
+
email:
|
200
|
+
- open.source@ribose.com
|
201
|
+
executables: []
|
202
|
+
extensions: []
|
203
|
+
extra_rdoc_files: []
|
204
|
+
files:
|
205
|
+
- ".github/workflows/macos.yml"
|
206
|
+
- ".github/workflows/ubuntu.yml"
|
207
|
+
- ".github/workflows/windows.yml"
|
208
|
+
- CODE_OF_CONDUCT.md
|
209
|
+
- Gemfile
|
210
|
+
- LICENSE
|
211
|
+
- README.adoc
|
212
|
+
- Rakefile
|
213
|
+
- bin/console
|
214
|
+
- bin/rspec
|
215
|
+
- bin/setup
|
216
|
+
- lib/asciidoctor/iho.rb
|
217
|
+
- lib/asciidoctor/iho/basicdoc.rng
|
218
|
+
- lib/asciidoctor/iho/biblio.rng
|
219
|
+
- lib/asciidoctor/iho/boilerplate.xml
|
220
|
+
- lib/asciidoctor/iho/converter.rb
|
221
|
+
- lib/asciidoctor/iho/iho.rng
|
222
|
+
- lib/asciidoctor/iho/isodoc.rng
|
223
|
+
- lib/asciidoctor/iho/reqt.rng
|
224
|
+
- lib/isodoc/iho/base_convert.rb
|
225
|
+
- lib/isodoc/iho/html/header.html
|
226
|
+
- lib/isodoc/iho/html/html_iho_intro.html
|
227
|
+
- lib/isodoc/iho/html/html_iho_titlepage.html
|
228
|
+
- lib/isodoc/iho/html/htmlstyle.scss
|
229
|
+
- lib/isodoc/iho/html/iho.scss
|
230
|
+
- lib/isodoc/iho/html/image001.png
|
231
|
+
- lib/isodoc/iho/html/image002.png
|
232
|
+
- lib/isodoc/iho/html/image003.png
|
233
|
+
- lib/isodoc/iho/html/logo.png
|
234
|
+
- lib/isodoc/iho/html/logo.svg
|
235
|
+
- lib/isodoc/iho/html/scripts.html
|
236
|
+
- lib/isodoc/iho/html/scripts.pdf.html
|
237
|
+
- lib/isodoc/iho/html/word_iho_intro.html
|
238
|
+
- lib/isodoc/iho/html/word_iho_titlepage.html
|
239
|
+
- lib/isodoc/iho/html/wordstyle.scss
|
240
|
+
- lib/isodoc/iho/html_convert.rb
|
241
|
+
- lib/isodoc/iho/metadata.rb
|
242
|
+
- lib/isodoc/iho/pdf_convert.rb
|
243
|
+
- lib/isodoc/iho/word_convert.rb
|
244
|
+
- lib/metanorma-iho.rb
|
245
|
+
- lib/metanorma/iho.rb
|
246
|
+
- lib/metanorma/iho/processor.rb
|
247
|
+
- lib/metanorma/iho/version.rb
|
248
|
+
- metanorma-iho.gemspec
|
249
|
+
- metanorma.yml
|
250
|
+
homepage: https://github.com/metanorma/metanorma-iho
|
251
|
+
licenses:
|
252
|
+
- BSD-2-Clause
|
253
|
+
metadata: {}
|
254
|
+
post_install_message:
|
255
|
+
rdoc_options: []
|
256
|
+
require_paths:
|
257
|
+
- lib
|
258
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
259
|
+
requirements:
|
260
|
+
- - ">="
|
261
|
+
- !ruby/object:Gem::Version
|
262
|
+
version: 2.4.0
|
263
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
264
|
+
requirements:
|
265
|
+
- - ">="
|
266
|
+
- !ruby/object:Gem::Version
|
267
|
+
version: '0'
|
268
|
+
requirements: []
|
269
|
+
rubyforge_project:
|
270
|
+
rubygems_version: 2.7.6
|
271
|
+
signing_key:
|
272
|
+
specification_version: 4
|
273
|
+
summary: metanorma-iho lets you write IHO in AsciiDoc.
|
274
|
+
test_files: []
|