jekyll-tagging-related_posts 1.1.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +5 -17
- data/Gemfile +10 -0
- data/LICENSE.txt +1 -1
- data/README.md +0 -5
- data/Rakefile +2 -0
- data/gemfiles/jekyll_3.9.gemfile +14 -0
- data/gemfiles/jekyll_4.0.gemfile +14 -0
- data/gemfiles/jekyll_4.1.gemfile +14 -0
- data/gemfiles/jekyll_4.2.gemfile +14 -0
- data/gemfiles/jekyll_4.3.gemfile +14 -0
- data/jekyll-tagging-related_posts.gemspec +24 -25
- data/lib/jekyll/tagging/related_posts/version.rb +1 -1
- metadata +15 -118
- data/.gitignore +0 -12
- data/.travis.yml +0 -19
- data/bin/console +0 -14
- data/bin/setup +0 -7
- data/gemfiles/jekyll_3.1.gemfile +0 -7
- data/gemfiles/jekyll_3.2.gemfile +0 -7
- data/gemfiles/jekyll_3.3.gemfile +0 -7
- data/gemfiles/jekyll_3.4.gemfile +0 -7
- data/gemfiles/jekyll_3.5.gemfile +0 -7
- data/gemfiles/jekyll_3.6.gemfile +0 -7
- data/gemfiles/jekyll_3.7.gemfile +0 -7
- data/gemfiles/jekyll_3.8.gemfile +0 -7
- data/gemfiles/jekyll_3.gemfile +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a7e4087019ae7740655c869bb8eb958c6f60efb48ced2cc9eb7de4b074fb30b
|
4
|
+
data.tar.gz: ff24958b42cf245f8a6bfb71be4594c6dcd123abdf208a7654bbd66840780921
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 838eefc85ff2ef293b3858e84f6c5d11e62462363fa0e3ff64466c1899cece6536cf65f0dc3e67a7a51b194d39c715f32cacb51bab309854e6026f39138afdc2
|
7
|
+
data.tar.gz: 97f33de815fb751899976a1dfc6338649c58c01beea0e92d605b51618f98806e7248a0ded7677b244fd1fedcbe2780846998f978aef35283acc9cf76e09c702e
|
data/Appraisals
CHANGED
@@ -1,21 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
# gem "jekyll", "4.0.0"
|
5
|
-
# end
|
3
|
+
SUPPORTED_JEKYLL_VERSIONS = %w[3.9 4.0 4.1 4.2 4.3].freeze
|
6
4
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
appraise "jekyll-3.7" do
|
12
|
-
gem "jekyll", "3.7.0"
|
13
|
-
end
|
14
|
-
|
15
|
-
appraise "jekyll-3.6" do
|
16
|
-
gem "jekyll", "3.6.0"
|
17
|
-
end
|
18
|
-
|
19
|
-
appraise "jekyll-3.5" do
|
20
|
-
gem "jekyll", "3.5.0"
|
5
|
+
SUPPORTED_JEKYLL_VERSIONS.each do |version|
|
6
|
+
appraise "jekyll-#{version}" do
|
7
|
+
gem "jekyll", "~> #{version}.0"
|
8
|
+
end
|
21
9
|
end
|
data/Gemfile
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -9,11 +9,6 @@ Jekyll `related_posts` function based on tags (works on Jekyll3). It replaces or
|
|
9
9
|
|
10
10
|
The calculation algorithm is based on [related\_posts-jekyll\_plugin](https://github.com/LawrenceWoodman/related_posts-jekyll_plugin) by [@LawrenceWoodman](https://github.com/LawrenceWoodman).
|
11
11
|
|
12
|
-
## Requirements
|
13
|
-
|
14
|
-
* Ruby 2.3+
|
15
|
-
* [Jekyll](https://github.com/jekyll/jekyll) 3.5+
|
16
|
-
|
17
12
|
## Installation
|
18
13
|
|
19
14
|
Add this line to your application's Gemfile:
|
data/Rakefile
CHANGED
@@ -1,34 +1,33 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require 'jekyll/tagging/related_posts/version'
|
3
|
+
require_relative 'lib/jekyll/tagging/related_posts/version'
|
6
4
|
|
7
5
|
Gem::Specification.new do |spec|
|
8
|
-
spec.name
|
9
|
-
spec.version
|
10
|
-
spec.authors
|
11
|
-
spec.email
|
6
|
+
spec.name = "jekyll-tagging-related_posts"
|
7
|
+
spec.version = Jekyll::Tagging::RelatedPosts::VERSION
|
8
|
+
spec.authors = ["toshimaru"]
|
9
|
+
spec.email = ["me@toshimaru.net"]
|
12
10
|
|
13
|
-
spec.summary
|
14
|
-
spec.description
|
15
|
-
spec.homepage
|
16
|
-
spec.license
|
11
|
+
spec.summary = %q{Jekyll `related_posts` function based on tags (works on Jekyll3)}
|
12
|
+
spec.description = %q{Jekyll `related_posts` function based on tags (works on Jekyll3). It replaces original Jekyll's `related_posts` function to use tags to calculate relationships.}
|
13
|
+
spec.homepage = "https://github.com/toshimaru/jekyll-tagging-related_posts"
|
14
|
+
spec.license = "MIT"
|
15
|
+
spec.required_ruby_version = ">= 2.7.0"
|
17
16
|
|
18
|
-
spec.
|
19
|
-
spec.
|
20
|
-
spec.
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
19
|
+
spec.metadata["changelog_uri"] = "https://github.com/toshimaru/jekyll-tagging-related_posts/releases"
|
20
|
+
|
21
|
+
# Specify which files should be added to the gem when it is released.
|
22
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
23
|
+
spec.files = Dir.chdir(__dir__) do
|
24
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
25
|
+
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
26
|
+
end
|
27
|
+
end
|
28
|
+
spec.bindir = "exe"
|
29
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
21
30
|
spec.require_paths = ["lib"]
|
22
31
|
|
23
|
-
spec.
|
24
|
-
|
25
|
-
spec.add_runtime_dependency "jekyll", ">= 3.5", "< 5.0"
|
26
|
-
|
27
|
-
spec.add_development_dependency "appraisal"
|
28
|
-
spec.add_development_dependency "bundler"
|
29
|
-
spec.add_development_dependency "byebug"
|
30
|
-
spec.add_development_dependency "codeclimate-test-reporter"
|
31
|
-
spec.add_development_dependency "minitest-reporters"
|
32
|
-
spec.add_development_dependency "minitest"
|
33
|
-
spec.add_development_dependency "rake"
|
32
|
+
spec.add_runtime_dependency "jekyll", ">= 3.9", "< 5.0"
|
34
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-tagging-related_posts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- toshimaru
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.9'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '5.0'
|
@@ -26,108 +26,10 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '3.
|
29
|
+
version: '3.9'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '5.0'
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: appraisal
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '0'
|
40
|
-
type: :development
|
41
|
-
prerelease: false
|
42
|
-
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
requirements:
|
44
|
-
- - ">="
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: '0'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: bundler
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - ">="
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '0'
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - ">="
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: '0'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: byebug
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - ">="
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '0'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - ">="
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '0'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: codeclimate-test-reporter
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - ">="
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '0'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - ">="
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '0'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: minitest-reporters
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - ">="
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '0'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - ">="
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '0'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: minitest
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '0'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '0'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: rake
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - ">="
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - ">="
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '0'
|
131
33
|
description: Jekyll `related_posts` function based on tags (works on Jekyll3). It
|
132
34
|
replaces original Jekyll's `related_posts` function to use tags to calculate relationships.
|
133
35
|
email:
|
@@ -136,25 +38,17 @@ executables: []
|
|
136
38
|
extensions: []
|
137
39
|
extra_rdoc_files: []
|
138
40
|
files:
|
139
|
-
- ".gitignore"
|
140
|
-
- ".travis.yml"
|
141
41
|
- Appraisals
|
142
42
|
- CHANGELOG.md
|
143
43
|
- Gemfile
|
144
44
|
- LICENSE.txt
|
145
45
|
- README.md
|
146
46
|
- Rakefile
|
147
|
-
-
|
148
|
-
-
|
149
|
-
- gemfiles/
|
150
|
-
- gemfiles/
|
151
|
-
- gemfiles/
|
152
|
-
- gemfiles/jekyll_3.4.gemfile
|
153
|
-
- gemfiles/jekyll_3.5.gemfile
|
154
|
-
- gemfiles/jekyll_3.6.gemfile
|
155
|
-
- gemfiles/jekyll_3.7.gemfile
|
156
|
-
- gemfiles/jekyll_3.8.gemfile
|
157
|
-
- gemfiles/jekyll_3.gemfile
|
47
|
+
- gemfiles/jekyll_3.9.gemfile
|
48
|
+
- gemfiles/jekyll_4.0.gemfile
|
49
|
+
- gemfiles/jekyll_4.1.gemfile
|
50
|
+
- gemfiles/jekyll_4.2.gemfile
|
51
|
+
- gemfiles/jekyll_4.3.gemfile
|
158
52
|
- jekyll-tagging-related_posts.gemspec
|
159
53
|
- lib/jekyll-tagging-related_posts.rb
|
160
54
|
- lib/jekyll/tagging/related_posts.rb
|
@@ -162,7 +56,10 @@ files:
|
|
162
56
|
homepage: https://github.com/toshimaru/jekyll-tagging-related_posts
|
163
57
|
licenses:
|
164
58
|
- MIT
|
165
|
-
metadata:
|
59
|
+
metadata:
|
60
|
+
homepage_uri: https://github.com/toshimaru/jekyll-tagging-related_posts
|
61
|
+
source_code_uri: https://github.com/toshimaru/jekyll-tagging-related_posts
|
62
|
+
changelog_uri: https://github.com/toshimaru/jekyll-tagging-related_posts/releases
|
166
63
|
post_install_message:
|
167
64
|
rdoc_options: []
|
168
65
|
require_paths:
|
@@ -171,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
171
68
|
requirements:
|
172
69
|
- - ">="
|
173
70
|
- !ruby/object:Gem::Version
|
174
|
-
version:
|
71
|
+
version: 2.7.0
|
175
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
73
|
requirements:
|
177
74
|
- - ">="
|
178
75
|
- !ruby/object:Gem::Version
|
179
76
|
version: '0'
|
180
77
|
requirements: []
|
181
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.26
|
182
79
|
signing_key:
|
183
80
|
specification_version: 4
|
184
81
|
summary: Jekyll `related_posts` function based on tags (works on Jekyll3)
|
data/.gitignore
DELETED
data/.travis.yml
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
cache: bundler
|
3
|
-
before_install: gem update bundler
|
4
|
-
rvm:
|
5
|
-
- 2.3.8
|
6
|
-
- 2.4.6
|
7
|
-
- 2.5.5
|
8
|
-
- 2.6.3
|
9
|
-
# Put this in your .travis.yml
|
10
|
-
gemfile:
|
11
|
-
- gemfiles/jekyll_3.8.gemfile
|
12
|
-
- gemfiles/jekyll_3.7.gemfile
|
13
|
-
- gemfiles/jekyll_3.6.gemfile
|
14
|
-
- gemfiles/jekyll_3.5.gemfile
|
15
|
-
after_success:
|
16
|
-
- bundle exec codeclimate-test-reporter
|
17
|
-
addons:
|
18
|
-
code_climate:
|
19
|
-
repo_token: 03d64532821ff06fd0cf9ae57dacc81b2322ac37ed14c5cfbb90ffea40e9c7fb
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "jekyll-tagging-related_posts"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|
data/bin/setup
DELETED
data/gemfiles/jekyll_3.1.gemfile
DELETED
data/gemfiles/jekyll_3.2.gemfile
DELETED
data/gemfiles/jekyll_3.3.gemfile
DELETED
data/gemfiles/jekyll_3.4.gemfile
DELETED
data/gemfiles/jekyll_3.5.gemfile
DELETED
data/gemfiles/jekyll_3.6.gemfile
DELETED
data/gemfiles/jekyll_3.7.gemfile
DELETED
data/gemfiles/jekyll_3.8.gemfile
DELETED