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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5802ffdfacc54fe707fc64fdbe24e4ec061e6ebd3a7f6b57153ea51d92b2911a
4
- data.tar.gz: 926dac3e09d99d4fdad890b077a5c0d1896d85e3ae0774ce7ffbd32d30c51fec
3
+ metadata.gz: 6720227d3dc41f380b88449bada2f7a00d2aa16f2ce5ca503087a40c18186857
4
+ data.tar.gz: 2b2204b0ad97ae855fa0a3aee674a1fd4933f468915830b24b7332a4620820de
5
5
  SHA512:
6
- metadata.gz: 17e3c1f34234220b282841d414563eb1dfaf42c6b8a54e496f5fdfb707525462b67db2a2a331b4b7772454af2bacda72e7cf4da0ed7ff901358b042cf3152c73
7
- data.tar.gz: 1abf2a7c23473ba8b110ac4f61c93c3c7181d10c9dd7e81073aef612c542183321806d71a24d3fb9168e99aa46373b44c15608f956e4392c310c86e3cafcdeab
6
+ metadata.gz: 6d90f4403a5bd6ac8ea625e2beea5833831ab7d67d7a504cab7bd127fe19c4984402b84c4c51bcd3b5d38e146986d32c70e8574c2a315c073d8ab09ce677635d
7
+ data.tar.gz: 873b42a44f91919d5fa762d8277800ae4fb5e1de282022a378b0fe36ba327b96282c80e3f7dd02598f44f6b76e3c0e7213570acbf5f6533600f88667eab2d066
@@ -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
- fref = RelatonBib::FormattedRef.new content: "OMG #{acronym} #{ver}"
119
- bibitem = OmgBibliographicItem.new formattedref: fref
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
@@ -1,3 +1,3 @@
1
1
  module RelatonOmg
2
- VERSION = "1.19.1".freeze
2
+ VERSION = "1.20.0".freeze
3
3
  end
data/relaton_omg.gemspec CHANGED
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
27
27
  spec.require_paths = ["lib"]
28
28
 
29
29
  spec.add_dependency "base64"
30
- spec.add_dependency "relaton-bib", "~> 1.19.0"
30
+ spec.add_dependency "relaton-bib", "~> 1.20.0"
31
31
  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.19.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-08-02 00:00:00.000000000 Z
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.19.0
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.19.0
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'