jekyll-scholar 5.4.0 → 5.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d0ccfbfe88b7da749fa9664058817b55d0e6884
4
- data.tar.gz: 3422aaf5888ddf64cea8247edc089d8421690c77
3
+ metadata.gz: e0cec8fe71f3f994b44818f868b753afc2ca32e6
4
+ data.tar.gz: c181bfd8b43b2db0f9e9b231b1714f3267e4d5fb
5
5
  SHA512:
6
- metadata.gz: a504af58d6a47edd86d1e69f105ce9d3b9b92099831f1890af42a0b3d7312efc8c403e1e51b8aa9b86177bbaaea7e19672084b3f5d4dc198955142e95defe7ad
7
- data.tar.gz: 0333fe4d418b51ffa53a9c9fd5f1573fab4bffda85dea06e01206f5978f01179bdb6517d8f36b250446336d056db5ef645c5579fc8ab1b1cad3c7f53de46efef
6
+ metadata.gz: 619c42158d5dafca93a70f451064857058d0452e118e2fb3b76f286d5e1046d47e4ff2c82e606db77270f2a71138b4afee1b6562c5fc239e7cc381f5a79bc258
7
+ data.tar.gz: dff7bbecefa7c8a9d6c98680c7a0b4519fa294c08aaf14f28bd5db97082f067582de4ff8a0c76c97ac2e47bd764cdb56ac60a69f86050516353962838c4032be
@@ -3,7 +3,7 @@ Feature: Details
3
3
  I want to publish my BibTeX bibliography on my blog
4
4
  And I want Jekyll to generate detail pages for all the entries in my bibliography
5
5
 
6
- @generators
6
+ @generators @wip
7
7
  Scenario: A bibliography with a single entry
8
8
  Given I have a scholar configuration with:
9
9
  | key | value |
@@ -16,6 +16,7 @@ Feature: Details
16
16
  title = {The Ruby Programming Language},
17
17
  author = {Flanagan, David and Matsumoto, Yukihiro},
18
18
  year = {2008},
19
+ comment = {A Comment},
19
20
  publisher = {O'Reilly Media}
20
21
  }
21
22
  """
@@ -27,7 +28,8 @@ Feature: Details
27
28
  <html>
28
29
  <head></head>
29
30
  <body>
30
- {{ page.entry.title }}
31
+ {{ page.title }}
32
+ {{ page.entry.comment }}
31
33
  </body>
32
34
  </html>
33
35
  """
@@ -35,6 +37,7 @@ Feature: Details
35
37
  Then the _site directory should exist
36
38
  And the "_site/bibliography/ruby.html" file should exist
37
39
  And I should see "The Ruby Programming Language" in "_site/bibliography/ruby.html"
40
+ And I should see "A Comment" in "_site/bibliography/ruby.html"
38
41
 
39
42
  @generators
40
43
  Scenario: LaTeX conversion is applied to everything except the bibtex field
@@ -15,6 +15,7 @@ module Jekyll
15
15
  process(@name)
16
16
  read_yaml(File.join(base, '_layouts'), config['details_layout'])
17
17
 
18
+ data['title'] = entry.title.to_s
18
19
  data.merge!(reference_data(entry))
19
20
  end
20
21
 
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  class Scholar
3
- VERSION = '5.4.0'.freeze
3
+ VERSION = '5.4.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: 5.4.0
4
+ version: 5.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvester Keil