relaton-bsi 1.8.1 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton_bsi/scrapper.rb +3 -2
- data/lib/relaton_bsi/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: 13efd56cc3a6385fd5c2ce36e2d75ff8cd95b1710deaee698a7b2054579611c2
|
4
|
+
data.tar.gz: e18d0accb3b0fb2cdde654641a518b1fb11f89048511f679410bc3c0eef79238
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d7c353a369903ef533bdd73e096aa9a977927cd41e5e604824c9cbd2fe92d343a8e5e5963eedc06b989eb8464bea3715ef6df2d95d29a15b6bd0aff19b42aad
|
7
|
+
data.tar.gz: c2ffe98c30cf1f6962310c959b72f19a071ee0ed81f6dfce530a56f42bf77c635322f2a617cf78b5d873fcb32da5e1909c4c8d51ec9a64a033539e49494dd7a5
|
data/lib/relaton_bsi/scrapper.rb
CHANGED
@@ -36,8 +36,9 @@ module RelatonBsi
|
|
36
36
|
# @param doc [Mechanize::Page]
|
37
37
|
# @return [Array<RelatonIsobib::Ics>]
|
38
38
|
def fetch_ics(doc)
|
39
|
-
|
40
|
-
|
39
|
+
doc.xpath("//tr[th='ICS']/td/node()").map(&:text).reject { |a| a.empty? }.map do |ics|
|
40
|
+
RelatonIsoBib::Ics.new(ics)
|
41
|
+
end
|
41
42
|
end
|
42
43
|
|
43
44
|
# Fetch abstracts.
|
data/lib/relaton_bsi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-bsi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: equivalent-xml
|