relaton-ieee 1.12.2 → 1.12.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: 2c4811b6bf08c0df0c59f408c0f730db58f8dbe0e40fac0935195ad29e86b139
4
- data.tar.gz: 887eb9b829a9d15ad132d89f9776657459e185cb0bab6776bc436e4dcccb0f32
3
+ metadata.gz: ae6ce7435bdf251b1180ba075e3585f7075c289ab5ad58bbf7e26706d3fe10fe
4
+ data.tar.gz: b6475b2c93336560e490fea100879389d4323a7854180114d724443af0332e52
5
5
  SHA512:
6
- metadata.gz: 62638acbd29676f6c377bf6b27019bb8920139f9aa73a18f54bd7b4d6915bc0eeecf270273abfc1301438d8f49568f415e52e1350a349990d8bdecdec48958c2
7
- data.tar.gz: 73c063f312988a3d1c32f0d17fc90f8fb4c5bd47246d4c175bfe444f21b2c24626e51fed83eac12b82e0a747a54ee587bc85df2e869d1708e378ec9b1d14ca9b
6
+ metadata.gz: 7a630fdfff66077109cbbbad786783488c79a687de9d60b75b1ed42b03a46ab98c11542abbdbb7497dbe3220183d1512f7457339edfad3b459591fe2a3c06676
7
+ data.tar.gz: f2027e366b04f6cc59c0e219526082d9f171d22fdbbf91c42077b07e0c37a8508a715f8fb9eb7ae55c50eaf8974970fff15b7f6ade8389438061aaceace766fc
@@ -39,7 +39,9 @@ module RelatonIeee
39
39
  # @param ref [String]
40
40
  # @return [Array<RelatonBib::DocumentIdentifier>]
41
41
  def fetch_docid(ref)
42
- [RelatonBib::DocumentIdentifier.new(id: ref, type: "IEEE", primary: true)]
42
+ args = { id: ref, type: "IEEE", primary: true }
43
+ args[:scope] = "trademark" if ref.match?(/^IEEE\s(?:Std\s)?(?:802|2030)/)
44
+ [RelatonBib::DocumentIdentifier.new(**args)]
43
45
  end
44
46
 
45
47
  # @param url [String]
@@ -1,3 +1,3 @@
1
1
  module RelatonIeee
2
- VERSION = "1.12.2".freeze
2
+ VERSION = "1.12.3".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-ieee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.2
4
+ version: 1.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.