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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ff0255fdcc11229f8bc0b5a401489235b437e8db134d51040755721654257e0
4
- data.tar.gz: 81aaff0319047cad7841b8dc1e7454fd8cd1e86464422c895e6d42112155f8c2
3
+ metadata.gz: 4c7e08c4add6f0f5150556bf793d3d961a331c80503b8f41a7726121b0fea786
4
+ data.tar.gz: 4e066aec7d3c4080aeccf1ee1135149111aa278ee52f93f57c7d25ef4de18601
5
5
  SHA512:
6
- metadata.gz: 77d8ed9f152ba3c1b14401396ad3b7e64af93bd9854ccddedb17a3e476841df7b638faf1ea2bcdfc980c537decda19fb865a0ab446fce45d7d7896d57e62b3ee
7
- data.tar.gz: 1708b0080cabdcbadad991edeb5cb793a407ba8dddf30792eea81a6ecc30754ee5c2f315539d337bb22a0d88647c66d2274f39e04fa00fb25014763659facb91
6
+ metadata.gz: 411fd23fcc561c99b2dfecbc9856beb998ec93aeb1bb6b44f6126cd91badf2c327e12280e65c61cfb4ece06d26c26bef225fcdbc6fe27249ef07ac92d7648de3
7
+ data.tar.gz: 7f6b7c64a593c1e736dd8593a2dae66a932ec248dba59bd8a6cc6a5c3de8bbaed49c2dea75601ba98722a7c90094944a25040ec300c28fb1ebc941ae3a77261b
@@ -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/text()').text.strip
72
+ doc.at('//dt[.="Version:"]/following-sibling::dd/p/span').text
73
73
  end
74
74
 
75
75
  def fetch_date(doc)
@@ -1,3 +1,3 @@
1
1
  module RelatonOmg
2
- VERSION = "1.7.1".freeze
2
+ VERSION = "1.7.2".freeze
3
3
  end
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.1
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-03-18 00:00:00.000000000 Z
11
+ date: 2021-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug