relaton-omg 1.19.1 → 1.20.0
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/scraper.rb +4 -2
- data/lib/relaton_omg/version.rb +1 -1
- data/relaton_omg.gemspec +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6720227d3dc41f380b88449bada2f7a00d2aa16f2ce5ca503087a40c18186857
|
4
|
+
data.tar.gz: 2b2204b0ad97ae855fa0a3aee674a1fd4933f468915830b24b7332a4620820de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d90f4403a5bd6ac8ea625e2beea5833831ab7d67d7a504cab7bd127fe19c4984402b84c4c51bcd3b5d38e146986d32c70e8574c2a315c073d8ab09ce677635d
|
7
|
+
data.tar.gz: 873b42a44f91919d5fa762d8277800ae4fb5e1de282022a378b0fe36ba327b96282c80e3f7dd02598f44f6b76e3c0e7213570acbf5f6533600f88667eab2d066
|
data/lib/relaton_omg/scraper.rb
CHANGED
@@ -115,8 +115,10 @@ module RelatonOmg
|
|
115
115
|
ver = row.at("td").text
|
116
116
|
unless ver == doc_version
|
117
117
|
acronym = row.at("td[3]/a")[:href].split("/")[4]
|
118
|
-
|
119
|
-
|
118
|
+
id = ["OMG", acronym, ver].join(" ")
|
119
|
+
fref = RelatonBib::FormattedRef.new content: id
|
120
|
+
docid = RelatonBib::DocumentIdentifier.new id: id, type: "OMG"
|
121
|
+
bibitem = OmgBibliographicItem.new formattedref: fref, docid: [docid]
|
120
122
|
mem << { type: "obsoletes", bibitem: bibitem }
|
121
123
|
end
|
122
124
|
mem
|
data/lib/relaton_omg/version.rb
CHANGED
data/relaton_omg.gemspec
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.
|
4
|
+
version: 1.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: base64
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.20.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.20.0
|
41
41
|
description: 'RelatonOmg: retrieve OMG Standards for bibliographic using the IsoBibliographicItem
|
42
42
|
model'
|
43
43
|
email:
|
@@ -80,7 +80,7 @@ licenses:
|
|
80
80
|
metadata:
|
81
81
|
homepage_uri: https://github.com/relaton/relaton-ogn
|
82
82
|
source_code_uri: https://github.com/relaton/relaton-ogn
|
83
|
-
post_install_message:
|
83
|
+
post_install_message:
|
84
84
|
rdoc_options: []
|
85
85
|
require_paths:
|
86
86
|
- lib
|
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
96
|
version: '0'
|
97
97
|
requirements: []
|
98
98
|
rubygems_version: 3.3.27
|
99
|
-
signing_key:
|
99
|
+
signing_key:
|
100
100
|
specification_version: 4
|
101
101
|
summary: 'RelatonOmg: retrieve OMG Standards for bibliographic using the IsoBibliographicItem
|
102
102
|
model'
|