jekyll-scholar 4.3.1 → 4.3.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/Gemfile +6 -1
- data/features/support/env.rb +5 -1
- data/lib/jekyll/scholar/utilities.rb +14 -4
- data/lib/jekyll/scholar/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15aae62da0a4e176e1f392de057292c59b322ac6
|
4
|
+
data.tar.gz: 9340260fbbc3d480693dfc946f32531ca74418fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13bcb37ac778112aa909753f0322c8f1f6a7bda0b171c93229f9cee0b4e640fbe7afd9f8de6b36c97e4c79ba17d77dd32df0fdaddb55e3449e0f98f4676a119e
|
7
|
+
data.tar.gz: 4b566352b1a12b06f891c0bc8068eb85e16b62cc3faa966e2420093b6015b1a7eb09c1746692f52b1b60b859cf9c27931c0b3e42b3e467ab229b0911543e7afd
|
data/Gemfile
CHANGED
@@ -25,7 +25,12 @@ group :development do
|
|
25
25
|
end
|
26
26
|
|
27
27
|
group :debug do
|
28
|
-
|
28
|
+
if RUBY_VERSION > '2.0'
|
29
|
+
gem 'byebug', '~>3.5', :require => false, :platform => :mri
|
30
|
+
else
|
31
|
+
gem 'debugger', '~>1.6', :require => false, :platform => [:mri_19, :mri_20]
|
32
|
+
end
|
33
|
+
|
29
34
|
gem 'rubinius-compiler', '~>2.0', :require => false, :platform => :rbx
|
30
35
|
gem 'rubinius-debugger', '~>2.0', :require => false, :platform => :rbx
|
31
36
|
end
|
data/features/support/env.rb
CHANGED
@@ -208,12 +208,22 @@ module Jekyll
|
|
208
208
|
name = config['bibliography']
|
209
209
|
end
|
210
210
|
|
211
|
-
#
|
211
|
+
# Return as is if it is an absolute path
|
212
|
+
# Improve by using Pathname from stdlib?
|
212
213
|
return name if name.start_with?('/') && File.exists?(name)
|
213
214
|
|
214
|
-
|
215
|
-
|
216
|
-
|
215
|
+
name = File.join scholar_source, name
|
216
|
+
name << '.bib' if File.extname(name).empty? && !File.exists?(name)
|
217
|
+
name
|
218
|
+
end
|
219
|
+
|
220
|
+
def scholar_source
|
221
|
+
source = config['source']
|
222
|
+
|
223
|
+
# Improve by using Pathname from stdlib?
|
224
|
+
return source if source.start_with?('/') && File.exists?(source)
|
225
|
+
|
226
|
+
File.join site.source, source
|
217
227
|
end
|
218
228
|
|
219
229
|
def reference_tag(entry, index = nil)
|
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: 4.3.
|
4
|
+
version: 4.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvester Keil
|
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
version: 1.3.6
|
139
139
|
requirements: []
|
140
140
|
rubyforge_project: jekyll-scholar
|
141
|
-
rubygems_version: 2.
|
141
|
+
rubygems_version: 2.4.5
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: Jekyll extensions for the academic blogger.
|
@@ -158,3 +158,4 @@ test_files:
|
|
158
158
|
- features/string.feature
|
159
159
|
- features/support/env.rb
|
160
160
|
- features/support/hooks.rb
|
161
|
+
has_rdoc:
|