jekyll-tfidf-related-posts 0.1.3 → 0.1.4

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: e22585332c67bf3824430969526e5c7324e0f3b8
4
- data.tar.gz: ef15a90f780eac2d4acc0408e976a14b57dd2d19
3
+ metadata.gz: 74d009f7cd0bc7aabb8f152b8257ea9ba9749f65
4
+ data.tar.gz: 4a2e7342a4321ba8cf11447163726fd1ea87093a
5
5
  SHA512:
6
- metadata.gz: b9750819c804abf8ba2801eaea0b3fc1ccc16267a10a178c89441406e505f07a8de54fdcdbd7a29d958818c85724f8ee23d9444d6387938e3236f81cde5bf2af
7
- data.tar.gz: 4585d8e50534f96a33a5d54c02ff07c6bdeaaa60918ace5c13e2ef27bbe86204965844fae67d663ee947c6d8700bc883fe5fc5771c2918cdddfe1abc7e76af1e
6
+ metadata.gz: 1f72856300083cfa14c2262fdaa4a92ace68c8e882ce0e12ab857e4e26b6f66b9d878ab47454f66ad68a04684ee66cf46a1603342b6e125ed485c64b481b5866
7
+ data.tar.gz: d737cc7430e2920b161ec60f28f36e5353de21faf35993dda38269fe3afdc900aa2a60b7486459fd41a70c02e4976e8d6e230798152be580d3de4121aba104c2
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # jekyll-tdidf-related-posts
2
2
 
3
- [![DUB](https://img.shields.io/dub/l/vibe-d.svg)]()
3
+ [![Gem Version](https://badge.fury.io/rb/jekyll-tfidf-related-posts.svg)](https://rubygems.org/gems/jekyll-tfidf-related-posts)
4
+ [![DUB](https://img.shields.io/dub/l/vibe-d.svg)](LICENSE.txt)
4
5
 
5
6
  [Jekyll](http://jekyllrb.com) plugin to show related posts based on the content, tags, and categories. The similarity is calculated using TF-IDF(term frequency-inverted document frequency). Since tags and categories are use-defined values, those are considered with higher weights than a content while calculating.
6
7
 
@@ -21,12 +22,14 @@ plugins:
21
22
  ### How to use
22
23
  This plugin calculates related posts and replaces `site.related_posts` containing recent 10 posts by default. So, you can render related posts by iterating `site.related_posts`.
23
24
 
24
- ```
25
+ ```java
25
26
  {% for post in site.related_posts %}
26
27
  {% include related-post.html %}
27
28
  {% endfor %}
28
29
  ```
29
30
 
31
+ > GitHub Pages supports only [these plugins](https://pages.github.com/versions/). For GitHub Pages, you need to generate your site locally and then push static files to GitHub Pages site.
32
+
30
33
  ### Configuration
31
34
 
32
35
  By default, there are 4 related posts. You can configure it in the `_config.yml`
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "jekyll-tfidf-related-posts"
7
- spec.version = "0.1.3"
7
+ spec.version = "0.1.4"
8
8
  spec.authors = ["Sangsoo Nam"]
9
9
  spec.email = ["sangsoo.ted@gmail.com"]
10
10
  spec.summary = %q{Jekyll plugin to show related posts based on the content, tags, and categories.}
@@ -13,6 +13,7 @@ Gem::Specification.new do |spec|
13
13
  spec.license = "MIT"
14
14
 
15
15
  spec.files = `git ls-files -z`.split("\x0")
16
+ spec.required_ruby_version = ">= 2.3.0"
16
17
  spec.require_paths = ["lib"]
17
18
 
18
19
  spec.add_dependency "jekyll", "~> 3.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-tfidf-related-posts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sangsoo Nam
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - ">="
110
110
  - !ruby/object:Gem::Version
111
- version: '0'
111
+ version: 2.3.0
112
112
  required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="