jekyll-scholar 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +0 -1
- data/README.md +1 -1
- data/jekyll-scholar.gemspec +2 -1
- data/lib/jekyll/scholar/tags/bibliography.rb +2 -2
- data/lib/jekyll/scholar/utilities.rb +1 -1
- data/lib/jekyll/scholar/version.rb +2 -2
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9dfead383444c4264a85137f9b3a85ece62bfa6d
|
4
|
+
data.tar.gz: 46690a3088d8b4f8ef7c7f82a32dc2ec315310ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81474af74a1b1de263486bc8e147f99e17938be82df75690a795b10d33da8f5c74f3d20c6bc59fccb2f45a4108f056534d498249016abd5d354fe596bc80ab99
|
7
|
+
data.tar.gz: dc9cb2008fa2022b60bca9f9397a83963af3d63b85e8fbeab1ad595d6991f70a190fa242b2d71de8b4434efe26784409c78e5c5728d86b395287b5adae5d76f6
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -7,7 +7,7 @@ site generator; it formats your bibliographies and reading lists for the web
|
|
7
7
|
and gives your blog posts citation super-powers.
|
8
8
|
|
9
9
|
For additional features you may also want to take a look at
|
10
|
-
[jekyll-scholar-extras](https://github.com/
|
10
|
+
[jekyll-scholar-extras](https://github.com/jgoodall/jekyll-scholar-extras).
|
11
11
|
|
12
12
|
[![Build Status](https://travis-ci.org/inukshuk/jekyll-scholar.png?branch=master)](https://travis-ci.org/inukshuk/jekyll-scholar)
|
13
13
|
|
data/jekyll-scholar.gemspec
CHANGED
@@ -12,6 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.email = 'http://sylvester.keil.or.at'
|
13
13
|
s.homepage = 'http://github.com/inukshuk/jekyll-scholar'
|
14
14
|
s.summary = 'Jekyll extensions for the academic blogger.'
|
15
|
+
s.licenses = ['MIT']
|
15
16
|
s.description = %q{
|
16
17
|
Jekyll-Scholar is for all the academic bloggers out there. It is a set of
|
17
18
|
extensions for Jekyll the awesome, blog aware, static site generator; it
|
@@ -35,4 +36,4 @@ Gem::Specification.new do |s|
|
|
35
36
|
|
36
37
|
end
|
37
38
|
|
38
|
-
# vim: syntax=ruby
|
39
|
+
# vim: syntax=ruby
|
@@ -18,7 +18,7 @@ module Jekyll
|
|
18
18
|
references = entries
|
19
19
|
|
20
20
|
if cited_only?
|
21
|
-
references = cited_references.map do |key|
|
21
|
+
references = cited_references.uniq.map do |key|
|
22
22
|
references.detect { |e| e.key == key }
|
23
23
|
end
|
24
24
|
end
|
@@ -50,4 +50,4 @@ module Jekyll
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
Liquid::Template.register_tag('bibliography', Jekyll::Scholar::BibliographyTag)
|
53
|
+
Liquid::Template.register_tag('bibliography', Jekyll::Scholar::BibliographyTag)
|
@@ -157,7 +157,7 @@ module Jekyll
|
|
157
157
|
entry = bibliography[key]
|
158
158
|
entry = entry.convert(*bibtex_filters) unless bibtex_filters.empty?
|
159
159
|
|
160
|
-
citation = CiteProc.process entry.to_citeproc, :style =>
|
160
|
+
citation = CiteProc.process entry.to_citeproc, :style => style,
|
161
161
|
:locale => config['locale'], :format => 'html', :mode => :citation
|
162
162
|
|
163
163
|
link_to "##{[prefix, entry.key].compact.join('-')}", citation.join
|
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: 1.2.
|
4
|
+
version: 1.2.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: 2013-
|
11
|
+
date: 2013-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -91,7 +91,8 @@ files:
|
|
91
91
|
- lib/jekyll/scholar/utilities.rb
|
92
92
|
- lib/jekyll/scholar/version.rb
|
93
93
|
homepage: http://github.com/inukshuk/jekyll-scholar
|
94
|
-
licenses:
|
94
|
+
licenses:
|
95
|
+
- MIT
|
95
96
|
metadata: {}
|
96
97
|
post_install_message:
|
97
98
|
rdoc_options: []
|
@@ -124,3 +125,4 @@ test_files:
|
|
124
125
|
- features/step_definitions/jekyll_steps.rb
|
125
126
|
- features/step_definitions/scholar_steps.rb
|
126
127
|
- features/support/env.rb
|
128
|
+
has_rdoc:
|