jekyll-theme-open-project-helpers 1.1.27 → 1.2

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
  SHA256:
3
- metadata.gz: 14b4f99299d20a307607ccb8a393e577d6d8e13297661fef6054602da0d83700
4
- data.tar.gz: 9ed9285d83b399325b22429812c5280b777455465a3b353ec13e2b88e3a5b24e
3
+ metadata.gz: 30d95b7a0b5fcf626226f835f370e554f0154b4c2dfe4e23700a011f5eddfcae
4
+ data.tar.gz: 8bc4ee43ef86e7b72ae68259ac806176bff3aa88702b8a0affe66131a205d664
5
5
  SHA512:
6
- metadata.gz: c6d99248976e4c037ff1f1d3a891820cd92cb5fee6e71b9343d2fca50cc446dda9dea80becf1a86f77a7f5642004b4fe18a8771ab18ed2a8cfe8c9a535f68e7d
7
- data.tar.gz: 3289b3292df641d4fe6d9317912b7806d09ff2362af959a7828c98728e4bf61253283a36bf1739b620c6234ecdc0fd15764f9ea316834d53992d8924c3da4f38
6
+ metadata.gz: 9260de25d18fc91180cc082a2d252a0865b0525e1dd6bf36b8d73b0c5832e427fdde8ecf9e7742cd2fb2fa8275da2860d80cb021eb8e23979d90c995c69fbe71
7
+ data.tar.gz: 6c7d3485108051d2dec795036d6da0496fbf7198de31b1d32beead73cfded47a6de99900a21dbb7c2d4b329e82bb14756f546fda8af5914dc1e1cb98681c50cf
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'jekyll-theme-open-project-helpers'
5
- s.version = '1.1.27'
5
+ s.version = '1.2'
6
6
  s.authors = ['Ribose Inc.']
7
7
  s.email = ['open.source@ribose.com']
8
8
 
@@ -36,7 +36,7 @@ module Jekyll
36
36
  post
37
37
  end
38
38
 
39
- posts_combined = (project_posts + site_posts).sort_by(&:date).reverse
39
+ posts_combined = (project_posts + site_posts)
40
40
 
41
41
  else
42
42
  posts_combined = site_posts
@@ -45,7 +45,7 @@ module Jekyll
45
45
 
46
46
  # On each post, replace authors’ emails with corresponding md5 hashes
47
47
  # suitable for hotlinking authors’ Gravatar profile pictures.
48
- posts_combined = posts_combined.map do |post|
48
+ posts_combined = posts_combined.sort_by(&:date).reverse.map do |post|
49
49
  if post.data.key? 'author'
50
50
  email = post.data['author']['email']
51
51
  hash = Digest::MD5.hexdigest(email)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-open-project-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.27
4
+ version: '1.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-09 00:00:00.000000000 Z
11
+ date: 2018-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll