relaton-bib 1.16.4 → 1.16.5

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: 7deac57a314879f0712e2a4b0ed696231284dee696eb1761129b595ed19a8680
4
- data.tar.gz: '052873d3bbd058acde24892cfacf1d751ed72ed15ef2706e04750ede16a01628'
3
+ metadata.gz: 9cd83f1b6817d3aff3fb219312882391f32f69a31e1683e6437e48771985b4a2
4
+ data.tar.gz: ecbc877b14f379f0138470922b4a40feffcec3be4a7d351d50a134108317d73b
5
5
  SHA512:
6
- metadata.gz: 7b7a9cab63a7d4f1d222d9b166e5893709968f76e33f74faceee6427f84f09162e6461a61e7661778ec0262417ff6cb128d21ef7da1f7141d686082452ddf6ed
7
- data.tar.gz: 8bd841a1cfa0cba89333d3a12f66576b469855c0f3746fd5a2a2bad5e1472da52484b825172203015ec58245a43b21391f079b8af1f119598b6f2208a20bf516
6
+ metadata.gz: 04f486d465f35b8214bc0978a15d47678e26fc2e78d72bb6e3875771af2c480bc21f2cef576a3deee9fb99c72ecec40da6a6826c88cbf81607aba51e84757647
7
+ data.tar.gz: 17a64cd868fa320959cf44a65e0794273aaf8ba992d36d4bf90bd774b66484d4021dde1285144530892a398d84b955f8aba1774ffdcbc7532d56d60ee6c6c738
@@ -71,8 +71,8 @@ module RelatonBib
71
71
  # @return [RelatonBib::TypedTitleStringCollection]
72
72
  def fetch_title(bibtex)
73
73
  title = []
74
- title << { type: "main", content: bibtex.title.to_s } if bibtex["title"]
75
- title << { type: "main", content: bibtex.subtitle.to_s } if bibtex["subtitle"]
74
+ title << { type: "main", content: bibtex.convert(:latex).title.to_s } if bibtex["title"]
75
+ title << { type: "main", content: bibtex.convert(:latex).subtitle.to_s } if bibtex["subtitle"]
76
76
  TypedTitleStringCollection.new title
77
77
  end
78
78
 
@@ -240,7 +240,7 @@ module RelatonBib
240
240
  # @param bibtex [BibTeX::Entry]
241
241
  # @return [Array<String>]
242
242
  def fetch_keyword(bibtex)
243
- bibtex["keywords"]&.split(", ") || []
243
+ bibtex["keywords"]&.split(/,\s?/) || []
244
244
  end
245
245
  end
246
246
  end
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "1.16.4".freeze
2
+ VERSION = "1.16.5".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.4
4
+ version: 1.16.5
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-11-15 00:00:00.000000000 Z
11
+ date: 2023-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable