relaton-ietf 1.1.2 → 1.1.3

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: e3a2c7e75c90013ba322c307abb3ac5ee84072750addf1973e7dbcadb4db1cea
4
- data.tar.gz: 4eacd7b746d3b9b9445a05149e9d17b7cbce03e20e002acbd7d12ae571c3249a
3
+ metadata.gz: 3006ceb252c3088fecd5336bf823174607e924b833e16a6d2fe4576ea2c7bd96
4
+ data.tar.gz: 168f027b083c485350ceb59337702f99559da99408b4ea62f19306ac29400368
5
5
  SHA512:
6
- metadata.gz: f814beba0b17dd369bfd187f73c4d9fd7d43d8c6714f642273096933342906eaefbdc37ec6f010b25849bde46caf2a60580f630285161ff75eddb0f83a0b2de6
7
- data.tar.gz: c125f98ac22b91247b529c2a33b7e44d85d0924fa87202b20fb32f66169b915c51d937e33e4c5735d1607b2dad0c6bba217a9764ff9c1b073a916a0794236e51
6
+ metadata.gz: 64fc796033522eb10b764b741fba523ba11fcb5fd4c9806df0cb2156bbe76bff150dec088c6e031d2ff318c87bb16560ebb09479998bc92d8d4205ae5f6ba12d
7
+ data.tar.gz: 14d06c4354e3b2a61ae946ca819bbbe56aa7f5cfabba7ffe4d57dbf68e9112ef3828dc0d755969bba0460a38cd7e0c90356a74c1dfa289b8cfed0621580b3fa5
@@ -330,7 +330,8 @@ module RelatonIetf
330
330
  # @return [Array<RelatonBib::DocumentIdentifier>]
331
331
  #
332
332
  def docids(reference, ver)
333
- id = (reference[:anchor] || reference[:docName]).sub(/^(RFC)/, "\\1 ")
333
+ id = (reference[:anchor] || reference[:docName] || reference[:number]).
334
+ sub(/^(RFC)/, "\\1 ")
334
335
  ret = []
335
336
  ret << RelatonBib::DocumentIdentifier.new(type: "IETF", id: id)
336
337
  if (id = reference[:anchor])
@@ -1,3 +1,3 @@
1
1
  module RelatonIetf
2
- VERSION = "1.1.2".freeze
2
+ VERSION = "1.1.3".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: 1.1.2
4
+ version: 1.1.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: 2020-06-09 00:00:00.000000000 Z
11
+ date: 2020-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debase