relaton-iso-bib 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: 240dcef5e33b4150ea0b8dbd7e5fca3d33b9142272444bec69f563465fef421f
4
- data.tar.gz: 991fc22a605a89a0e60cf1e0fdcda36d762dbd009423b2a72f6c84eb31a44ca3
3
+ metadata.gz: 3164718f83ee9882b93bccec875b4bca32ccf92f72ee055adb253ec7a8437a8c
4
+ data.tar.gz: 31a9a78b0e2897dd9f7c812a0f337e8a54f96fe497388466ae9a3cac0aa42bbe
5
5
  SHA512:
6
- metadata.gz: e4127f04b3be531d2bfd44faaa8c2d7df59c67009175ca06d52912cc0e0f4bac19a971ce60dba7d19f59abf6d178b8cc019035080b809bb92d0b123f155d7bf4
7
- data.tar.gz: 45e28f577e029540ae0baaab72fc3cc2e1eb2fae114f71178d1f503a6c9c0ad9a4764379bcdd31869638eda4c831022779693064d55874d13b786f5a0924137e
6
+ metadata.gz: df071df1a785e778df88a3503fa932c9c7ec51500d68a243c984a2a7b8e3be91a18490a56571c0006249d306d78be03804b71056fd6788b8b02f4edec5ca3dec
7
+ data.tar.gz: 2dc8e02906061838f9feb0cb8441697388732a715c1068513fbbd568a4e70ac9475060d1d2ff606f5d2ce5845b7e718cba34c4efe83d7e01c0151edaf9576623
@@ -1,3 +1,3 @@
1
1
  module RelatonIsoBib
2
- VERSION = "1.18.0".freeze
2
+ VERSION = "1.18.1".freeze
3
3
  end
@@ -26,6 +26,10 @@ module RelatonIsoBib
26
26
  IsoBibliographicItem.new(**item_hash)
27
27
  end
28
28
 
29
+ def create_doctype(type)
30
+ DocumentType.new type: type.text, abbreviation: type[:abbreviation]
31
+ end
32
+
29
33
  # @param ext [Nokogiri::XML::Element]
30
34
  # @return [RelatonIsoBib::StructuredIdentifier]
31
35
  def fetch_structuredidentifier(ext)
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
27
27
  spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
28
28
 
29
29
  spec.add_dependency "isoics", "~> 0.1.6"
30
- spec.add_dependency "relaton-bib", "~> 1.18.0"
30
+ spec.add_dependency "relaton-bib", "~> 1.18.2"
31
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-iso-bib
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-06 00:00:00.000000000 Z
11
+ date: 2024-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: isoics
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.18.0
33
+ version: 1.18.2
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.18.0
40
+ version: 1.18.2
41
41
  description: 'RelatonIsoBib: Ruby ISOXMLDOC impementation.'
42
42
  email:
43
43
  - open.source@ribose.com