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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20fdd20c795644afb49d384f59a61147d4161e0f10de362996a6537976bf1e2e
4
- data.tar.gz: 1d5f51e63402f944d4fad44e1884f8661af541a3cab52b37e46d2713acbf5d57
3
+ metadata.gz: b9d25f7a3197e13a268ac65f498dd9122c89bdbcbb270f999773ce77898fb0df
4
+ data.tar.gz: ef52d177ebc581ec707f97e34f7af095a4ed97bc99aa9095b58e8bc360bcfca3
5
5
  SHA512:
6
- metadata.gz: e069c6c9ee0b670b354f0409993de0ded12e11515bc771b5da1b178345669b48d3328ffd13d14e30ebf5dbe56380500e7f7c1912d75482b438c0348f6b402021
7
- data.tar.gz: ba884104669e91900dfaca9ddbfa4ac6449b0bff33c6296f6bcb71947c3455c31e725eee3baeda12974a82e9861c3546ab45556a6c98aedc9f5f2812046ff8eb
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
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "1.19.1".freeze
2
+ VERSION = "1.19.2".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.19.1
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 00:00:00.000000000 Z
11
+ date: 2024-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable