relaton-cie 1.14.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +1 -0
- data/.github/workflows/release.yml +5 -3
- data/.gitignore +1 -0
- data/.rubocop.yml +1 -1
- data/Gemfile +6 -0
- data/README.adoc +2 -2
- data/grammars/basicdoc.rng +0 -1
- data/grammars/biblio.rng +13 -3
- data/lib/relaton_cie/data_fetcher.rb +72 -31
- data/lib/relaton_cie/processor.rb +7 -0
- data/lib/relaton_cie/scrapper.rb +7 -3
- data/lib/relaton_cie/version.rb +1 -1
- data/lib/relaton_cie.rb +3 -0
- data/relaton_cie.gemspec +6 -11
- metadata +27 -82
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5734bdd3bda68a01b807d6852a31d7baca1c5e881beb0920586dcbf5f8a86304
|
4
|
+
data.tar.gz: adae1acf15433e788fc25eb4d1aa96a02acecdf83fae8eff884e26ade4d54363
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 673fa336c8c794796b9c0b12619b3c16ff2ec0440e428a685892209e8d517d7abac4bf9f5ae838ca2d77c31fe0c711edbcd43f9be861175b72580875e62769d5
|
7
|
+
data.tar.gz: '08387ec9150fd753c355c4fa9a5abab994301698b56bf2a12c1918511cad9fbdc991f1f4c72f407bf996fd978608f09fb5ee6c1fac2c408a8ef953b6acac8e84'
|
data/.github/workflows/rake.yml
CHANGED
@@ -7,11 +7,13 @@ on:
|
|
7
7
|
inputs:
|
8
8
|
next_version:
|
9
9
|
description: |
|
10
|
-
Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
|
10
|
+
Next release version. Possible values: x.y.z, major, minor, patch (or pre|rc|etc).
|
11
|
+
Also, you can pass 'skip' to skip 'git tag' and do 'gem push' for the current version
|
11
12
|
required: true
|
12
13
|
default: 'skip'
|
13
|
-
|
14
|
-
|
14
|
+
repository_dispatch:
|
15
|
+
types: [ do-release ]
|
16
|
+
|
15
17
|
|
16
18
|
jobs:
|
17
19
|
release:
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/Gemfile
CHANGED
@@ -3,5 +3,11 @@ source "https://rubygems.org"
|
|
3
3
|
# Specify your gem's dependencies in relaton_cie.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
+
gem "equivalent-xml", "~> 0.6"
|
7
|
+
gem "pry-byebug"
|
6
8
|
gem "rake", "~> 13.0"
|
7
9
|
gem "rspec", "~> 3.0"
|
10
|
+
gem "ruby-jing"
|
11
|
+
gem "simplecov"
|
12
|
+
gem "vcr"
|
13
|
+
gem "webmock"
|
data/README.adoc
CHANGED
@@ -99,13 +99,13 @@ item = RelatonCie::XMLParser.from_xml File.read("spec/fixtures/bibdata.xml")
|
|
99
99
|
|
100
100
|
=== Fetch data
|
101
101
|
|
102
|
-
This gem uses the https://www.techstreet.com/cie/searches/31156444 dataset as one of data sources.
|
102
|
+
This gem uses the https://www.techstreet.com/cie/searches/31156444 dataset as one of the data sources.
|
103
103
|
|
104
104
|
The method `RelatonCie::DataFetcher.fetch(output: "data", format: "yaml")` fetches all the documents from the dataset and saves them to the `./data` folder in YAML format.
|
105
105
|
Arguments:
|
106
106
|
|
107
107
|
- `output` - folder to save documents (default './data').
|
108
|
-
- `format` - the format in which the documents are saved. Possible formats are: `yaml`, `xml` (default `yaml`).
|
108
|
+
- `format` - the format in which the documents are saved. Possible formats are: `yaml`, `xml`, `bibxml` (default `yaml`).
|
109
109
|
|
110
110
|
[source,ruby]
|
111
111
|
----
|
data/grammars/basicdoc.rng
CHANGED
data/grammars/biblio.rng
CHANGED
@@ -216,6 +216,9 @@
|
|
216
216
|
<optional>
|
217
217
|
<ref name="fullname"/>
|
218
218
|
</optional>
|
219
|
+
<zeroOrMore>
|
220
|
+
<ref name="credential"/>
|
221
|
+
</zeroOrMore>
|
219
222
|
<zeroOrMore>
|
220
223
|
<ref name="affiliation"/>
|
221
224
|
</zeroOrMore>
|
@@ -232,6 +235,11 @@
|
|
232
235
|
<ref name="FullNameType"/>
|
233
236
|
</element>
|
234
237
|
</define>
|
238
|
+
<define name="credential">
|
239
|
+
<element name="credential">
|
240
|
+
<text/>
|
241
|
+
</element>
|
242
|
+
</define>
|
235
243
|
<define name="FullNameType">
|
236
244
|
<choice>
|
237
245
|
<group>
|
@@ -305,7 +313,9 @@
|
|
305
313
|
<zeroOrMore>
|
306
314
|
<ref name="affiliationdescription"/>
|
307
315
|
</zeroOrMore>
|
308
|
-
<
|
316
|
+
<optional>
|
317
|
+
<ref name="organization"/>
|
318
|
+
</optional>
|
309
319
|
</element>
|
310
320
|
</define>
|
311
321
|
<define name="affiliationname">
|
@@ -1273,7 +1283,7 @@
|
|
1273
1283
|
<value>mergedInto</value>
|
1274
1284
|
<value>splits</value>
|
1275
1285
|
<value>splitInto</value>
|
1276
|
-
<value>
|
1286
|
+
<value>instanceOf</value>
|
1277
1287
|
<value>hasInstance</value>
|
1278
1288
|
<value>exemplarOf</value>
|
1279
1289
|
<value>hasExemplar</value>
|
@@ -1316,7 +1326,7 @@
|
|
1316
1326
|
<value>commentaryOf</value>
|
1317
1327
|
<value>hasCommentary</value>
|
1318
1328
|
<value>related</value>
|
1319
|
-
<value>
|
1329
|
+
<value>hasComplement</value>
|
1320
1330
|
<value>complementOf</value>
|
1321
1331
|
<value>obsoletes</value>
|
1322
1332
|
<value>obsoletedBy</value>
|
@@ -10,35 +10,64 @@ module RelatonCie
|
|
10
10
|
URL = "https://www.techstreet.com/cie/searches/31156444?page=1&per_page=100"
|
11
11
|
|
12
12
|
def initialize(output, format)
|
13
|
-
@agent = Mechanize.new
|
14
13
|
@output = output
|
15
14
|
@format = format
|
15
|
+
@files = []
|
16
|
+
@ext = format == "bibxml" ? "xml" : format
|
17
|
+
end
|
18
|
+
|
19
|
+
def agent
|
20
|
+
@agent ||= Mechanize.new
|
21
|
+
end
|
22
|
+
|
23
|
+
def index
|
24
|
+
@index ||= Relaton::Index.find_or_create :cie, file: "index-v1.yaml"
|
16
25
|
end
|
17
26
|
|
18
27
|
# @param hit [Nokogiri::HTML::Document]
|
19
28
|
# @param doc [Mechanize::Page]
|
20
29
|
# @return [Array<RelatonBib::DocumentIdentifier>]
|
21
|
-
def fetch_docid(hit, doc)
|
22
|
-
code = hit
|
30
|
+
def fetch_docid(hit, doc)
|
31
|
+
code, code2 = parse_code hit, doc
|
32
|
+
docid = [RelatonBib::DocumentIdentifier.new(type: "CIE", id: code, primary: true)]
|
33
|
+
if code2
|
34
|
+
type2 = code2.match(/\w+/).to_s
|
35
|
+
docid << RelatonBib::DocumentIdentifier.new(type: type2, id: code2.strip)
|
36
|
+
end
|
37
|
+
isbn = doc.at('//dt[contains(.,"ISBN")]/following-sibling::dd')
|
38
|
+
docid << RelatonBib::DocumentIdentifier.new(type: "ISBN", id: isbn.text.strip) if isbn
|
39
|
+
docid
|
40
|
+
end
|
41
|
+
|
42
|
+
def parse_code(hit, doc = nil)
|
43
|
+
code = hit.at("h3/a").text.strip.squeeze(" ").sub(/\u25b9/, "").gsub(" / ", "/")
|
23
44
|
c2idx = %r{(?:\(|/)(?<c2>(?:ISO|IEC)\s[^()]+)} =~ code
|
24
45
|
code = code[0...c2idx].strip if c2idx
|
46
|
+
[primary_code(code, doc), c2]
|
47
|
+
end
|
48
|
+
|
49
|
+
def primary_code(code, doc = nil)
|
25
50
|
/^(?<code1>[^(]+)(?:\((?<code2>\w+\d+,(?:\sPages)?[^)]+))?/ =~ code
|
26
|
-
if code1
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
elsif (pcode = doc.at('//dt[.="Product Code(s):"]/following-sibling::dd'))
|
31
|
-
c = "CIE #{pcode.text.strip.match(/[^,]+/)}"
|
51
|
+
if code1&.match?(/^CIE/)
|
52
|
+
parse_cie_code code1, code2, doc
|
53
|
+
elsif (pcode = doc&.at('//dt[.="Product Code(s):"]/following-sibling::dd'))
|
54
|
+
"CIE #{pcode.text.strip.match(/[^,]+/)}"
|
32
55
|
else
|
33
|
-
num = code.match(/(?<=\()\w{2}\d+,.+(?=\))/).to_s.gsub(/,(?=\s)/, "")
|
34
|
-
|
35
|
-
c = "CIE #{num}"
|
56
|
+
num = code.match(/(?<=\()\w{2}\d+,.+(?=\))/).to_s.gsub(/,(?=\s)/, "").gsub(/,(?=\S)/, " ")
|
57
|
+
"CIE #{num}"
|
36
58
|
end
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
59
|
+
end
|
60
|
+
|
61
|
+
def parse_cie_code(code1, code2, doc = nil) # rubocop:disable Metrics/CyclomaticComplexity
|
62
|
+
code = code1.size > 25 && code2 ? "CIE #{code2.sub(/,(\sPages)?/, '')}" : code1
|
63
|
+
add = doc&.at("//hgroup/h2")&.text&.match(/(Add)endum\s(\d+)$/)
|
64
|
+
return code unless add
|
65
|
+
|
66
|
+
"#{code} #{add[1]} #{add[2]}"
|
67
|
+
end
|
68
|
+
|
69
|
+
def fetch_docnumber(hit)
|
70
|
+
parse_code(hit).first.sub(/\w+\s/, "")
|
42
71
|
end
|
43
72
|
|
44
73
|
# @param doc [Mechanize::Page]
|
@@ -63,7 +92,7 @@ module RelatonCie
|
|
63
92
|
# @param doc [Mechanize::Page]
|
64
93
|
# @return [String]
|
65
94
|
def fetch_edition(doc)
|
66
|
-
doc.at('//dt[.="Edition:"]/following-sibling::dd')&.text&.match(/^\d+(?=th)/)&.to_s
|
95
|
+
doc.at('//dt[.="Edition:"]/following-sibling::dd')&.text&.match(/^\d+(?=(st|nd|rd|th))/)&.to_s
|
67
96
|
end
|
68
97
|
|
69
98
|
# @param doc [Mechanize::Page]
|
@@ -132,24 +161,32 @@ module RelatonCie
|
|
132
161
|
end
|
133
162
|
|
134
163
|
# @param bib [RelatonCie::BibliographicItem]
|
135
|
-
def write_file(bib)
|
164
|
+
def write_file(bib) # rubocop:disable Metrics/AbcSize,Metrics/MethodLength
|
136
165
|
id = bib.docidentifier[0].id.gsub(%r{[/\s\-:.]}, "_")
|
137
166
|
file = "#{@output}/#{id.upcase}.#{@format}"
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
167
|
+
if @files.include? file
|
168
|
+
warn "File #{file} exists. Docid: #{bib.docidentifier[0].id}"
|
169
|
+
warn "Link: #{bib.link.detect { |l| l.type == 'src' }.content}"
|
170
|
+
else @files << file
|
171
|
+
end
|
172
|
+
index.add_or_update bib.docidentifier[0].id, file
|
173
|
+
File.write file, content(bib), encoding: "UTF-8"
|
174
|
+
end
|
175
|
+
|
176
|
+
def content(bib)
|
177
|
+
case @format
|
178
|
+
when "xml" then bib.to_xml(bibdata: true)
|
179
|
+
when "yaml" then bib.to_hash.to_yaml
|
180
|
+
when "bibxml" then bib.to_bibxml
|
181
|
+
end
|
145
182
|
end
|
146
183
|
|
147
184
|
# @param hit [Nokogiri::HTML::Element]
|
148
185
|
def parse_page(hit) # rubocop:disable Metrics/AbcSize,Metrics/MethodLength
|
149
186
|
url = "https://www.techstreet.com#{hit.at('h3/a')[:href]}"
|
150
|
-
doc = time_req {
|
187
|
+
doc = time_req { agent.get url }
|
151
188
|
item = BibliographicItem.new(
|
152
|
-
type: "standard", link: fetch_link(url),
|
189
|
+
type: "standard", link: fetch_link(url), docnumber: fetch_docnumber(hit),
|
153
190
|
docid: fetch_docid(hit, doc), title: fetch_title(doc),
|
154
191
|
abstract: fetch_abstract(doc), date: fetch_date(doc),
|
155
192
|
edition: fetch_edition(doc), contributor: fetch_contributor(doc),
|
@@ -164,10 +201,14 @@ module RelatonCie
|
|
164
201
|
end
|
165
202
|
|
166
203
|
def fetch(url)
|
167
|
-
result = time_req {
|
204
|
+
result = time_req { agent.get url }
|
168
205
|
result.xpath("//li[@data-product]").each { |hit| parse_page hit }
|
169
206
|
np = result.at '//a[@class="next_page"]'
|
170
|
-
|
207
|
+
if np
|
208
|
+
fetch "https://www.techstreet.com#{np[:href]}"
|
209
|
+
else
|
210
|
+
index.save
|
211
|
+
end
|
171
212
|
end
|
172
213
|
|
173
214
|
def time_req
|
@@ -182,7 +223,7 @@ module RelatonCie
|
|
182
223
|
t1 = Time.now
|
183
224
|
puts "Started at: #{t1}"
|
184
225
|
|
185
|
-
FileUtils.
|
226
|
+
FileUtils.mkdir_p output
|
186
227
|
new(output, format).fetch URL
|
187
228
|
|
188
229
|
t2 = Time.now
|
@@ -47,5 +47,12 @@ module RelatonCie
|
|
47
47
|
def grammar_hash
|
48
48
|
@grammar_hash ||= ::RelatonCie.grammar_hash
|
49
49
|
end
|
50
|
+
|
51
|
+
#
|
52
|
+
# Remove index file
|
53
|
+
#
|
54
|
+
def remove_index_file
|
55
|
+
Relaton::Index.find_or_create(:cie, url: true, file: Scrapper::INDEX_FILE).remove_file
|
56
|
+
end
|
50
57
|
end
|
51
58
|
end
|
data/lib/relaton_cie/scrapper.rb
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
module RelatonCie
|
2
2
|
module Scrapper
|
3
|
-
ENDPOINT = "https://raw.githubusercontent.com/relaton/relaton-data-cie/master/
|
3
|
+
ENDPOINT = "https://raw.githubusercontent.com/relaton/relaton-data-cie/master/".freeze
|
4
|
+
INDEX_FILE = "index-v1.yaml".freeze
|
4
5
|
|
5
6
|
class << self
|
6
7
|
# @param code [String]
|
7
8
|
# @return [RelatonCie::BibliographicItem]
|
8
9
|
def scrape_page(code)
|
9
|
-
|
10
|
-
|
10
|
+
index = Relaton::Index.find_or_create :cie, url: "#{ENDPOINT}index-v1.zip", file: INDEX_FILE
|
11
|
+
row = index.search(code).min_by { |r| r[:id] }
|
12
|
+
return unless row
|
13
|
+
|
14
|
+
parse_page "#{ENDPOINT}#{row[:file]}"
|
11
15
|
rescue OpenURI::HTTPError => e
|
12
16
|
return if e.io.status.first == "404"
|
13
17
|
|
data/lib/relaton_cie/version.rb
CHANGED
data/lib/relaton_cie.rb
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
require "nokogiri"
|
2
2
|
require "open-uri"
|
3
|
+
# require "parslet"
|
4
|
+
require "relaton/index"
|
3
5
|
require "relaton_bib"
|
6
|
+
# require "relaton_bib/name_parser"
|
4
7
|
require "relaton_cie/version"
|
5
8
|
require "relaton_cie/bibliographic_item"
|
6
9
|
require "relaton_cie/cie_bibliography"
|
data/relaton_cie.gemspec
CHANGED
@@ -7,16 +7,16 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.email = ["open.source@ribose.com"]
|
8
8
|
|
9
9
|
spec.summary = <<~DESCRIPTION
|
10
|
-
RelatonEcma: retrieve CIE Standards for bibliographic use
|
10
|
+
RelatonEcma: retrieve CIE Standards for bibliographic use
|
11
11
|
using the BibliographicItem model.
|
12
12
|
DESCRIPTION
|
13
13
|
spec.description = <<~DESCRIPTION
|
14
|
-
RelatonEcma: retrieve CIE Standards for bibliographic use
|
14
|
+
RelatonEcma: retrieve CIE Standards for bibliographic use
|
15
15
|
using the BibliographicItem model.
|
16
16
|
DESCRIPTION
|
17
17
|
spec.homepage = "https://github.com/metanorma/relaton-cie"
|
18
18
|
spec.license = "BSD-2-Clause"
|
19
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
19
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
|
20
20
|
|
21
21
|
spec.metadata["homepage_uri"] = spec.homepage
|
22
22
|
|
@@ -29,13 +29,8 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
30
30
|
spec.require_paths = ["lib"]
|
31
31
|
|
32
|
-
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
33
|
-
spec.add_development_dependency "pry-byebug"
|
34
|
-
spec.add_development_dependency "ruby-jing"
|
35
|
-
spec.add_development_dependency "simplecov"
|
36
|
-
spec.add_development_dependency "vcr"
|
37
|
-
spec.add_development_dependency "webmock"
|
38
|
-
|
39
32
|
spec.add_dependency "mechanize", "~> 2.8.0"
|
40
|
-
spec.add_dependency "
|
33
|
+
spec.add_dependency "parslet", "~> 2.0.0"
|
34
|
+
spec.add_dependency "relaton-bib", "~> 1.16.0"
|
35
|
+
spec.add_dependency "relaton-index", "~> 0.2.0"
|
41
36
|
end
|
metadata
CHANGED
@@ -1,129 +1,74 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-cie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.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:
|
11
|
+
date: 2023-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: mechanize
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
type: :
|
19
|
+
version: 2.8.0
|
20
|
+
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: pry-byebug
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: ruby-jing
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: simplecov
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: vcr
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
26
|
+
version: 2.8.0
|
83
27
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
28
|
+
name: parslet
|
85
29
|
requirement: !ruby/object:Gem::Requirement
|
86
30
|
requirements:
|
87
|
-
- - "
|
31
|
+
- - "~>"
|
88
32
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
90
|
-
type: :
|
33
|
+
version: 2.0.0
|
34
|
+
type: :runtime
|
91
35
|
prerelease: false
|
92
36
|
version_requirements: !ruby/object:Gem::Requirement
|
93
37
|
requirements:
|
94
|
-
- - "
|
38
|
+
- - "~>"
|
95
39
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
40
|
+
version: 2.0.0
|
97
41
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
42
|
+
name: relaton-bib
|
99
43
|
requirement: !ruby/object:Gem::Requirement
|
100
44
|
requirements:
|
101
45
|
- - "~>"
|
102
46
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
47
|
+
version: 1.16.0
|
104
48
|
type: :runtime
|
105
49
|
prerelease: false
|
106
50
|
version_requirements: !ruby/object:Gem::Requirement
|
107
51
|
requirements:
|
108
52
|
- - "~>"
|
109
53
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
54
|
+
version: 1.16.0
|
111
55
|
- !ruby/object:Gem::Dependency
|
112
|
-
name: relaton-
|
56
|
+
name: relaton-index
|
113
57
|
requirement: !ruby/object:Gem::Requirement
|
114
58
|
requirements:
|
115
59
|
- - "~>"
|
116
60
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
61
|
+
version: 0.2.0
|
118
62
|
type: :runtime
|
119
63
|
prerelease: false
|
120
64
|
version_requirements: !ruby/object:Gem::Requirement
|
121
65
|
requirements:
|
122
66
|
- - "~>"
|
123
67
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
125
|
-
description:
|
126
|
-
|
68
|
+
version: 0.2.0
|
69
|
+
description: |
|
70
|
+
RelatonEcma: retrieve CIE Standards for bibliographic use
|
71
|
+
using the BibliographicItem model.
|
127
72
|
email:
|
128
73
|
- open.source@ribose.com
|
129
74
|
executables: []
|
@@ -162,7 +107,7 @@ licenses:
|
|
162
107
|
- BSD-2-Clause
|
163
108
|
metadata:
|
164
109
|
homepage_uri: https://github.com/metanorma/relaton-cie
|
165
|
-
post_install_message:
|
110
|
+
post_install_message:
|
166
111
|
rdoc_options: []
|
167
112
|
require_paths:
|
168
113
|
- lib
|
@@ -170,16 +115,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
170
115
|
requirements:
|
171
116
|
- - ">="
|
172
117
|
- !ruby/object:Gem::Version
|
173
|
-
version: 2.
|
118
|
+
version: 2.7.0
|
174
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
175
120
|
requirements:
|
176
121
|
- - ">="
|
177
122
|
- !ruby/object:Gem::Version
|
178
123
|
version: '0'
|
179
124
|
requirements: []
|
180
|
-
rubygems_version: 3.
|
181
|
-
signing_key:
|
125
|
+
rubygems_version: 3.3.26
|
126
|
+
signing_key:
|
182
127
|
specification_version: 4
|
183
|
-
summary: 'RelatonEcma: retrieve CIE Standards for bibliographic use
|
128
|
+
summary: 'RelatonEcma: retrieve CIE Standards for bibliographic use using the BibliographicItem
|
184
129
|
model.'
|
185
130
|
test_files: []
|