relaton-iso 1.18.0 → 1.18.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: f548ab6bc9b00f812b8fa6249eb6753aceb8d33e2df1352e9fc264cc9b7b1dca
4
- data.tar.gz: b62f190758d743eee0de5697b4890c70741dec6dc266e32ccab8e944bf60b7c7
3
+ metadata.gz: a483674664dc939f3ccf8b46d36e275db5426d9c164e0ec1a799ea321cb47694
4
+ data.tar.gz: 207870aaa9b1d89dc5dddd5922aac0b1c77c43b8bd0be292b2ffda7ccaeb712b
5
5
  SHA512:
6
- metadata.gz: 16853aecb9103932704a4464ee19c864dcf6c0eb26081961a31c172b0ce14df4f13136e485af299ee99b81aba0034f237fbfe392d5885ca82cc8ee0bce534019
7
- data.tar.gz: 3e4b208e2497fb136aa5e5b8dffe5308649c0cb9146c2f4a6f3387281ec6798972f4af2ee7afdb55482c0ba4819d9895705f42ce9cfa68ae93b418fc3a8d256b
6
+ metadata.gz: 39b94b85564592a94934e449d92ebc7fe5b90d536cba83947d179791b57fda3618a47853e1776822498e2654fa910c2ddc71b126c539655794917d790bd8f56a
7
+ data.tar.gz: f34353074f0e0eb354b14b029726a964845fffbcf059bf6b9c5ef6e6a2cf0921dc84a25afc092c2b2da4088d3b833392c03dd20054b83195f40b16485a9ac04c
@@ -113,7 +113,7 @@ module RelatonIso
113
113
  # @return [String] English reference identifier
114
114
  #
115
115
  def isoref(pubid)
116
- params = pubid.get_params.reject { |k, _| k == :typed_stage }
116
+ params = pubid.to_h.reject { |k, _| k == :typed_stage }
117
117
  Pubid::Iso::Identifier.create(language: "en", **params).to_s(format: :ref_num_short)
118
118
  end
119
119
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RelatonIso
4
- VERSION = "1.18.0"
4
+ VERSION = "1.18.1"
5
5
  end
data/relaton_iso.gemspec CHANGED
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
27
27
  spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
28
28
 
29
29
  spec.add_dependency "algolia", "~> 2.3.0"
30
- spec.add_dependency "pubid-iso", "~> 0.6.0"
30
+ spec.add_dependency "pubid", "~> 0.1.1"
31
31
  spec.add_dependency "relaton-iso-bib", "~> 1.18.0"
32
32
  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.18.0
4
+ version: 1.18.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: 2024-01-07 00:00:00.000000000 Z
11
+ date: 2024-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: algolia
@@ -25,19 +25,19 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.3.0
27
27
  - !ruby/object:Gem::Dependency
28
- name: pubid-iso
28
+ name: pubid
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.6.0
33
+ version: 0.1.1
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: 0.6.0
40
+ version: 0.1.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: relaton-iso-bib
43
43
  requirement: !ruby/object:Gem::Requirement