jekyll-scholar 5.8.4 → 5.8.5
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/features/string.feature +27 -0
- data/lib/jekyll/scholar/utilities.rb +1 -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: 6a066765a98ef88cac6bde9f73aa707cdb71e938
|
|
4
|
+
data.tar.gz: d342a9115b68215869dc61cd4ceb10a012db0526
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dbb7afaca8fcfc7a51d1328ada1b8425f8f7240be048ee2b7f7dfde3b87365d75482ec1eef947f75ae69bcd6933f7e87498f4b20828ad65f0bc813348eab33f4
|
|
7
|
+
data.tar.gz: 2c7c4e0857fa6bd5854954265faf2d495f0aebaafc710a5a4ee4b6e6e0d9f3c38089d5521d428b77198e996a670b5b42d0faf23b7cf8f30bec35735b41f50b72
|
data/features/string.feature
CHANGED
|
@@ -112,3 +112,30 @@ Feature: String replacement
|
|
|
112
112
|
Then the _site directory should exist
|
|
113
113
|
And the "_site/scholar.html" file should exist
|
|
114
114
|
And I should see "<i>\"The \" # \"Ruby\" # \" Programming Language\"</i>" in "_site/scholar.html"
|
|
115
|
+
|
|
116
|
+
@tags @string
|
|
117
|
+
Scenario: String replacement with queries involving negative conditions
|
|
118
|
+
Given I have a scholar configuration with:
|
|
119
|
+
| key | value |
|
|
120
|
+
| source | ./_bibliography |
|
|
121
|
+
And I have a "_bibliography" directory
|
|
122
|
+
And I have a file "_bibliography/references.bib":
|
|
123
|
+
"""
|
|
124
|
+
@string{ rubypl = "The Ruby Programming Language" }
|
|
125
|
+
@book{ruby,
|
|
126
|
+
title = rubypl,
|
|
127
|
+
author = {Flanagan, David and Matsumoto, Yukihiro},
|
|
128
|
+
year = {2008},
|
|
129
|
+
publisher = {O'Reilly Media}
|
|
130
|
+
}
|
|
131
|
+
"""
|
|
132
|
+
And I have a page "scholar.html":
|
|
133
|
+
"""
|
|
134
|
+
---
|
|
135
|
+
---
|
|
136
|
+
{% bibliography -f references --query !@article %}
|
|
137
|
+
"""
|
|
138
|
+
When I run jekyll
|
|
139
|
+
Then the _site directory should exist
|
|
140
|
+
And the "_site/scholar.html" file should exist
|
|
141
|
+
And I should see "<i>The Ruby Programming Language</i>" in "_site/scholar.html"
|
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.8.
|
|
4
|
+
version: 5.8.5
|
|
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-10-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|