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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06d4a6839ca90be16df69996f59651fd52b9d67ff69049e28df4ec07a72d6e53
4
- data.tar.gz: 991da361d11487d5e4de70f7be18ef3c01055c7dd80f37ac901c1ee94aabafab
3
+ metadata.gz: 8a7e4087019ae7740655c869bb8eb958c6f60efb48ced2cc9eb7de4b074fb30b
4
+ data.tar.gz: ff24958b42cf245f8a6bfb71be4594c6dcd123abdf208a7654bbd66840780921
5
5
  SHA512:
6
- metadata.gz: 4e25effec966526a30ec1da85cfad920d6c86a3ba1b560b03acaa84c20037502a58d4c0c3c307ea2eeea66b45a46166481fe300a38461154076774894ace07c0
7
- data.tar.gz: 1451f60da677418025ecc81a14b95482cb1130f8cd53f9f6cad6aa5e54a5e16f030abf77ea9a4bd70b8af112612b069c0b18324192da600590fbc59d8adf9903
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
- # appraise "jekyll-4.0" do
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
- appraise "jekyll-3.8" do
8
- gem "jekyll", "3.8.0"
9
- end
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
@@ -1,3 +1,13 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  gemspec
6
+
7
+ gem "appraisal"
8
+ gem "bundler"
9
+ gem "minitest-reporters"
10
+ gem "minitest"
11
+ gem "pry"
12
+ gem "rake"
13
+ gem "simplecov"
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016 toshi
3
+ Copyright (c) 2016-2023 Toshimaru
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "bundler/gem_tasks"
2
4
  require "rake/testtask"
3
5
 
@@ -0,0 +1,14 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "appraisal"
6
+ gem "bundler"
7
+ gem "minitest-reporters"
8
+ gem "minitest"
9
+ gem "pry"
10
+ gem "rake"
11
+ gem "simplecov"
12
+ gem "jekyll", "~> 3.9.0"
13
+
14
+ gemspec path: "../"
@@ -0,0 +1,14 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "appraisal"
6
+ gem "bundler"
7
+ gem "minitest-reporters"
8
+ gem "minitest"
9
+ gem "pry"
10
+ gem "rake"
11
+ gem "simplecov"
12
+ gem "jekyll", "~> 4.0.0"
13
+
14
+ gemspec path: "../"
@@ -0,0 +1,14 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "appraisal"
6
+ gem "bundler"
7
+ gem "minitest-reporters"
8
+ gem "minitest"
9
+ gem "pry"
10
+ gem "rake"
11
+ gem "simplecov"
12
+ gem "jekyll", "~> 4.1.0"
13
+
14
+ gemspec path: "../"
@@ -0,0 +1,14 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "appraisal"
6
+ gem "bundler"
7
+ gem "minitest-reporters"
8
+ gem "minitest"
9
+ gem "pry"
10
+ gem "rake"
11
+ gem "simplecov"
12
+ gem "jekyll", "~> 4.2.0"
13
+
14
+ gemspec path: "../"
@@ -0,0 +1,14 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "appraisal"
6
+ gem "bundler"
7
+ gem "minitest-reporters"
8
+ gem "minitest"
9
+ gem "pry"
10
+ gem "rake"
11
+ gem "simplecov"
12
+ gem "jekyll", "~> 4.3.0"
13
+
14
+ gemspec path: "../"
@@ -1,34 +1,33 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path('../lib', __FILE__)
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 = "jekyll-tagging-related_posts"
9
- spec.version = Jekyll::Tagging::RelatedPosts::VERSION
10
- spec.authors = ["toshimaru"]
11
- spec.email = ["me@toshimaru.net"]
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 = %q{Jekyll `related_posts` function based on tags (works on Jekyll3)}
14
- 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.}
15
- spec.homepage = "https://github.com/toshimaru/jekyll-tagging-related_posts"
16
- spec.license = "MIT"
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.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
- spec.bindir = "exe"
20
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
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.required_ruby_version = ">= 2.3"
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
@@ -3,7 +3,7 @@
3
3
  module Jekyll
4
4
  module Tagging
5
5
  module RelatedPosts
6
- VERSION = '1.1.1'
6
+ VERSION = '1.3.0'
7
7
  end
8
8
  end
9
9
  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.1.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: 2022-06-08 00:00:00.000000000 Z
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.5'
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.5'
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
- - bin/console
148
- - bin/setup
149
- - gemfiles/jekyll_3.1.gemfile
150
- - gemfiles/jekyll_3.2.gemfile
151
- - gemfiles/jekyll_3.3.gemfile
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: '2.3'
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.7
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
@@ -1,12 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- /test/dest
11
-
12
- *.gemfile.lock
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
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "jekyll", "3.1.2"
6
-
7
- gemspec :path => "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "jekyll", "3.2.1"
6
-
7
- gemspec :path => "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "jekyll", "3.3.1"
6
-
7
- gemspec :path => "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "jekyll", "3.4.4"
6
-
7
- gemspec :path => "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "jekyll", "3.5.0"
6
-
7
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "jekyll", "3.6.0"
6
-
7
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "jekyll", "3.7.0"
6
-
7
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "jekyll", "3.8.0"
6
-
7
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "jekyll", "3.0.3"
6
-
7
- gemspec :path => "../"