metanorma-iso 1.3.20 → 1.3.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/macos.yml +10 -10
- data/.github/workflows/ubuntu.yml +11 -11
- data/.github/workflows/windows.yml +11 -12
- data/Gemfile +2 -0
- data/README.adoc +3 -2
- data/lib/asciidoctor/iso/base.rb +17 -1
- data/lib/asciidoctor/iso/biblio.rng +131 -46
- data/lib/asciidoctor/iso/cleanup.rb +19 -2
- data/lib/asciidoctor/iso/front.rb +116 -17
- data/lib/asciidoctor/iso/isodoc.rng +32 -4
- data/lib/asciidoctor/iso/isostandard-amd.rng +98 -0
- data/lib/asciidoctor/iso/isostandard.rng +10 -0
- data/lib/asciidoctor/iso/macros.rb +21 -0
- data/lib/asciidoctor/iso/section.rb +18 -32
- data/lib/asciidoctor/iso/term_lookup_cleanup.rb +90 -0
- data/lib/asciidoctor/iso/validate.rb +41 -21
- data/lib/asciidoctor/iso/validate_section.rb +2 -2
- data/lib/asciidoctor/iso/validate_style.rb +1 -1
- data/lib/isodoc/iso/base_convert.rb +57 -41
- data/lib/isodoc/iso/html/header.html +5 -5
- data/lib/isodoc/iso/html/html_iso_titlepage.html +18 -18
- data/lib/isodoc/iso/html/isodoc.scss +28 -28
- data/lib/isodoc/iso/html/scripts.html +23 -21
- data/lib/isodoc/iso/html/style-human.scss +259 -423
- data/lib/isodoc/iso/html/style-iso.scss +151 -382
- data/lib/isodoc/iso/html/word_iso_titlepage.html +23 -2
- data/lib/isodoc/iso/html/wordstyle.scss +66 -39
- data/lib/isodoc/iso/html_convert.rb +7 -9
- data/lib/isodoc/iso/iso.international-standard.xsl +4386 -0
- data/lib/isodoc/iso/metadata.rb +48 -22
- data/lib/isodoc/iso/pdf_convert.rb +32 -0
- data/lib/metanorma-iso.rb +1 -0
- data/lib/metanorma/iso/processor.rb +13 -1
- data/lib/metanorma/iso/version.rb +1 -1
- data/spec/asciidoctor-iso/amd_spec.rb +318 -0
- data/spec/asciidoctor-iso/base_spec.rb +37 -17
- data/spec/asciidoctor-iso/blocks_spec.rb +21 -9
- data/spec/asciidoctor-iso/cleanup_spec.rb +203 -175
- data/spec/asciidoctor-iso/inline_spec.rb +2 -1
- data/spec/asciidoctor-iso/macros_spec.rb +273 -0
- data/spec/asciidoctor-iso/refs_spec.rb +7 -4
- data/spec/asciidoctor-iso/section_spec.rb +8 -8
- data/spec/asciidoctor-iso/validate_spec.rb +1 -1
- data/spec/assets/iso.xml +64 -1
- data/spec/isodoc/blocks_spec.rb +115 -0
- data/spec/isodoc/i18n_spec.rb +12 -20
- data/spec/isodoc/inline_spec.rb +2 -2
- data/spec/isodoc/iso_spec.rb +1 -1
- data/spec/isodoc/metadata_spec.rb +13 -4
- data/spec/isodoc/postproc_spec.rb +13 -112
- data/spec/isodoc/ref_spec.rb +4 -4
- data/spec/isodoc/section_spec.rb +8 -12
- data/spec/isodoc/table_spec.rb +24 -24
- data/spec/isodoc/terms_spec.rb +2 -2
- data/spec/isodoc/xref_spec.rb +19 -19
- data/spec/metanorma/processor_spec.rb +2 -2
- data/spec/spec_helper.rb +13 -1
- metadata +9 -3
- data/asciidoctor-iso.gemspec.old +0 -50
data/asciidoctor-iso.gemspec.old
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
lib = File.expand_path("../lib", __FILE__)
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require "asciidoctor/iso/version"
|
6
|
-
|
7
|
-
Gem::Specification.new do |spec|
|
8
|
-
spec.name = "asciidoctor-iso"
|
9
|
-
spec.version = Asciidoctor::ISO::VERSION
|
10
|
-
spec.authors = ["Ribose Inc."]
|
11
|
-
spec.email = ["open.source@ribose.com"]
|
12
|
-
|
13
|
-
spec.summary = "asciidoctor-iso lets you write ISO standards "\
|
14
|
-
"in AsciiDoc."
|
15
|
-
spec.description = <<~DESCRIPTION
|
16
|
-
asciidoctor-iso lets you write ISO standards in AsciiDoc syntax.
|
17
|
-
|
18
|
-
This gem is in active development.
|
19
|
-
DESCRIPTION
|
20
|
-
|
21
|
-
spec.homepage = "https://github.com/riboseinc/asciidoctor-iso"
|
22
|
-
spec.license = "BSD-2-Clause"
|
23
|
-
spec.post_install_message = "The asciidoctor-iso gem has been deprecated and has been replaced by metanorma-iso"
|
24
|
-
|
25
|
-
spec.bindir = "bin"
|
26
|
-
spec.require_paths = ["lib"]
|
27
|
-
spec.files = `git ls-files`.split("\n")
|
28
|
-
spec.test_files = `git ls-files -- {spec}/*`.split("\n")
|
29
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
30
|
-
|
31
|
-
spec.add_dependency "asciidoctor", "~> 1.5.7"
|
32
|
-
spec.add_dependency "ruby-jing"
|
33
|
-
spec.add_dependency "isodoc", "~> 0.8.8"
|
34
|
-
spec.add_dependency "iev", "~> 0.2.0"
|
35
|
-
spec.add_dependency "relaton", "~> 0.1.3"
|
36
|
-
spec.add_dependency "metanorma-standoc", "~> 0.0.1"
|
37
|
-
|
38
|
-
spec.add_development_dependency "bundler", "~> 1.15"
|
39
|
-
spec.add_development_dependency "byebug"
|
40
|
-
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
41
|
-
spec.add_development_dependency "guard", "~> 2.14"
|
42
|
-
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
43
|
-
spec.add_development_dependency "rake", "~> 12.0"
|
44
|
-
spec.add_development_dependency "rspec", "~> 3.6"
|
45
|
-
spec.add_development_dependency "rubocop", "~> 0.50"
|
46
|
-
spec.add_development_dependency "simplecov", "~> 0.15"
|
47
|
-
spec.add_development_dependency "timecop", "~> 0.9"
|
48
|
-
spec.add_development_dependency "metanorma", "~> 0.2.6"
|
49
|
-
spec.add_development_dependency "isobib", "~> 0.2.0"
|
50
|
-
end
|