jekyll-theme-open-project-helpers 2.0 → 2.0.1

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: dd46772b2f87910b758b95f9da217c5ef5ec0a2d
4
- data.tar.gz: a8b482f8a82760531b55d29356312e9cfe09ab63
3
+ metadata.gz: f0432556ca9177690f62bca9daa3276f9b2c0779
4
+ data.tar.gz: 9a9f23fceb75dbb16963505839178d634711cc32
5
5
  SHA512:
6
- metadata.gz: 041efef7ad38ec390897e3bd8e9b868354b017784d79f8b5ad0ea72ddc9299442f5cf7a05ba6a8d6b3d6dc29eb976725c4f37cd93a82612c81df88097dcdcd77
7
- data.tar.gz: 752e84028c7ab71d71fb4088a1db9b5532842f3d5780f3dadb6b0e1e2867ab32f23c7b16f1ecd102a47025013da117d8ee448775fc4e86b90a50d399f831fa4d
6
+ metadata.gz: 2215795614367b68ce9a0d41d173cdc2919579adf7f93228c8e21fe5a3d5fc730e08eb8110aa36b04c045bcc5748a689ed4b20d41c1214a631c847078ae039b3
7
+ data.tar.gz: b6b896dd46c2d8691d882bfae6e8860dbd043e2eea46d1563f81d75996c55c5754c5494bb5c8fbce2980ec7c3caf0aa0b9f6fec9ebf8fc6547f95850325fd18d
@@ -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 = '2.0'
5
+ s.version = '2.0.1'
6
6
  s.authors = ['Ribose Inc.']
7
7
  s.email = ['open.source@ribose.com']
8
8
 
@@ -113,7 +113,7 @@ module Jekyll
113
113
  site.config["num_all_#{index_name}"] = items.size
114
114
 
115
115
  featured_items = items.select { |item| item.data['feature_with_priority'] != nil }
116
- site.config["featured_#{index_name}"] = featured_items
116
+ site.config["featured_#{index_name}"] = featured_items.sort_by { |item| item.data['feature_with_priority'] }
117
117
  site.config["num_featured_#{index_name}"] = featured_items.size
118
118
 
119
119
  non_featured_items = items.select { |item| item.data['feature_with_priority'] == nil }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-open-project-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.0'
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.