metanorma-ietf 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.travis.yml +2 -1
- data/Gemfile +0 -1
- data/Gemfile.lock +227 -0
- data/lib/asciidoctor/rfc/v2/blocks.rb +13 -0
- data/lib/asciidoctor/rfc/v2/table.rb +1 -1
- data/lib/metanorma/ietf/version.rb +1 -1
- data/metanorma-ietf.gemspec +5 -2
- metadata +37 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfea6451f7c303260bf7367dc0983f2704b90642190dcf633e051680d8db0418
|
4
|
+
data.tar.gz: 6c8fbf8b518f6df92d092c5762c83d2b7522e56beac702f35290598e2e7e44c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31c73a88e506eb0325ea512e15406d44d633e2ff7b43446ce1e8d021563e80d98e3167edad0c450f4c097a1da231f30d161d79591a28ebb673ea04412f1879a0
|
7
|
+
data.tar.gz: 96cba4e20a6df043ddfe9b237cf81f63afe28376e00e079f7c04ebeb07cfae1c28fc175dd4eee1eaf31ca4c28bd5e81ffde18da080ed4d1fb14f503aa5e2860d
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# Auto-generated !!! Do not edit it manually
|
2
|
+
# use ci-master https://github.com/metanorma/metanorma-build-scripts
|
1
3
|
language: ruby
|
2
4
|
cache: bundler
|
3
5
|
os:
|
@@ -8,7 +10,6 @@ python:
|
|
8
10
|
rvm:
|
9
11
|
- 2.5
|
10
12
|
- 2.4
|
11
|
-
- 2.3
|
12
13
|
- ruby-head
|
13
14
|
before_install:
|
14
15
|
- gem install bundler -v 2.0.1
|
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,227 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
metanorma-ietf (1.0.3)
|
5
|
+
isodoc (~> 0.10.0)
|
6
|
+
metanorma-standoc (~> 1.2.0)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
addressable (2.6.0)
|
12
|
+
public_suffix (>= 2.0.2, < 4.0)
|
13
|
+
algoliasearch (1.26.0)
|
14
|
+
httpclient (~> 2.8, >= 2.8.3)
|
15
|
+
json (>= 1.5.1)
|
16
|
+
asciidoctor (1.5.8)
|
17
|
+
asciimath (1.0.8)
|
18
|
+
ast (2.4.0)
|
19
|
+
byebug (9.1.0)
|
20
|
+
cnccs (0.1.3)
|
21
|
+
coderay (1.1.2)
|
22
|
+
concurrent-ruby (1.1.5)
|
23
|
+
crack (0.4.3)
|
24
|
+
safe_yaml (~> 1.0.0)
|
25
|
+
diff-lcs (1.3)
|
26
|
+
docile (1.3.2)
|
27
|
+
equivalent-xml (0.6.0)
|
28
|
+
nokogiri (>= 1.4.3)
|
29
|
+
ffi (1.11.1)
|
30
|
+
formatador (0.2.5)
|
31
|
+
gb-agencies (0.0.5)
|
32
|
+
guard (2.15.0)
|
33
|
+
formatador (>= 0.2.4)
|
34
|
+
listen (>= 2.7, < 4.0)
|
35
|
+
lumberjack (>= 1.0.12, < 2.0)
|
36
|
+
nenv (~> 0.1)
|
37
|
+
notiffany (~> 0.0)
|
38
|
+
pry (>= 0.9.12)
|
39
|
+
shellany (~> 0.0)
|
40
|
+
thor (>= 0.18.1)
|
41
|
+
guard-compat (1.2.1)
|
42
|
+
guard-rspec (4.7.3)
|
43
|
+
guard (~> 2.1)
|
44
|
+
guard-compat (~> 1.1)
|
45
|
+
rspec (>= 2.99.0, < 4.0)
|
46
|
+
hashdiff (0.4.0)
|
47
|
+
html2doc (0.8.11)
|
48
|
+
asciimath (~> 1.0.7)
|
49
|
+
htmlentities (~> 4.3.4)
|
50
|
+
image_size
|
51
|
+
mime-types
|
52
|
+
nokogiri
|
53
|
+
thread_safe
|
54
|
+
uuidtools
|
55
|
+
htmlentities (4.3.4)
|
56
|
+
httpclient (2.8.3)
|
57
|
+
iev (0.2.2)
|
58
|
+
nokogiri
|
59
|
+
image_size (2.0.1)
|
60
|
+
isodoc (0.10.0)
|
61
|
+
asciimath
|
62
|
+
html2doc (~> 0.8.11)
|
63
|
+
htmlentities (~> 4.3.4)
|
64
|
+
liquid
|
65
|
+
metanorma (~> 0.3.0)
|
66
|
+
nokogiri (>= 1)
|
67
|
+
rake (~> 12.0)
|
68
|
+
roman-numerals
|
69
|
+
sassc (~> 2)
|
70
|
+
thread_safe
|
71
|
+
uuidtools
|
72
|
+
isoics (0.1.7)
|
73
|
+
jaro_winkler (1.5.2)
|
74
|
+
json (2.2.0)
|
75
|
+
liquid (4.0.3)
|
76
|
+
listen (3.1.5)
|
77
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
78
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
79
|
+
ruby_dep (~> 1.2)
|
80
|
+
lumberjack (1.0.13)
|
81
|
+
metanorma (0.3.11)
|
82
|
+
asciidoctor
|
83
|
+
htmlentities
|
84
|
+
metanorma-standoc (1.2.0)
|
85
|
+
asciidoctor (~> 1.5.7)
|
86
|
+
concurrent-ruby
|
87
|
+
html2doc (~> 0.8.11)
|
88
|
+
iev (~> 0.2.1)
|
89
|
+
isodoc (~> 0.10.0)
|
90
|
+
relaton (~> 0.4.0)
|
91
|
+
relaton-cli (~> 0.2.0)
|
92
|
+
ruby-jing
|
93
|
+
sterile (~> 1.0.14)
|
94
|
+
unicode2latex (~> 0.0.1)
|
95
|
+
method_source (0.9.2)
|
96
|
+
mime-types (3.2.2)
|
97
|
+
mime-types-data (~> 3.2015)
|
98
|
+
mime-types-data (3.2019.0331)
|
99
|
+
mini_portile2 (2.3.0)
|
100
|
+
nenv (0.3.0)
|
101
|
+
nokogiri (1.8.5)
|
102
|
+
mini_portile2 (~> 2.3.0)
|
103
|
+
notiffany (0.1.1)
|
104
|
+
nenv (~> 0.1)
|
105
|
+
shellany (~> 0.0)
|
106
|
+
optout (0.0.2)
|
107
|
+
parallel (1.17.0)
|
108
|
+
parser (2.6.3.0)
|
109
|
+
ast (~> 2.4.0)
|
110
|
+
pry (0.12.2)
|
111
|
+
coderay (~> 1.1.0)
|
112
|
+
method_source (~> 0.9.0)
|
113
|
+
public_suffix (3.1.0)
|
114
|
+
rainbow (3.0.0)
|
115
|
+
rake (12.3.2)
|
116
|
+
rb-fsevent (0.10.3)
|
117
|
+
rb-inotify (0.10.0)
|
118
|
+
ffi (~> 1.0)
|
119
|
+
relaton (0.4.0)
|
120
|
+
algoliasearch
|
121
|
+
relaton-gb (~> 0.5.0)
|
122
|
+
relaton-iec (~> 0.3.0)
|
123
|
+
relaton-ietf (~> 0.5.0)
|
124
|
+
relaton-iso (~> 0.5.0)
|
125
|
+
relaton-iso-bib (~> 0.2.0)
|
126
|
+
relaton-itu (~> 0.2.0)
|
127
|
+
relaton-nist (~> 0.2.0)
|
128
|
+
relaton-bib (0.2.1)
|
129
|
+
addressable
|
130
|
+
nokogiri (~> 1.8.4)
|
131
|
+
relaton-cli (0.2.0)
|
132
|
+
liquid
|
133
|
+
relaton (~> 0.4)
|
134
|
+
thor
|
135
|
+
relaton-gb (0.5.0)
|
136
|
+
cnccs (~> 0.1.1)
|
137
|
+
gb-agencies (~> 0.0.1)
|
138
|
+
relaton-iso-bib (~> 0.2.0)
|
139
|
+
relaton-iec (0.3.0)
|
140
|
+
addressable
|
141
|
+
relaton-iso-bib (~> 0.2.0)
|
142
|
+
relaton-ietf (0.5.0)
|
143
|
+
relaton-iso-bib (~> 0.2.0)
|
144
|
+
relaton-iso (0.5.0)
|
145
|
+
algoliasearch
|
146
|
+
relaton-iec (~> 0.3.0)
|
147
|
+
relaton-iso-bib (~> 0.2.0)
|
148
|
+
relaton-iso-bib (0.2.2)
|
149
|
+
isoics (~> 0.1.6)
|
150
|
+
nokogiri (~> 1.8.4)
|
151
|
+
relaton-bib (~> 0.2.0)
|
152
|
+
ruby_deep_clone (~> 0.8.0)
|
153
|
+
relaton-itu (0.2.0)
|
154
|
+
relaton-iso-bib (~> 0.2.0)
|
155
|
+
relaton-nist (0.2.0)
|
156
|
+
relaton-bib (~> 0.2.0)
|
157
|
+
roman-numerals (0.3.0)
|
158
|
+
rspec (3.8.0)
|
159
|
+
rspec-core (~> 3.8.0)
|
160
|
+
rspec-expectations (~> 3.8.0)
|
161
|
+
rspec-mocks (~> 3.8.0)
|
162
|
+
rspec-core (3.8.1)
|
163
|
+
rspec-support (~> 3.8.0)
|
164
|
+
rspec-expectations (3.8.4)
|
165
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
166
|
+
rspec-support (~> 3.8.0)
|
167
|
+
rspec-mocks (3.8.1)
|
168
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
169
|
+
rspec-support (~> 3.8.0)
|
170
|
+
rspec-support (3.8.2)
|
171
|
+
rubocop (0.71.0)
|
172
|
+
jaro_winkler (~> 1.5.1)
|
173
|
+
parallel (~> 1.10)
|
174
|
+
parser (>= 2.6)
|
175
|
+
rainbow (>= 2.2.2, < 4.0)
|
176
|
+
ruby-progressbar (~> 1.7)
|
177
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
178
|
+
ruby-jing (0.0.1)
|
179
|
+
optout (>= 0.0.2)
|
180
|
+
ruby-progressbar (1.10.1)
|
181
|
+
ruby_deep_clone (0.8.0)
|
182
|
+
ruby_dep (1.5.0)
|
183
|
+
safe_yaml (1.0.5)
|
184
|
+
sassc (2.0.1)
|
185
|
+
ffi (~> 1.9)
|
186
|
+
rake
|
187
|
+
shellany (0.0.1)
|
188
|
+
simplecov (0.16.1)
|
189
|
+
docile (~> 1.1)
|
190
|
+
json (>= 1.8, < 3)
|
191
|
+
simplecov-html (~> 0.10.0)
|
192
|
+
simplecov-html (0.10.2)
|
193
|
+
sterile (1.0.14)
|
194
|
+
nokogiri
|
195
|
+
thor (0.20.3)
|
196
|
+
thread_safe (0.3.6)
|
197
|
+
timecop (0.9.1)
|
198
|
+
unicode-display_width (1.6.0)
|
199
|
+
unicode2latex (0.0.2)
|
200
|
+
uuidtools (2.1.5)
|
201
|
+
vcr (5.0.0)
|
202
|
+
webmock (3.6.0)
|
203
|
+
addressable (>= 2.3.6)
|
204
|
+
crack (>= 0.3.2)
|
205
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
206
|
+
|
207
|
+
PLATFORMS
|
208
|
+
ruby
|
209
|
+
|
210
|
+
DEPENDENCIES
|
211
|
+
bundler (~> 2.0.1)
|
212
|
+
byebug (~> 9.1)
|
213
|
+
equivalent-xml (~> 0.6)
|
214
|
+
guard (~> 2.14)
|
215
|
+
guard-rspec (~> 4.7)
|
216
|
+
metanorma (~> 0.3.0)
|
217
|
+
metanorma-ietf!
|
218
|
+
rake (~> 12.0)
|
219
|
+
rspec (~> 3.6)
|
220
|
+
rubocop (~> 0.50)
|
221
|
+
simplecov (~> 0.15)
|
222
|
+
timecop (~> 0.9)
|
223
|
+
vcr (~> 5.0.0)
|
224
|
+
webmock
|
225
|
+
|
226
|
+
BUNDLED WITH
|
227
|
+
2.0.1
|
@@ -109,6 +109,8 @@ module Asciidoctor
|
|
109
109
|
# ====
|
110
110
|
#
|
111
111
|
# @note admonitions within preamble are notes. Elsewhere, they are comments.
|
112
|
+
# UPDATE 20190517
|
113
|
+
# @note admonitions within preamble are notes. Elsewhere, they are LABEL followed by text
|
112
114
|
def admonition(node)
|
113
115
|
result = []
|
114
116
|
if node.parent.context == :preamble
|
@@ -125,6 +127,7 @@ module Asciidoctor
|
|
125
127
|
end
|
126
128
|
end
|
127
129
|
else
|
130
|
+
=begin
|
128
131
|
cref_attributes = {
|
129
132
|
anchor: node.id,
|
130
133
|
source: node.attr("source"),
|
@@ -151,6 +154,16 @@ module Asciidoctor
|
|
151
154
|
end
|
152
155
|
end
|
153
156
|
end
|
157
|
+
=end
|
158
|
+
result << "<t>#{node.attr("name").upcase}</t>"
|
159
|
+
if node.blocks?
|
160
|
+
node.blocks.each do |b|
|
161
|
+
result << send(b.context, b)
|
162
|
+
end
|
163
|
+
else
|
164
|
+
result << paragraph(node)
|
165
|
+
end
|
166
|
+
end
|
154
167
|
result
|
155
168
|
end
|
156
169
|
|
@@ -86,7 +86,7 @@ module Asciidoctor
|
|
86
86
|
percentage_widths = []
|
87
87
|
named_widths = false
|
88
88
|
node.columns.each do |col|
|
89
|
-
percentage_widths << col.attr("colpcwidth")
|
89
|
+
percentage_widths << col.attr("colpcwidth").to_f.round
|
90
90
|
named_widths = true if col.attr("width") != 1
|
91
91
|
# 1 is the default set value if no width has been given for the column
|
92
92
|
# if a columns widths have been set as [1,1,1,1,...], they will be ignored
|
data/metanorma-ietf.gemspec
CHANGED
@@ -33,9 +33,10 @@ Gem::Specification.new do |spec|
|
|
33
33
|
spec.bindir = "exe"
|
34
34
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
35
35
|
spec.require_paths = ["lib"]
|
36
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
36
37
|
|
37
|
-
spec.add_dependency "metanorma-standoc", "~> 1.
|
38
|
-
spec.add_dependency "isodoc", "~> 0.
|
38
|
+
spec.add_dependency "metanorma-standoc", "~> 1.2.0"
|
39
|
+
spec.add_dependency "isodoc", "~> 0.10.0"
|
39
40
|
|
40
41
|
spec.add_development_dependency "bundler", "~> 2.0.1"
|
41
42
|
spec.add_development_dependency "byebug", "~> 9.1"
|
@@ -48,4 +49,6 @@ Gem::Specification.new do |spec|
|
|
48
49
|
spec.add_development_dependency "simplecov", "~> 0.15"
|
49
50
|
spec.add_development_dependency "timecop", "~> 0.9"
|
50
51
|
spec.add_development_dependency "metanorma", "~> 0.3.0"
|
52
|
+
spec.add_development_dependency "vcr", "~> 5.0.0"
|
53
|
+
spec.add_development_dependency "webmock"
|
51
54
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-ietf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
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: metanorma-standoc
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: isodoc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.10.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: 0.
|
40
|
+
version: 0.10.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,6 +192,34 @@ dependencies:
|
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: 0.3.0
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: vcr
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: 5.0.0
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 5.0.0
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: webmock
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
195
223
|
description: |
|
196
224
|
metanorma-ietf lets you write IETF documents, such as Internet-Drafts and RFCs,
|
197
225
|
in native AsciiDoc syntax. This is part of the Metanorma publishing framework.
|
@@ -219,6 +247,7 @@ files:
|
|
219
247
|
- ".travis.yml"
|
220
248
|
- CODE_OF_CONDUCT.md
|
221
249
|
- Gemfile
|
250
|
+
- Gemfile.lock
|
222
251
|
- Guardfile
|
223
252
|
- LICENSE
|
224
253
|
- README.adoc
|
@@ -275,7 +304,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
275
304
|
requirements:
|
276
305
|
- - ">="
|
277
306
|
- !ruby/object:Gem::Version
|
278
|
-
version:
|
307
|
+
version: 2.4.0
|
279
308
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
280
309
|
requirements:
|
281
310
|
- - ">="
|
@@ -283,7 +312,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
283
312
|
version: '0'
|
284
313
|
requirements: []
|
285
314
|
rubyforge_project:
|
286
|
-
rubygems_version: 2.7.
|
315
|
+
rubygems_version: 2.7.7
|
287
316
|
signing_key:
|
288
317
|
specification_version: 4
|
289
318
|
summary: metanorma-ietf lets you write IETF documents, such as Internet-Drafts and
|