relaton-ietf 0.12.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/relaton_ietf/scrapper.rb +4 -4
- 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: e4a4d2c8d3326188837349cf1ef36ef379aac0c41d2ef5a7ccf99fd51e238178
|
|
4
|
+
data.tar.gz: 4accec068cabba89b8d7ed55607032a44181e312b6089be4aa1672c1ffa4cbd5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 678847fbb7466bcf73d40c686a196d9ce78e8b172c7c1278dda7893e2ecde94507967f6a33f3260edb9b2e64afb45b02b62b83c9150f8dbcf57cab2551ec04df
|
|
7
|
+
data.tar.gz: 024f5e05069907d8d978b46c59fd5f49af8bfa9f36eaa90312d7ff32fd458e8c006d843290630a9046f791cb83001e539bdbed9d8bd13ea68144b0769fb2e487
|
|
@@ -65,7 +65,7 @@ module RelatonIetf
|
|
|
65
65
|
series: series(reference),
|
|
66
66
|
place: ["Fremont, CA"],
|
|
67
67
|
keyword: reference.xpath("front/keyword").map(&:text),
|
|
68
|
-
doctype: doctype(reference[:anchor])
|
|
68
|
+
doctype: doctype(reference[:anchor]),
|
|
69
69
|
)
|
|
70
70
|
end
|
|
71
71
|
# rubocop:enable Metrics/MethodLength
|
|
@@ -138,7 +138,7 @@ module RelatonIetf
|
|
|
138
138
|
language: ["en"],
|
|
139
139
|
link: [{ type: "src", content: uri }],
|
|
140
140
|
relation: fetch_relations(doc),
|
|
141
|
-
doctype: "rfc"
|
|
141
|
+
doctype: "rfc",
|
|
142
142
|
)
|
|
143
143
|
end
|
|
144
144
|
|
|
@@ -268,8 +268,8 @@ module RelatonIetf
|
|
|
268
268
|
def affiliation(author)
|
|
269
269
|
organization = author.at("./organization")
|
|
270
270
|
org = RelatonBib::Organization.new(
|
|
271
|
-
name: organization.text.empty? ? "IETF" : organization.text,
|
|
272
|
-
abbreviation: organization[:abbrev] || "IETF",
|
|
271
|
+
name: organization.nil? || organization.text.empty? ? "IETF" : organization.text,
|
|
272
|
+
abbreviation: organization.nil? ? "IETF" : (organization[:abbrev] || "IETF"),
|
|
273
273
|
)
|
|
274
274
|
RelatonBib::Affiliation.new organization: org
|
|
275
275
|
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: 0.12.
|
|
4
|
+
version: 0.12.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-03-
|
|
11
|
+
date: 2020-03-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: debase
|