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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3dc255d661007608e306d2c4d52eac8e94e304d38be1d1fcbcdf7533199155bc
4
- data.tar.gz: 8e6bc96f3339e4d5f57b32c6793ecb2f6cb20bc2f7ec3463064c435cc340ef9c
3
+ metadata.gz: 24d7a72c7e90453342608b8b7e1d52d180b58ac5983aeaecfce668ddc5c4f722
4
+ data.tar.gz: fe2bb7cf08dfbd1e70ec36c1e32291104e212cf9950e29bece907ddf50f11733
5
5
  SHA512:
6
- metadata.gz: 705c41bb2b0ec2dfc3221c44ddb0ac174a4030a25a02bae4e0214aed37f5fef91324da0f55f6b94786892a18444349611ccf480138f5f6c0d3062ddcef198232
7
- data.tar.gz: 24fd0fa49d6f8d28b0f491b7c68181e30a5610fa1b8172fb74bb2b18c2191ff6f075cbd456668bb306cc3b82043dda9b053256547a0cbe85180c38b7a79b8289
6
+ metadata.gz: 9b12b120e8ff2ab348a743d50186972da5991d0406e009c594f2460748e77f2e0d6d1426f931bb652db4355bb2dc2b4a7f3e0b32468951187d7f47b4b2f85547
7
+ data.tar.gz: 6274054068fce566b9aa1f75a604d2226b9f947919c31256c4519a02041b1831f1ad293e3b81b62665f6d5180c21384b51c11fb526330000e4af40ff274103c1
@@ -1,3 +1,3 @@
1
1
  module RelatonOgc
2
- VERSION = "1.18.0".freeze
2
+ VERSION = "1.18.1".freeze
3
3
  end
@@ -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.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-08 00:00:00.000000000 Z
11
+ date: 2024-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday