relaton-iso 1.15.0 → 1.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/bundle +1 -1
- data/lib/relaton_iso/scrapper.rb +2 -2
- data/lib/relaton_iso/version.rb +1 -1
- data/relaton_iso.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb50ff6395db8ee59c85886469f311e057fb4aaa2f3b5768c9024c6018ca7efe
|
4
|
+
data.tar.gz: 0a0c76b915025b5e5bb59dd7ec75c26e385fb08bb8cc6ef7db0ea0bfc3b9b497
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e51155ab65620c5ad22864a63a1714c423ea9b5f9459de705cdff2c3fc95396a27b4bd2bd9f4008c92f429cdb465b79970132b01d23e9d20bbe0859634423d5
|
7
|
+
data.tar.gz: cc4aff3ea8e04838cc2cb1a695bbe45c52b94a94d2cdcc712f0b3311a44584298ae182f173176011fc622c2037ac3961cd79ba3a965e2008c816dfdfb79a96b9
|
data/bin/bundle
CHANGED
data/lib/relaton_iso/scrapper.rb
CHANGED
@@ -99,7 +99,7 @@ module RelatonIso
|
|
99
99
|
# @return [Array<RelatonBib::DocumentIdentifier>]
|
100
100
|
#
|
101
101
|
def fetch_relaton_docids(doc, pubid)
|
102
|
-
pubid.stage ||= Pubid::Iso::
|
102
|
+
pubid.stage ||= Pubid::Iso::Identifier.parse_stage(stage_code(doc))
|
103
103
|
[
|
104
104
|
RelatonIso::DocumentIdentifier.new(id: pubid, type: "ISO", primary: true),
|
105
105
|
RelatonIso::DocumentIdentifier.new(id: pubid, type: "URN"),
|
@@ -118,7 +118,7 @@ module RelatonIso
|
|
118
118
|
langs = languages(doc, lang).reduce([]) do |s, l|
|
119
119
|
# Don't need to get page for en. We already have it.
|
120
120
|
d = l[:path] ? get_page(l[:path])[0] : doc
|
121
|
-
unless d.at("//h5[@class='help-block']"\
|
121
|
+
unless d.at("//h5[@class='help-block']" \
|
122
122
|
"[.='недоступно на русском языке']")
|
123
123
|
s << l
|
124
124
|
titles += fetch_title(d, l[:lang])
|
data/lib/relaton_iso/version.rb
CHANGED
data/relaton_iso.gemspec
CHANGED
@@ -39,6 +39,6 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.add_development_dependency "webmock"
|
40
40
|
|
41
41
|
spec.add_dependency "algolia"
|
42
|
-
spec.add_dependency "pubid-iso", "~> 0.
|
42
|
+
spec.add_dependency "pubid-iso", "~> 0.5.0"
|
43
43
|
spec.add_dependency "relaton-iso-bib", "~> 1.14.0"
|
44
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-iso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.15.
|
4
|
+
version: 1.15.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|
@@ -184,14 +184,14 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: 0.
|
187
|
+
version: 0.5.0
|
188
188
|
type: :runtime
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 0.
|
194
|
+
version: 0.5.0
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: relaton-iso-bib
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|