relaton-omg 1.7.1 → 1.7.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_omg/scrapper.rb +2 -2
- data/lib/relaton_omg/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: 4c7e08c4add6f0f5150556bf793d3d961a331c80503b8f41a7726121b0fea786
|
4
|
+
data.tar.gz: 4e066aec7d3c4080aeccf1ee1135149111aa278ee52f93f57c7d25ef4de18601
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 411fd23fcc561c99b2dfecbc9856beb998ec93aeb1bb6b44f6126cd91badf2c327e12280e65c61cfb4ece06d26c26bef225fcdbc6fe27249ef07ac92d7648de3
|
7
|
+
data.tar.gz: 7f6b7c64a593c1e736dd8593a2dae66a932ec248dba59bd8a6cc6a5c3de8bbaed49c2dea75601ba98722a7c90094944a25040ec300c28fb1ebc941ae3a77261b
|
data/lib/relaton_omg/scrapper.rb
CHANGED
@@ -60,7 +60,7 @@ module RelatonOmg
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def fetch_abstract(doc)
|
63
|
-
content = doc.at('//section[@id="document-metadata"]/p').text
|
63
|
+
content = doc.at('//section[@id="document-metadata"]/div/div/p').text
|
64
64
|
[{ content: content, language: "en", script: "Latn" }]
|
65
65
|
end
|
66
66
|
|
@@ -69,7 +69,7 @@ module RelatonOmg
|
|
69
69
|
end
|
70
70
|
|
71
71
|
def version(doc)
|
72
|
-
doc.at('//dt[.="Version:"]/following-sibling::dd/p/
|
72
|
+
doc.at('//dt[.="Version:"]/following-sibling::dd/p/span').text
|
73
73
|
end
|
74
74
|
|
75
75
|
def fetch_date(doc)
|
data/lib/relaton_omg/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-omg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.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-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|