relaton-ietf 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton_ietf/scrapper.rb +7 -2
- 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: ed5846b470eedb791848d99a33c6401dc9b4867d9222ea60270969a987040435
|
4
|
+
data.tar.gz: da3b3ca9820a4fd37fe4190211ca4bccf5e1ba77dd5d3fc255c12464f8584efb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0870cba19a84bb92de960ba5dd54e396d784cd7b00b207bfa80a2fb6c5b7baa4117d8ffff6200e4921b009c743f119584254750e964c827594e82ba3f1e3eae7'
|
7
|
+
data.tar.gz: bce648a595ee447883dc5c97aa24b57f35f30000e063798d1b287e36ea284e818de44eae9efcf7b7d3410096c3f357c02719a437760ed8b0e7b5d9ffa2b44462
|
@@ -206,10 +206,15 @@ module RelatonIetf
|
|
206
206
|
# @return [Array<Hash{Symbol=>RelatonBib::Organization,Symbol=>Array<String>}>]
|
207
207
|
def organizations(reference)
|
208
208
|
publisher = { entity: new_org, role: [type: "publisher"] }
|
209
|
-
reference.xpath("./seriesinfo").reduce([publisher]) do |mem, si|
|
209
|
+
orgs = reference.xpath("./seriesinfo").reduce([publisher]) do |mem, si|
|
210
210
|
next mem unless si[:stream]
|
211
211
|
|
212
|
-
mem << { entity: new_org(si[:stream]), role: [type: "author"] }
|
212
|
+
mem << { entity: new_org(si[:stream], nil), role: [type: "author"] }
|
213
|
+
end
|
214
|
+
orgs + reference.xpath(
|
215
|
+
"front/author/organization[string-length(.) > 0]",
|
216
|
+
).map do |org|
|
217
|
+
{ entity: new_org(org.text, nil), role: [type: "author"] }
|
213
218
|
end
|
214
219
|
end
|
215
220
|
|
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: 1.1.
|
4
|
+
version: 1.1.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-06-
|
11
|
+
date: 2020-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: debase
|