relaton-ogc 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 +4 -4
- data/lib/relaton_ogc/version.rb +1 -1
- data/lib/relaton_ogc/xml_parser.rb +4 -0
- 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: 24d7a72c7e90453342608b8b7e1d52d180b58ac5983aeaecfce668ddc5c4f722
|
4
|
+
data.tar.gz: fe2bb7cf08dfbd1e70ec36c1e32291104e212cf9950e29bece907ddf50f11733
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b12b120e8ff2ab348a743d50186972da5991d0406e009c594f2460748e77f2e0d6d1426f931bb652db4355bb2dc2b4a7f3e0b32468951187d7f47b4b2f85547
|
7
|
+
data.tar.gz: 6274054068fce566b9aa1f75a604d2226b9f947919c31256c4519a02041b1831f1ad293e3b81b62665f6d5180c21384b51c11fb526330000e4af40ff274103c1
|
data/lib/relaton_ogc/version.rb
CHANGED
@@ -12,6 +12,10 @@ module RelatonOgc
|
|
12
12
|
OgcBibliographicItem.new(**item_hash)
|
13
13
|
end
|
14
14
|
|
15
|
+
def create_doctype(type)
|
16
|
+
DocumentType.new type: type.text, abbreviation: type[:abbreviation]
|
17
|
+
end
|
18
|
+
|
15
19
|
# Override RelatonIsoBib::XMLParser.item_data method.
|
16
20
|
# @param item [Nokogiri::XML::Element]
|
17
21
|
# @returtn [Hash]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-ogc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.18.
|
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-
|
11
|
+
date: 2024-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|