jekyll-scholar 5.7.1 → 5.7.2
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 +4 -4
- data/.travis.yml +1 -0
- data/Gemfile +1 -1
- data/features/citation.feature +28 -1
- data/lib/jekyll/scholar/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c87d13eba6259db001b9e45d8c5e6be1880850eb
|
|
4
|
+
data.tar.gz: 67cad6edde00f6385a32f062bcf5f0b88200dfdf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 66076962697bcababa64494ad7f81a754c9e16b1c5cf81cfe69c56ea0dd89bf8893a7931085b2706ca7bbf76e54d2190597b4780edbeda0410896677a3c439f9
|
|
7
|
+
data.tar.gz: 66a4ba75e7035dfd1413453ff34cf0e249bcf97eab03ba4233d21cd0814512864fec6968b3c5d47813ddcf887226cd8739735133406015a072bb72c4696c7459
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/features/citation.feature
CHANGED
|
@@ -29,6 +29,33 @@ Feature: Citations
|
|
|
29
29
|
And the "_site/scholar.html" file should exist
|
|
30
30
|
And I should see "Flanagan" in "_site/scholar.html"
|
|
31
31
|
|
|
32
|
+
@tags @cite @file
|
|
33
|
+
Scenario: Citing from another bibliography
|
|
34
|
+
Given I have a scholar configuration with:
|
|
35
|
+
| key | value |
|
|
36
|
+
| source | ./_bibliography |
|
|
37
|
+
| bibliography | my_references |
|
|
38
|
+
And I have a "_bibliography" directory
|
|
39
|
+
And I have a file "_bibliography/other_references.bib":
|
|
40
|
+
"""
|
|
41
|
+
@book{ruby,
|
|
42
|
+
title = {The Ruby Programming Language},
|
|
43
|
+
author = {Flanagan, David and Matsumoto, Yukihiro},
|
|
44
|
+
year = {2008},
|
|
45
|
+
publisher = {O'Reilly Media}
|
|
46
|
+
}
|
|
47
|
+
"""
|
|
48
|
+
And I have a page "scholar.html":
|
|
49
|
+
"""
|
|
50
|
+
---
|
|
51
|
+
---
|
|
52
|
+
{% cite ruby --file other_references %}
|
|
53
|
+
"""
|
|
54
|
+
When I run jekyll
|
|
55
|
+
Then the _site directory should exist
|
|
56
|
+
And the "_site/scholar.html" file should exist
|
|
57
|
+
And I should see "Flanagan" in "_site/scholar.html"
|
|
58
|
+
|
|
32
59
|
@tags @cite @suppress-author
|
|
33
60
|
Scenario: Citations With Suppressed Author
|
|
34
61
|
Given I have a scholar configuration with:
|
|
@@ -356,7 +383,7 @@ Feature: Citations
|
|
|
356
383
|
Author = {Erich Gamma and Richard Helm and Ralph Johnson and John Vlissides},
|
|
357
384
|
Title = {Design Patterns: Elements of Reusable Object-Oriented Software},
|
|
358
385
|
Publisher = {Addison-Wesley Professional},
|
|
359
|
-
Year = {1994},
|
|
386
|
+
Year = {1994},
|
|
360
387
|
}
|
|
361
388
|
"""
|
|
362
389
|
And I have a "_data" directory
|
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.7.
|
|
4
|
+
version: 5.7.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sylvester Keil
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-03-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|