jekyll-theme-open-project-helpers 1.1.27 → 1.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 30d95b7a0b5fcf626226f835f370e554f0154b4c2dfe4e23700a011f5eddfcae
|
|
4
|
+
data.tar.gz: 8bc4ee43ef86e7b72ae68259ac806176bff3aa88702b8a0affe66131a205d664
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9260de25d18fc91180cc082a2d252a0865b0525e1dd6bf36b8d73b0c5832e427fdde8ecf9e7742cd2fb2fa8275da2860d80cb021eb8e23979d90c995c69fbe71
|
|
7
|
+
data.tar.gz: 6c7d3485108051d2dec795036d6da0496fbf7198de31b1d32beead73cfded47a6de99900a21dbb7c2d4b329e82bb14756f546fda8af5914dc1e1cb98681c50cf
|
|
@@ -36,7 +36,7 @@ module Jekyll
|
|
|
36
36
|
post
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
-
posts_combined = (project_posts + site_posts)
|
|
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.
|
|
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-
|
|
11
|
+
date: 2018-12-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|