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 +4 -4
- data/lib/relaton_bib/version.rb +1 -1
- data/lib/relaton_bib/xml_parser.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 710fee1ddbf381ee7e836db9a9a701359e395bf76206f39ff6ce56a61447f1c4
|
4
|
+
data.tar.gz: cc3d05752d4b4a18c735cf52a50a6c8df69380962845caf179c404eaae18eea4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1fb48260d2506d3c5b4f8a977520d1daa5e1e2fcbfb0738472b9e7926c7437478e66b3dfb9f7ef27d5a3fc13001515aebc549c1e787398b637273e573802204
|
7
|
+
data.tar.gz: a716482bfa630003eeaa8d456b8c330707c3d338e3b9ca032aef1db23ac9dc975fbbb59c43e6e5808a85af30729dc81db88dfd619d63ce00d2e357443f219ca5
|
data/lib/relaton_bib/version.rb
CHANGED
@@ -278,7 +278,11 @@ module RelatonBib
|
|
278
278
|
dt = ext&.at("doctype")
|
279
279
|
return unless dt
|
280
280
|
|
281
|
-
|
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.
|
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
|
11
|
+
date: 2024-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|