relaton-bib 1.18.1 → 1.18.2

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: 553a5db6c205eb58d6eb143ccb607b740a6e2a64520b8f1d46fb403294bbbadd
4
- data.tar.gz: ce2a0d00f513a565c39f760c60cdf452bc3521b033f233a7c16b7e0beda9debe
3
+ metadata.gz: 710fee1ddbf381ee7e836db9a9a701359e395bf76206f39ff6ce56a61447f1c4
4
+ data.tar.gz: cc3d05752d4b4a18c735cf52a50a6c8df69380962845caf179c404eaae18eea4
5
5
  SHA512:
6
- metadata.gz: f550ee510f6f7b7e854c3c1045397de858fe20451d6d1adee25fc8f0d63734303516ee8c6be2f34c994d400e192752e4f44d4abc28e820982b483157c48f6968
7
- data.tar.gz: f0b2f2ee6dff9714c4310fe5318c0a5d42077b51112a8dc00a5c1dd6a654f13290341981e1a6abeb9e08cffe0cedffa90f6da3fe0901396c07faa3b87a3528fb
6
+ metadata.gz: a1fb48260d2506d3c5b4f8a977520d1daa5e1e2fcbfb0738472b9e7926c7437478e66b3dfb9f7ef27d5a3fc13001515aebc549c1e787398b637273e573802204
7
+ data.tar.gz: a716482bfa630003eeaa8d456b8c330707c3d338e3b9ca032aef1db23ac9dc975fbbb59c43e6e5808a85af30729dc81db88dfd619d63ce00d2e357443f219ca5
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "1.18.1".freeze
2
+ VERSION = "1.18.2".freeze
3
3
  end
@@ -278,7 +278,11 @@ module RelatonBib
278
278
  dt = ext&.at("doctype")
279
279
  return unless dt
280
280
 
281
- DocumentType.new type: dt.text, abbreviation: dt[:abbreviation]
281
+ create_doctype dt
282
+ end
283
+
284
+ def create_doctype(type)
285
+ DocumentType.new type: type.text, abbreviation: type[:abbreviation]
282
286
  end
283
287
 
284
288
  # @param item [Nokogiri::XML::Element]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-bib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.1
4
+ version: 1.18.2
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-12 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: addressable