relaton-ietf 1.10.2 → 1.10.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton_ietf/bibxml_parser.rb +8 -4
- data/lib/relaton_ietf/rfc_entry.rb +5 -3
- data/lib/relaton_ietf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39327270eb3e1efbd565881ac04a81623a6a1b9b0c03bfe5bec0403c47c6ffc6
|
4
|
+
data.tar.gz: 93d3e101fd02e503d7e3ba64b5c3e6e15c63071c769b4242094611bc40ed1685
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05ab0ccbc44d9c51ca1565e74dcaacfba1977d1bea2b28684132a249959c427ae83a81c9fde16b87418c82c16dfe5433959e8bce2ec01cf821eb1ae069de7c4a
|
7
|
+
data.tar.gz: 5d3ffb6cb20c518447106b78df29e1db9489ad291e31ba1542162e69e6f283809490805a28cc9bf382cfced8d845594dcc1174851be1b8d165c07016d8db4022
|
@@ -37,10 +37,14 @@ module RelatonIetf
|
|
37
37
|
# @param reference [Nokogiri::XML::Element]
|
38
38
|
# @return [Array<Hash>]
|
39
39
|
def contributors(reference)
|
40
|
-
[
|
41
|
-
|
42
|
-
|
43
|
-
|
40
|
+
contribs = []
|
41
|
+
unless reference[:anchor]&.match?(/^I-D/)
|
42
|
+
contribs << {
|
43
|
+
entity: new_org("Internet Engineering Task Force", "IETF"),
|
44
|
+
role: [type: "publisher"],
|
45
|
+
}
|
46
|
+
end
|
47
|
+
contribs + super
|
44
48
|
# persons(reference) + organizations(reference)
|
45
49
|
end
|
46
50
|
end
|
@@ -256,11 +256,13 @@ module RelatonIetf
|
|
256
256
|
# @return [RelatonBib::EditorialGroup] document editorial group
|
257
257
|
#
|
258
258
|
def parse_editorialgroup
|
259
|
-
tc = @doc.xpath("./xmlns:wg_acronym").
|
259
|
+
tc = @doc.xpath("./xmlns:wg_acronym").each_with_object([]) do |wg, arr|
|
260
|
+
next if wg.text == "NON WORKING GROUP"
|
261
|
+
|
260
262
|
wg = RelatonBib::WorkGroup.new(name: wg.text)
|
261
|
-
RelatonBib::TechnicalCommittee.new(wg)
|
263
|
+
arr << RelatonBib::TechnicalCommittee.new(wg)
|
262
264
|
end
|
263
|
-
RelatonBib::EditorialGroup.new(tc)
|
265
|
+
RelatonBib::EditorialGroup.new(tc) if tc.any?
|
264
266
|
end
|
265
267
|
end
|
266
268
|
end
|
data/lib/relaton_ietf/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-ietf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.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: 2022-02-
|
11
|
+
date: 2022-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: equivalent-xml
|