relaton-bib 1.19.1 → 1.19.2
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
- 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: b9d25f7a3197e13a268ac65f498dd9122c89bdbcbb270f999773ce77898fb0df
|
4
|
+
data.tar.gz: ef52d177ebc581ec707f97e34f7af095a4ed97bc99aa9095b58e8bc360bcfca3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c4b66e2a97ef5dc7e4ada16c2e49bb3d9d0e30bfc1c00565451cfa90124475c2134dd1adfef17f71eec091ef338e781472d9ea72c602dff125c8e79dbe4047a
|
7
|
+
data.tar.gz: 16e83196283dc4cdf84282786ea72c2649cfdb1dbfe2e49c0f5dcb2511fc74f43d5455188b44fdb06d3497ae8bd01dc9892e2b3586b715c37e44d422e89288a9
|
@@ -352,7 +352,7 @@ module RelatonBib
|
|
352
352
|
# @option options [boolean, nil] :all_parts
|
353
353
|
# @return [String]
|
354
354
|
def shortref(identifier, **opts) # rubocop:disable Metrics/CyclomaticComplexity,Metrics/AbcSize,Metrics/PerceivedComplexity
|
355
|
-
pubdate = date.select { |d| d.type == "published" }
|
355
|
+
pubdate = date.select { |d| d.type == "published" || d.type == "issued" }
|
356
356
|
year = if opts[:no_year] || pubdate.empty? then ""
|
357
357
|
else ":#{pubdate&.first&.on(:year)}"
|
358
358
|
end
|
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.19.
|
4
|
+
version: 1.19.2
|
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-07-
|
11
|
+
date: 2024-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|