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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd97537f40b52ff26ec6564b5d22bea683991fb2
4
- data.tar.gz: fdc05e3ae4767f19e44b89b730a1014abd5549de
3
+ metadata.gz: 9dfead383444c4264a85137f9b3a85ece62bfa6d
4
+ data.tar.gz: 46690a3088d8b4f8ef7c7f82a32dc2ec315310ac
5
5
  SHA512:
6
- metadata.gz: 625084ad4b2d9cac4dfb56322da7e8c4732398ed94d07099262d1779ed9a60ecdf9334785db8b771d8c3fe2c521bbcf2399532699f3be01a358a431476b56dcd
7
- data.tar.gz: ecef959d91c3552a1d452f067f0b215c42dcece7024cfc7369e638fdd606f7586473efe4537a1b304fc3a0d97229282d515971653a33ddb62c4870dc9fa43c5b
6
+ metadata.gz: 81474af74a1b1de263486bc8e147f99e17938be82df75690a795b10d33da8f5c74f3d20c6bc59fccb2f45a4108f056534d498249016abd5d354fe596bc80ab99
7
+ data.tar.gz: dc9cb2008fa2022b60bca9f9397a83963af3d63b85e8fbeab1ad595d6991f70a190fa242b2d71de8b4434efe26784409c78e5c5728d86b395287b5adae5d76f6
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  Gemfile.lock
2
2
  demo
3
+ **/*.swp
data/.travis.yml CHANGED
@@ -2,7 +2,6 @@ language: ruby
2
2
  bundler_args: --without debug
3
3
  rvm:
4
4
  - 2.0.0
5
- - 1.9.2
6
5
  - 1.9.3
7
6
  notifications:
8
7
  email:
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/hdpatel/jekyll-scholar-extras).
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
 
@@ -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 => config['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
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  class Scholar
3
- VERSION = '1.2.2'.freeze
3
+ VERSION = '1.2.3'.freeze
4
4
  end
5
- end
5
+ end
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.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-05-24 00:00:00.000000000 Z
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: