jekyll-scholar 6.5.0 → 6.5.1

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: 53ccd7ae4c52e39622c5a4ce64c67c73472112109c4267eac20197f3a2fb23cb
4
- data.tar.gz: 603f2df7070fff4b90ffee8716a28bb79dfd647a28b9619e2d83ce29ef2caad2
3
+ metadata.gz: 69721f8d8ba934874039c43bd0fab2ec7c5ab4dda4be6d0758e331c333466207
4
+ data.tar.gz: 52a3b972483b9626789ff4cba5b4203d411e17cd659d0f2c3e74f8239da0d532
5
5
  SHA512:
6
- metadata.gz: dbaae7c9b3b7cd088466e5e6871e07d469abbdb126cfa0e72726d96075dc434cebbc8872c2b15730fcbb767ff9b97ad1da1be1c1373d8f098d52d1199b5ab951
7
- data.tar.gz: ea232359c182161f33024c5922aeadc33db78c5c5b65b198a3d04b0b9cc5952521f034801defa51e673fe03bcb7d0e44cb324ab58f76b7a10e027c2679772c88
6
+ metadata.gz: afe07db8a50178374c677d9a4252c4eda8f84e71b6c212d7382443ab5217614eafea901ec41fd5c3e28b7b6ca495f020980e2b8780c7c2a1e86d53ac672369ea
7
+ data.tar.gz: f80f88409839f68ff4c3b06ba78f7a0df99a40e970711ec318a1053ae456bf60214e0209886424620030b874f4ca48d4d1600de6b96a4cc0f079876b12347df5
@@ -619,7 +619,7 @@ Feature: BibTeX
619
619
  Given I have a scholar configuration with:
620
620
  | key | value |
621
621
  | source | ./_bibliography |
622
- | bibliography_template | <pre>{{entry.raw_bibtex}}</pre> |
622
+ | bibliography_template | <pre>{{entry.bibtex}}</pre> |
623
623
  And I have a "_bibliography" directory
624
624
  And I have a file "_bibliography/references.bib":
625
625
  """
@@ -638,3 +638,4 @@ Feature: BibTeX
638
638
  Then the _site directory should exist
639
639
  And the "_site/scholar.html" file should exist
640
640
  And I should see "{{No Escape}}" in "_site/scholar.html"
641
+ And I should not see "raw" in "_site/scholar.html"
@@ -518,7 +518,7 @@ module Jekyll
518
518
  def bibliography_tag(entry, index)
519
519
  return missing_reference unless entry
520
520
 
521
- tmp = liquid_template.render(
521
+ liquid_template.render(
522
522
  reference_data(entry,index)
523
523
  .merge(site.site_payload)
524
524
  .merge({
@@ -528,17 +528,7 @@ module Jekyll
528
528
  {
529
529
  :registers => { :site => site },
530
530
  :filters => [Jekyll::Filters]
531
- }
532
- )
533
- # process the generated reference with Liquid, to get the same behaviour as
534
- # when it is used on a page
535
- Liquid::Template.parse(tmp).render(
536
- site.site_payload,
537
- {
538
- :registers => { :site => site },
539
- :filters => [Jekyll::Filters]
540
- }
541
- )
531
+ })
542
532
  end
543
533
 
544
534
  def reference_data(entry, index = nil)
@@ -570,7 +560,7 @@ module Jekyll
570
560
  e['bibtex'] = tmp.to_s({ quotes: config['bibtex_quotes'] })
571
561
  end
572
562
 
573
- e['raw_bibtex'] = "{%raw%}#{e['bibtex']}{%endraw%}"
563
+ #e['raw_bibtex'] = "{%raw%}#{e['bibtex']}{%endraw%}"
574
564
 
575
565
  entry.fields.each do |key, value|
576
566
  value = value.convert(*bibtex_filters) unless bibtex_filters.empty?
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  class Scholar
3
- VERSION = '6.5.0'.freeze
3
+ VERSION = '6.5.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-scholar
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.5.0
4
+ version: 6.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvester Keil
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  - !ruby/object:Gem::Version
149
149
  version: 1.3.6
150
150
  requirements: []
151
- rubygems_version: 3.0.3
151
+ rubygems_version: 3.0.6
152
152
  signing_key:
153
153
  specification_version: 4
154
154
  summary: Jekyll extensions for the academic blogger.