relaton-bib 1.14.13 → 1.14.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/relaton_bib/bibliographic_item.rb +2 -2
- data/lib/relaton_bib/hash_converter.rb +0 -2
- data/lib/relaton_bib/version.rb +1 -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: 8b9cd2bd785b86aa60a2f08db370a0f1a1ed646a13eab981c40c946c802f74cd
|
|
4
|
+
data.tar.gz: e132568753c5aa9200e186dd780265f86c038cbb3365daa3de5e48f16e8a94cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a83ab74f7defef533468c71c4796066ecd99b9e2f2db4f74735516e1128b8126e97d060eee2935057fb6a39f46f664e9bb8c10a4c47fac73d78ac848e4a472fe
|
|
7
|
+
data.tar.gz: e318b237b2e24a4a095b765ebd251f392bbf8071257ff599ae043f64b1bba76ef2322dc74e2ba0bb15b3c1e9ed1b67a05ee71b63e141710fb8e9b076e0fc8372
|
|
@@ -430,7 +430,7 @@ module RelatonBib
|
|
|
430
430
|
if structuredidentifier&.presence?
|
|
431
431
|
hash["structuredidentifier"] = structuredidentifier.to_hash
|
|
432
432
|
end
|
|
433
|
-
hash["ext"] = { "schema-version" => ext_schema } if !embedded && respond_to?(:ext_schema)
|
|
433
|
+
hash["ext"] = { "schema-version" => ext_schema } if !embedded && respond_to?(:ext_schema) && ext_schema
|
|
434
434
|
hash
|
|
435
435
|
end
|
|
436
436
|
|
|
@@ -645,7 +645,7 @@ module RelatonBib
|
|
|
645
645
|
ics.each { |i| i.to_xml b }
|
|
646
646
|
structuredidentifier&.to_xml b
|
|
647
647
|
end
|
|
648
|
-
ext["schema-version"] = ext_schema if !opts[:embedded] && respond_to?(:ext_schema)
|
|
648
|
+
ext["schema-version"] = ext_schema if !opts[:embedded] && respond_to?(:ext_schema) && ext_schema
|
|
649
649
|
end
|
|
650
650
|
end
|
|
651
651
|
xml[:id] = id if id && !opts[:bibdata] && !opts[:embedded]
|
|
@@ -4,13 +4,11 @@ module RelatonBib
|
|
|
4
4
|
# rubocop:disable Metrics/MethodLength, Metrics/AbcSize
|
|
5
5
|
|
|
6
6
|
# @param args [Hash]
|
|
7
|
-
# @param neated [TrueClas, FalseClass] default false
|
|
8
7
|
# @return [Hash]
|
|
9
8
|
def hash_to_bib(args)
|
|
10
9
|
return nil unless args.is_a?(Hash)
|
|
11
10
|
|
|
12
11
|
ret = Marshal.load(Marshal.dump(symbolize(args))) # deep copy
|
|
13
|
-
# timestamp_hash(ret) unless nested
|
|
14
12
|
title_hash_to_bib(ret)
|
|
15
13
|
link_hash_to_bib(ret)
|
|
16
14
|
language_hash_to_bib(ret)
|
data/lib/relaton_bib/version.rb
CHANGED
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.14.
|
|
4
|
+
version: 1.14.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-08-
|
|
11
|
+
date: 2023-08-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|