metanorma-unece 0.0.14 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -10
- data/appveyor.yml +7 -2
- data/lib/asciidoctor/unece/biblio.rng +44 -15
- data/lib/asciidoctor/unece/converter.rb +14 -8
- data/lib/asciidoctor/unece/isodoc.rng +128 -71
- data/lib/asciidoctor/unece/isostandard.rng +29 -304
- data/lib/asciidoctor/unece/reqt.rng +5 -0
- data/lib/asciidoctor/unece/unece.rng +11 -83
- data/lib/asciidoctor/unece/validate.rb +22 -0
- data/lib/isodoc/unece/base_convert.rb +215 -0
- data/lib/isodoc/unece/html/html_unece_plenary_titlepage.html +3 -3
- data/lib/isodoc/unece/html/html_unece_titlepage.html +3 -3
- data/lib/isodoc/unece/html_convert.rb +5 -206
- data/lib/isodoc/unece/metadata.rb +12 -17
- data/lib/isodoc/unece/word_convert.rb +87 -291
- data/lib/metanorma/unece/version.rb +1 -1
- data/metanorma-unece.gemspec +3 -3
- metadata +10 -22
data/metanorma-unece.gemspec
CHANGED
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.bindir = "exe"
|
23
23
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
24
|
spec.require_paths = ["lib"]
|
25
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
25
26
|
|
26
27
|
spec.add_dependency "asciidoctor", "~> 1.5.7"
|
27
28
|
spec.add_dependency "htmlentities", "~> 4.3.4"
|
@@ -30,8 +31,8 @@ Gem::Specification.new do |spec|
|
|
30
31
|
spec.add_dependency "twitter_cldr"
|
31
32
|
spec.add_dependency "iso-639"
|
32
33
|
|
33
|
-
spec.add_dependency "metanorma-standoc", "~> 1.
|
34
|
-
spec.add_dependency "isodoc", "~> 0.
|
34
|
+
spec.add_dependency "metanorma-standoc", "~> 1.2.0"
|
35
|
+
spec.add_dependency "isodoc", "~> 0.10.0"
|
35
36
|
|
36
37
|
spec.add_development_dependency "bundler", "~> 2.0.1"
|
37
38
|
spec.add_development_dependency "byebug", "~> 9.1"
|
@@ -44,5 +45,4 @@ Gem::Specification.new do |spec|
|
|
44
45
|
spec.add_development_dependency "simplecov", "~> 0.15"
|
45
46
|
spec.add_development_dependency "timecop", "~> 0.9"
|
46
47
|
spec.add_development_dependency "metanorma", "~> 0.3.1"
|
47
|
-
spec.add_development_dependency "metanorma-cli", "~> 1.1.0"
|
48
48
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-unece
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -100,28 +100,28 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
103
|
+
version: 1.2.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
110
|
+
version: 1.2.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: isodoc
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
117
|
+
version: 0.10.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.
|
124
|
+
version: 0.10.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: bundler
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -276,20 +276,6 @@ dependencies:
|
|
276
276
|
- - "~>"
|
277
277
|
- !ruby/object:Gem::Version
|
278
278
|
version: 0.3.1
|
279
|
-
- !ruby/object:Gem::Dependency
|
280
|
-
name: metanorma-cli
|
281
|
-
requirement: !ruby/object:Gem::Requirement
|
282
|
-
requirements:
|
283
|
-
- - "~>"
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
version: 1.1.0
|
286
|
-
type: :development
|
287
|
-
prerelease: false
|
288
|
-
version_requirements: !ruby/object:Gem::Requirement
|
289
|
-
requirements:
|
290
|
-
- - "~>"
|
291
|
-
- !ruby/object:Gem::Version
|
292
|
-
version: 1.1.0
|
293
279
|
description: 'Metanorma for UNECE: United Nations Economic Commission for Europe.
|
294
280
|
|
295
281
|
'
|
@@ -319,7 +305,9 @@ files:
|
|
319
305
|
- lib/asciidoctor/unece/isostandard.rng
|
320
306
|
- lib/asciidoctor/unece/reqt.rng
|
321
307
|
- lib/asciidoctor/unece/unece.rng
|
308
|
+
- lib/asciidoctor/unece/validate.rb
|
322
309
|
- lib/isodoc/unece.rb
|
310
|
+
- lib/isodoc/unece/base_convert.rb
|
323
311
|
- lib/isodoc/unece/html/header.html
|
324
312
|
- lib/isodoc/unece/html/html_unece_intro.html
|
325
313
|
- lib/isodoc/unece/html/html_unece_plenary_titlepage.html
|
@@ -354,7 +342,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
354
342
|
requirements:
|
355
343
|
- - ">="
|
356
344
|
- !ruby/object:Gem::Version
|
357
|
-
version:
|
345
|
+
version: 2.4.0
|
358
346
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
359
347
|
requirements:
|
360
348
|
- - ">="
|
@@ -362,7 +350,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
362
350
|
version: '0'
|
363
351
|
requirements: []
|
364
352
|
rubyforge_project:
|
365
|
-
rubygems_version: 2.7.
|
353
|
+
rubygems_version: 2.7.7
|
366
354
|
signing_key:
|
367
355
|
specification_version: 4
|
368
356
|
summary: Metanorma for UNECE.
|