jekyll-scholar 4.2.2 → 4.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/jekyll-scholar.gemspec +1 -1
- data/lib/jekyll/scholar/utilities.rb +4 -1
- data/lib/jekyll/scholar/version.rb +1 -1
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c282d1cefb78d0e8ca0efa4193c2b0b726636a57
|
4
|
+
data.tar.gz: 7ca29583fa28f917bb1ab3fa9673456f47e2f33f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc59974ef3707a2a478703279c87cdf4e5ec721dfda8550884aa8c62c872cd14e8846e8851e7372868cdd371a0750adbd54b1abd9c288dcfa6251d0764fff60c
|
7
|
+
data.tar.gz: dd3fa4ef2afd97ec58e9142a9f2c0fba01184e41b56e130cb701f822b25f4f520f423557bb7ba39a11d179b0765ae1e4e454da7a603dacff792f7298d1c1cb37
|
data/jekyll-scholar.gemspec
CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.add_runtime_dependency('jekyll', '~> 2.0')
|
29
29
|
s.add_runtime_dependency('citeproc-ruby', '~> 1.0')
|
30
30
|
s.add_runtime_dependency('csl-styles', '~> 1.0')
|
31
|
-
s.add_runtime_dependency('bibtex-ruby', '>= 4.0.8')
|
31
|
+
s.add_runtime_dependency('bibtex-ruby', '~> 4.0', '>= 4.0.8')
|
32
32
|
|
33
33
|
s.files = `git ls-files`.split("\n")
|
34
34
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
@@ -141,7 +141,10 @@ module Jekyll
|
|
141
141
|
def sort(unsorted)
|
142
142
|
return unsorted if skip_sort?
|
143
143
|
|
144
|
-
sorted = unsorted.sort_by { |e|
|
144
|
+
sorted = unsorted.sort_by { |e|
|
145
|
+
e.values_at(*sort_keys).map { |v| v && v.v }
|
146
|
+
}
|
147
|
+
|
145
148
|
sorted.reverse! if config['order'] =~ /^(desc|reverse)/i
|
146
149
|
sorted
|
147
150
|
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: 4.2.
|
4
|
+
version: 4.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: 2015-01-
|
11
|
+
date: 2015-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -56,6 +56,9 @@ dependencies:
|
|
56
56
|
name: bibtex-ruby
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '4.0'
|
59
62
|
- - ">="
|
60
63
|
- !ruby/object:Gem::Version
|
61
64
|
version: 4.0.8
|
@@ -63,6 +66,9 @@ dependencies:
|
|
63
66
|
prerelease: false
|
64
67
|
version_requirements: !ruby/object:Gem::Requirement
|
65
68
|
requirements:
|
69
|
+
- - "~>"
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '4.0'
|
66
72
|
- - ">="
|
67
73
|
- !ruby/object:Gem::Version
|
68
74
|
version: 4.0.8
|