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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c16bae70f0ffc07f1992663a2701df9cd583ef2a
4
- data.tar.gz: 72b599b29cd812aed688cb27b26690544b87eab1
3
+ metadata.gz: c282d1cefb78d0e8ca0efa4193c2b0b726636a57
4
+ data.tar.gz: 7ca29583fa28f917bb1ab3fa9673456f47e2f33f
5
5
  SHA512:
6
- metadata.gz: c991da6b828bcb8951cbe61d089493d3306ac4fc3af57223f3dedd71bf507d09b773f666ffef45adcd2de9bba484d094962941ba81beb48eb500afab9093e683
7
- data.tar.gz: e4f167a232610483e7886194c4d81db146d3c2b2e88a3ca0e70208981f17a10b006bbbd684a2647bc865ac853cb0ce229d608784f9eebeb5a33041a91c8041a2
6
+ metadata.gz: dc59974ef3707a2a478703279c87cdf4e5ec721dfda8550884aa8c62c872cd14e8846e8851e7372868cdd371a0750adbd54b1abd9c288dcfa6251d0764fff60c
7
+ data.tar.gz: dd3fa4ef2afd97ec58e9142a9f2c0fba01184e41b56e130cb701f822b25f4f520f423557bb7ba39a11d179b0765ae1e4e454da7a603dacff792f7298d1c1cb37
@@ -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| e.values_at(*sort_keys).map(&:v) }
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
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  class Scholar
3
- VERSION = '4.2.2'.freeze
3
+ VERSION = '4.2.3'.freeze
4
4
  end
5
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: 4.2.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-12 00:00:00.000000000 Z
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