relaton-bib 1.20.2 → 1.20.4
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/bibliographic_item.rb +1 -1
- data/lib/relaton_bib/version.rb +1 -1
- data/lib/relaton_bib.rb +3 -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: da0ebd9ce72b79072052fde3ca5b052b14e60ebc606e23103a77ca060b4e3a2b
|
4
|
+
data.tar.gz: 13226126ef027db9f22e4767c6331fc13140e57015891dc91effa68578a1567d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22d1727412fc75303a9658e9fe84ca2663bfe886d26287c828d00fe30afcd80fa290ac88505d9de247611059a1f4ecf9946fd4fb1769e645d1cf53873709420e
|
7
|
+
data.tar.gz: 73612e82e6bd5cf228c0ecd97446d8d2d34707eac818265a4325b12ab61125667be139a6a620e9b4d9f9692f7abb99f5e7f631ada140f43b6480bfb96f77e74f
|
@@ -41,7 +41,7 @@ module RelatonBib
|
|
41
41
|
audiovisual film video broadcast software graphic_work music
|
42
42
|
patent inbook incollection inproceedings journal website
|
43
43
|
webresource dataset archival social_media alert message
|
44
|
-
conversation misc internal].freeze
|
44
|
+
conversation collection misc internal].freeze # internal is defined in isodoc grammar
|
45
45
|
|
46
46
|
# @return [Boolean, nil]
|
47
47
|
attr_accessor :all_parts
|
data/lib/relaton_bib/version.rb
CHANGED
data/lib/relaton_bib.rb
CHANGED
@@ -57,6 +57,9 @@ module RelatonBib
|
|
57
57
|
def format_date(date, format, str, outformat = nil)
|
58
58
|
date = Date.strptime(date, format)
|
59
59
|
str ? date.strftime(outformat || format) : date
|
60
|
+
rescue Date::Error => e
|
61
|
+
Util.warn "#{date} #{e.message}"
|
62
|
+
date
|
60
63
|
end
|
61
64
|
|
62
65
|
# @param arr [nil, Array, #is_a?]
|
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.20.
|
4
|
+
version: 1.20.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|