metanorma-iso 1.3.23 → 1.4.0
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 +8 -0
- data/.github/workflows/ubuntu.yml +8 -0
- data/.github/workflows/windows.yml +8 -0
- data/lib/asciidoctor/iso/base.rb +26 -13
- data/lib/asciidoctor/iso/biblio.rng +36 -6
- data/lib/asciidoctor/iso/cleanup.rb +20 -3
- data/lib/asciidoctor/iso/front.rb +16 -107
- data/lib/asciidoctor/iso/front_id.rb +196 -0
- data/lib/asciidoctor/iso/isodoc.rng +450 -4
- data/lib/asciidoctor/iso/isostandard-amd.rng +98 -0
- data/lib/asciidoctor/iso/isostandard.rng +12 -1
- data/lib/asciidoctor/iso/macros.rb +21 -0
- data/lib/asciidoctor/iso/reqt.rng +23 -0
- data/lib/asciidoctor/iso/section.rb +18 -32
- data/lib/asciidoctor/iso/term_lookup_cleanup.rb +87 -0
- data/lib/asciidoctor/iso/validate.rb +41 -25
- data/lib/asciidoctor/iso/validate_requirements.rb +1 -1
- data/lib/asciidoctor/iso/validate_section.rb +2 -2
- data/lib/asciidoctor/iso/validate_style.rb +6 -5
- data/lib/asciidoctor/iso/validate_title.rb +1 -1
- data/lib/isodoc/iso/base_convert.rb +67 -99
- data/lib/isodoc/iso/html/header.html +10 -6
- data/lib/isodoc/iso/html/html_iso_titlepage.html +25 -16
- data/lib/isodoc/iso/html/isodoc.scss +25 -0
- data/lib/isodoc/iso/html/scripts.html +18 -0
- data/lib/isodoc/iso/html/style-human.scss +23 -0
- data/lib/isodoc/iso/html/style-iso.scss +18 -0
- data/lib/isodoc/iso/html/word_iso_intro.html +4 -0
- data/lib/isodoc/iso/html/word_iso_titlepage.html +21 -0
- data/lib/isodoc/iso/html/wordstyle.scss +45 -4
- data/lib/isodoc/iso/html_convert.rb +7 -0
- data/lib/isodoc/iso/iso.amendment.xsl +5082 -0
- data/lib/isodoc/iso/iso.international-standard.xsl +1899 -796
- data/lib/isodoc/iso/metadata.rb +69 -23
- data/lib/isodoc/iso/pdf_convert.rb +5 -11
- data/lib/isodoc/iso/presentation_xml_convert.rb +13 -0
- data/lib/isodoc/iso/sections.rb +66 -0
- data/lib/isodoc/iso/sts_convert.rb +31 -0
- data/lib/isodoc/iso/xref.rb +111 -0
- data/lib/metanorma-iso.rb +2 -0
- data/lib/metanorma/iso/processor.rb +23 -8
- data/lib/metanorma/iso/version.rb +1 -1
- data/metanorma-iso.gemspec +5 -2
- data/spec/asciidoctor-iso/amd_spec.rb +726 -0
- data/spec/asciidoctor-iso/base_spec.rb +31 -21
- data/spec/asciidoctor-iso/blocks_spec.rb +6 -6
- data/spec/asciidoctor-iso/cleanup_spec.rb +15 -15
- data/spec/asciidoctor-iso/inline_spec.rb +1 -1
- data/spec/asciidoctor-iso/macros_spec.rb +289 -0
- data/spec/asciidoctor-iso/refs_spec.rb +5 -5
- data/spec/asciidoctor-iso/section_spec.rb +8 -8
- data/spec/asciidoctor-iso/table_spec.rb +1 -1
- data/spec/isodoc/amd_spec.rb +652 -0
- data/spec/isodoc/blocks_spec.rb +112 -27
- data/spec/isodoc/i18n_spec.rb +8 -8
- data/spec/isodoc/inline_spec.rb +4 -4
- data/spec/isodoc/iso_spec.rb +1 -1
- data/spec/isodoc/metadata_spec.rb +90 -4
- data/spec/isodoc/postproc_spec.rb +11 -116
- data/spec/isodoc/ref_spec.rb +9 -9
- data/spec/isodoc/section_spec.rb +33 -6
- data/spec/isodoc/table_spec.rb +29 -29
- data/spec/isodoc/terms_spec.rb +4 -4
- data/spec/isodoc/xref_spec.rb +34 -28
- data/spec/metanorma/processor_spec.rb +2 -2
- data/spec/spec_helper.rb +11 -0
- metadata +63 -12
- data/asciidoctor-iso.gemspec.old +0 -50
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-jing
|
@@ -30,28 +30,70 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.1.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.1.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: metanorma-standoc
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.4.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.4.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: tokenizer
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.3.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.3.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: twitter_cldr
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: mn2sts
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.2.0
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.2.0
|
55
97
|
- !ruby/object:Gem::Dependency
|
56
98
|
name: byebug
|
57
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,7 +262,6 @@ files:
|
|
220
262
|
- Makefile
|
221
263
|
- README.adoc
|
222
264
|
- Rakefile
|
223
|
-
- asciidoctor-iso.gemspec.old
|
224
265
|
- bin/rspec
|
225
266
|
- docs/asciiiso-syntax.adoc
|
226
267
|
- docs/guidance.adoc
|
@@ -233,14 +274,18 @@ files:
|
|
233
274
|
- lib/asciidoctor/iso/cleanup.rb
|
234
275
|
- lib/asciidoctor/iso/converter.rb
|
235
276
|
- lib/asciidoctor/iso/front.rb
|
277
|
+
- lib/asciidoctor/iso/front_id.rb
|
236
278
|
- lib/asciidoctor/iso/i18n-en.yaml
|
237
279
|
- lib/asciidoctor/iso/i18n-fr.yaml
|
238
280
|
- lib/asciidoctor/iso/i18n-zh-Hans.yaml
|
239
281
|
- lib/asciidoctor/iso/isodoc.rng
|
282
|
+
- lib/asciidoctor/iso/isostandard-amd.rng
|
240
283
|
- lib/asciidoctor/iso/isostandard.rnc
|
241
284
|
- lib/asciidoctor/iso/isostandard.rng
|
285
|
+
- lib/asciidoctor/iso/macros.rb
|
242
286
|
- lib/asciidoctor/iso/reqt.rng
|
243
287
|
- lib/asciidoctor/iso/section.rb
|
288
|
+
- lib/asciidoctor/iso/term_lookup_cleanup.rb
|
244
289
|
- lib/asciidoctor/iso/validate.rb
|
245
290
|
- lib/asciidoctor/iso/validate_requirements.rb
|
246
291
|
- lib/asciidoctor/iso/validate_section.rb
|
@@ -259,15 +304,21 @@ files:
|
|
259
304
|
- lib/isodoc/iso/html/word_iso_titlepage.html
|
260
305
|
- lib/isodoc/iso/html/wordstyle.scss
|
261
306
|
- lib/isodoc/iso/html_convert.rb
|
307
|
+
- lib/isodoc/iso/iso.amendment.xsl
|
262
308
|
- lib/isodoc/iso/iso.international-standard.xsl
|
263
309
|
- lib/isodoc/iso/metadata.rb
|
264
310
|
- lib/isodoc/iso/pdf_convert.rb
|
311
|
+
- lib/isodoc/iso/presentation_xml_convert.rb
|
312
|
+
- lib/isodoc/iso/sections.rb
|
313
|
+
- lib/isodoc/iso/sts_convert.rb
|
265
314
|
- lib/isodoc/iso/word_convert.rb
|
315
|
+
- lib/isodoc/iso/xref.rb
|
266
316
|
- lib/metanorma-iso.rb
|
267
317
|
- lib/metanorma/iso.rb
|
268
318
|
- lib/metanorma/iso/processor.rb
|
269
319
|
- lib/metanorma/iso/version.rb
|
270
320
|
- metanorma-iso.gemspec
|
321
|
+
- spec/asciidoctor-iso/amd_spec.rb
|
271
322
|
- spec/asciidoctor-iso/base_spec.rb
|
272
323
|
- spec/asciidoctor-iso/blocks_spec.rb
|
273
324
|
- spec/asciidoctor-iso/cleanup_spec.rb
|
@@ -307,6 +358,7 @@ files:
|
|
307
358
|
- spec/examples/rice_img/rice_image3_1.png
|
308
359
|
- spec/examples/rice_img/rice_image3_2.png
|
309
360
|
- spec/examples/rice_img/rice_image3_3.png
|
361
|
+
- spec/isodoc/amd_spec.rb
|
310
362
|
- spec/isodoc/blocks_spec.rb
|
311
363
|
- spec/isodoc/i18n_spec.rb
|
312
364
|
- spec/isodoc/inline_spec.rb
|
@@ -324,7 +376,7 @@ homepage: https://github.com/metanorma/metanorma-iso
|
|
324
376
|
licenses:
|
325
377
|
- BSD-2-Clause
|
326
378
|
metadata: {}
|
327
|
-
post_install_message:
|
379
|
+
post_install_message:
|
328
380
|
rdoc_options: []
|
329
381
|
require_paths:
|
330
382
|
- lib
|
@@ -339,9 +391,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
339
391
|
- !ruby/object:Gem::Version
|
340
392
|
version: '0'
|
341
393
|
requirements: []
|
342
|
-
|
343
|
-
|
344
|
-
signing_key:
|
394
|
+
rubygems_version: 3.0.3
|
395
|
+
signing_key:
|
345
396
|
specification_version: 4
|
346
397
|
summary: metanorma-iso lets you write ISO standards in AsciiDoc.
|
347
398
|
test_files: []
|
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
|