relaton-bib 1.16.2 → 1.16.3

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: 8098843fe273de5162b5c7f640ed970e78829a22a71aef66675a65bd9eaa60aa
4
- data.tar.gz: 89e952252458837ebbec87cec74801414f676e0aafea76bf69a7c98157e96c32
3
+ metadata.gz: 3bd37fc966b0dd7e73921d34a3cf79367290afb3d4aae99d229bd4df21d00d40
4
+ data.tar.gz: 72d9d8578988841c8923ee26aaad858fc5495a2da0b00ad9e8b83b290d2ba978
5
5
  SHA512:
6
- metadata.gz: cc73ddea87f2eed0caca6361ec228aaac81d609ac1309d54d6da77aec9f9bdb6ec64182288b670f85c42f80115eb60c6372a3fd7ed240bd9e191ea253e350b9b
7
- data.tar.gz: f58d6eb817231bc984a8d7928ca4f1d2319497e30debdaa46781a610949056ec5a2bdd768e7a742be77fc30dfd3288ff3006a6cc2dcf0476c7548ac48becc878
6
+ metadata.gz: 2761def629176fc8c944bb687a7ed3e832f57c36b681f79056a8d7a0372f8c7b055283ea4601334ab4dd53dbb5b02dcd1478180572d8538c5f52620af7066f61
7
+ data.tar.gz: 5f1d68d43e84fe4603e75bcf2aada473f6c53c5080672324738ad026146f779ee1528eaa05f8b98b9d2d9060fc087c909fe980ccd351dc20de79e23668f4ab82
@@ -22,7 +22,7 @@ module RelatonBib
22
22
  # @param description [Array<String>]
23
23
  def initialize(**args)
24
24
  if args[:type] && !TYPES.include?(args[:type])
25
- Util.warn %{Contributor's type `#{args[:type]}` is invalid.}
25
+ Util.warn %{WARNING: Contributor's type `#{args[:type]}` is invalid.}
26
26
  end
27
27
 
28
28
  @type = args[:type]
@@ -349,7 +349,7 @@ module RelatonBib
349
349
  if rel[:bibitem]
350
350
  rel[:bibitem] = bib_item hash_to_bib(rel[:bibitem])
351
351
  else
352
- Util.warn "bibitem missing: `#{rel}`"
352
+ Util.warn "WARNING: bibitem missing: `#{rel}`"
353
353
  rel[:bibitem] = nil
354
354
  end
355
355
  end
@@ -99,7 +99,7 @@ module RelatonBib
99
99
  # return content unless language || script
100
100
 
101
101
  hash = {}
102
- hash["content"] = content unless content.nil? || content.empty?
102
+ hash["content"] = content # unless content.nil? || content.empty?
103
103
  hash["language"] = single_element_array(language) if language&.any?
104
104
  hash["script"] = single_element_array(script) if script&.any?
105
105
  hash
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "1.16.2".freeze
2
+ VERSION = "1.16.3".freeze
3
3
  end
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.16.2
4
+ version: 1.16.3
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-10-03 00:00:00.000000000 Z
11
+ date: 2023-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable