relaton-ietf 1.12.8 → 1.12.11
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/rfc_entry.rb +1 -1
- data/lib/relaton_ietf/rfc_index_entry.rb +3 -2
- 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: ce6d315b08694f5889ca288b425c22a0eff4439cdfa07ac5ab4d23910f3a00d8
|
4
|
+
data.tar.gz: 739502081d4f367da2ad0ae7d303bf808ebe28f81817021c86845dc8399640a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4be6b56a6f216444377f9ac242abbc9558916b7c99682adc191733884789ffffeb3b7baa8c3277e4332bdf27bfe587ebc2783c071085882b34eef8eb8eb7b504
|
7
|
+
data.tar.gz: 8abef8ce8efa536d5e33598b74d2de6b46d3598a5d2ecaeda60b913eb43cc110c61386e80c8f4d4f5efdcab5e607a3f426326ae610335380b127e2b42e3f387b
|
@@ -68,7 +68,7 @@ module RelatonIetf
|
|
68
68
|
def parse_docid
|
69
69
|
ids = [
|
70
70
|
RelatonBib::DocumentIdentifier.new(id: pub_id, type: "IETF", primary: true),
|
71
|
-
RelatonBib::DocumentIdentifier.new(id: anchor, type: "IETF", scope: "anchor"),
|
71
|
+
# RelatonBib::DocumentIdentifier.new(id: anchor, type: "IETF", scope: "anchor"),
|
72
72
|
]
|
73
73
|
doi = @doc.at("./xmlns:doi").text
|
74
74
|
ids << RelatonBib::DocumentIdentifier.new(id: doi, type: "DOI")
|
@@ -76,7 +76,7 @@ module RelatonIetf
|
|
76
76
|
def parse_docid
|
77
77
|
[
|
78
78
|
RelatonBib::DocumentIdentifier.new(type: "IETF", id: pub_id, primary: true),
|
79
|
-
RelatonBib::DocumentIdentifier.new(type: "IETF", scope: "anchor", id: anchor),
|
79
|
+
# RelatonBib::DocumentIdentifier.new(type: "IETF", scope: "anchor", id: anchor),
|
80
80
|
]
|
81
81
|
end
|
82
82
|
|
@@ -126,7 +126,8 @@ module RelatonIetf
|
|
126
126
|
def parse_relation
|
127
127
|
@is_also.map do |ref|
|
128
128
|
fref = RelatonBib::FormattedRef.new content: ref
|
129
|
-
|
129
|
+
id = ref.sub(/^([A-Z]+)0*(\d+)$/, '\1 \2')
|
130
|
+
docid = RelatonBib::DocumentIdentifier.new(type: "IETF", id: id, primary: true)
|
130
131
|
bib = IetfBibliographicItem.new formattedref: fref, docid: [docid]
|
131
132
|
{ type: "includes", bibitem: bib }
|
132
133
|
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.12.
|
4
|
+
version: 1.12.11
|
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-
|
11
|
+
date: 2022-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: equivalent-xml
|