metanorma-itu 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/itu/reqt.rng +1 -1
- data/lib/isodoc/itu/base_convert.rb +4 -8
- data/lib/isodoc/itu/html_convert.rb +0 -4
- data/lib/metanorma/itu.rb +1 -0
- data/lib/metanorma/itu/version.rb +1 -1
- data/metanorma-itu.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8151c41aa026fbac639e0f2052d2e59155c16ed1ca49e8099e48695f0f8a0332
|
4
|
+
data.tar.gz: 939c333032f4cff5a577a782c25c6085e8e8e9ba6fc970b16ea52f2b8e0208db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f68049f6b7141477a521376e601a4927c84f961f7d65765e8b64ccce0ff3827a8396e264478c964306c7ea90c5aafe90a6de9b37b76cd7b5ea961c2179fbe3c
|
7
|
+
data.tar.gz: eca803ecfef447d44492454f7dcae494c64aa25729e4129e9d3633801c3cbdce80b879f4886068dad95e3e02772c8a37fe8cc60006a15bc7cd3cc23e0c9504c7
|
@@ -116,21 +116,17 @@ module IsoDoc
|
|
116
116
|
bibitem
|
117
117
|
end
|
118
118
|
|
119
|
-
def
|
120
|
-
return if implicit_reference(b)
|
119
|
+
def nonstd_bibitem(list, b, ordinal, biblio)
|
121
120
|
list.p **attr_code(iso_bibitem_entry_attrs(b, biblio)) do |ref|
|
122
|
-
ref << "[#{
|
121
|
+
ref << "[#{bibitem_ref_code(b)}]"
|
123
122
|
date_note_process(b, ref)
|
124
123
|
insert_tab(ref, 1)
|
125
124
|
reference_format(b, ref)
|
126
125
|
end
|
127
126
|
end
|
128
127
|
|
129
|
-
def
|
130
|
-
|
131
|
-
bibitems.each_with_index do |b, i|
|
132
|
-
noniso_bibitem_entry(div, b, (i + 1), bibliography)
|
133
|
-
end
|
128
|
+
def std_bibitem_entry(list, b, ordinal, biblio)
|
129
|
+
nonstd_bibitem(list, b, ordinal, biblio)
|
134
130
|
end
|
135
131
|
|
136
132
|
def terms_defs_title(node)
|
data/lib/metanorma/itu.rb
CHANGED
data/metanorma-itu.gemspec
CHANGED
@@ -27,8 +27,8 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_dependency "asciidoctor", "~> 1.5.7"
|
28
28
|
spec.add_dependency "htmlentities", "~> 4.3.4"
|
29
29
|
spec.add_dependency "ruby-jing"
|
30
|
-
spec.add_dependency "metanorma-standoc", "~> 1.
|
31
|
-
spec.add_dependency "isodoc", "~> 0.
|
30
|
+
spec.add_dependency "metanorma-standoc", "~> 1.3.0"
|
31
|
+
spec.add_dependency "isodoc", "~> 1.0.0"
|
32
32
|
|
33
33
|
spec.add_development_dependency "bundler", "~> 2.0.1"
|
34
34
|
spec.add_development_dependency "byebug", "~> 9.1"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-itu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.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-08-
|
11
|
+
date: 2019-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -58,28 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
61
|
+
version: 1.3.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.
|
68
|
+
version: 1.3.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: isodoc
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 1.0.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 1.0.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: bundler
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|