jekyll-scholar 5.10.2 → 5.10.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
  SHA1:
3
- metadata.gz: c81abf08b479f6214a99b5bc000db3e23059efaa
4
- data.tar.gz: 743b2260e79050512fe3f8a2050ca411c856776a
3
+ metadata.gz: f14a3f0820b75be1bc01d15f685ed9922e216c5c
4
+ data.tar.gz: 96d6e7fcf9ddafc3a7d7e59db5613df0051fd67b
5
5
  SHA512:
6
- metadata.gz: 0ad70149887d7aec9f41ce304d0de483ec149c5a3e405ebaa20255c11a933a6bfe9c54a4d796967935161f2818c4e6b70b6fb8336872b0861cd9d0a9fc7692e7
7
- data.tar.gz: 3140cca84c118d7ada46c91ae48bdbd8309c930bd93375cb972c9bf678184480f5e37ccb160b2a51fb306d9b452d33e5ad39b49ab292bb0cfd5873ac0e2a8c8b
6
+ metadata.gz: 01fa06cd9e6b98f37593b6ee4217e888bb9a9712318e412699d7d792779150d4d06d731f824ff3d2867d9416137bafe161795a10746146d52dcb2a35bec977c3
7
+ data.tar.gz: 351d73c57ec99a7fafd04286e2550fa9ec105ba5ecdae0acab39804bc69aae96924bbb4ec8d03f7a9c42a115cedb1b663c1ed189d06a15eaca0456df8fc81b54
@@ -38,6 +38,7 @@ module Jekyll
38
38
  'bibtex_options' => { :strip => false, :parse_months => true },
39
39
  'bibtex_filters' => [ :smallcaps, :superscript, :latex ],
40
40
  'bibtex_skip_fields' => [ :abstract, :month_numeric ],
41
+ 'bibtex_quotes' => ['{', '}'],
41
42
 
42
43
  'replace_strings' => true,
43
44
  'join_strings' => true,
@@ -498,7 +498,7 @@ module Jekyll
498
498
  e['type'] = entry.type.to_s
499
499
 
500
500
  if entry.field_names(config['bibtex_skip_fields']).empty?
501
- e['bibtex'] = entry.to_s
501
+ e['bibtex'] = entry.to_s({ quotes: config['bibtex_quotes'] })
502
502
  else
503
503
  tmp = entry.dup
504
504
 
@@ -506,7 +506,7 @@ module Jekyll
506
506
  tmp.delete name if tmp.field?(name)
507
507
  end
508
508
 
509
- e['bibtex'] = tmp.to_s
509
+ e['bibtex'] = tmp.to_s({ quotes: config['bibtex_quotes'] })
510
510
  end
511
511
 
512
512
  if raw_bibtex?
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  class Scholar
3
- VERSION = '5.10.2'.freeze
3
+ VERSION = '5.10.3'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-scholar
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.10.2
4
+ version: 5.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvester Keil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-10 00:00:00.000000000 Z
11
+ date: 2017-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll