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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1966b5eb0acc358cee2af36c4ff33104e2174a85cdaa95a28293f6d949b57758
4
- data.tar.gz: 722d7543449cb075e437147d5a13ac7bf24eac473451e67cb18445339c900ae4
3
+ metadata.gz: bb50ff6395db8ee59c85886469f311e057fb4aaa2f3b5768c9024c6018ca7efe
4
+ data.tar.gz: 0a0c76b915025b5e5bb59dd7ec75c26e385fb08bb8cc6ef7db0ea0bfc3b9b497
5
5
  SHA512:
6
- metadata.gz: 0e011446f93dddbc0c3395e70ac9789e2377fa0cb90061972b135c62854e8c3998d9f392d2dd40014c375e10fd5fe1ad6e20372554154342dedc6506938aedf9
7
- data.tar.gz: '009732dfec3d23d8b1d40b4ff9ec46f46a3b21f0c6e07ef9f0963aaf2cb73fa52e8e0ed99048ebb96b03fa8a44b5c35280740e0ac801bb5c37b22118157d061c'
6
+ metadata.gz: 6e51155ab65620c5ad22864a63a1714c423ea9b5f9459de705cdff2c3fc95396a27b4bd2bd9f4008c92f429cdb465b79970132b01d23e9d20bbe0859634423d5
7
+ data.tar.gz: cc4aff3ea8e04838cc2cb1a695bbe45c52b94a94d2cdcc712f0b3311a44584298ae182f173176011fc622c2037ac3961cd79ba3a965e2008c816dfdfb79a96b9
data/bin/bundle CHANGED
@@ -47,7 +47,7 @@ m = Module.new do
47
47
  def lockfile
48
48
  lockfile =
49
49
  case File.basename(gemfile)
50
- when "gems.rb" then gemfile.sub(/\.rb$/, gemfile)
50
+ when "gems.rb" then gemfile.sub(/\.rb$/, ".locked")
51
51
  else "#{gemfile}.lock"
52
52
  end
53
53
  File.expand_path(lockfile)
@@ -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::Stage.new(harmonized_code: stage_code(doc))
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])
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RelatonIso
4
- VERSION = "1.15.0"
4
+ VERSION = "1.15.1"
5
5
  end
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.4.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.0
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-02-04 00:00:00.000000000 Z
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.4.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.4.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