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 +4 -4
- data/lib/relaton_ieee/scrapper.rb +3 -1
- data/lib/relaton_ieee/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae6ce7435bdf251b1180ba075e3585f7075c289ab5ad58bbf7e26706d3fe10fe
|
4
|
+
data.tar.gz: b6475b2c93336560e490fea100879389d4323a7854180114d724443af0332e52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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]
|
data/lib/relaton_ieee/version.rb
CHANGED