relaton-ietf 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3651e6424d875521f5460fcfe63b3de8607b7e20a97af92a13ecab7594557965
4
- data.tar.gz: 986bbf087fa8e7b4c9fc1fa2ca44867093f54a5c7e181f8ed0bf72719ef2a58b
3
+ metadata.gz: e4a4d2c8d3326188837349cf1ef36ef379aac0c41d2ef5a7ccf99fd51e238178
4
+ data.tar.gz: 4accec068cabba89b8d7ed55607032a44181e312b6089be4aa1672c1ffa4cbd5
5
5
  SHA512:
6
- metadata.gz: 3b1de5bfa3d2922e36246b700ef5d8c8ba3897cb313c53c4023e4e3647c2407c18566e0c284b5967c476737270a49f3f8489fbe9fe6caf669cd2fc16c5e208cc
7
- data.tar.gz: f0aef9420cf1dc1d24f309ecd9265f85b021361516df0a37827a0c7a5f7dd5fd91df715ed49105d80f133e1cd305980a886c2b8b9f65b7abf0c118c75c46344f
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
@@ -1,3 +1,3 @@
1
1
  module RelatonIetf
2
- VERSION = "0.12.0".freeze
2
+ VERSION = "0.12.1".freeze
3
3
  end
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.0
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-30 00:00:00.000000000 Z
11
+ date: 2020-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debase