jekyll_plugin_template 0.3.0 → 0.3.1
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 +4 -4
- data/.rubocop.yml +4 -2
- data/CHANGELOG.md +29 -12
- data/README.md +1 -1
- data/jekyll_plugin_template.gemspec +4 -4
- data/lib/jekyll_block_tag_plugin.rb +1 -1
- data/lib/jekyll_plugin_template/version.rb +1 -1
- data/lib/jekyll_tag_plugin.rb +3 -5
- data/spec/spec_helper.rb +1 -2
- data/spec/status_persistence.txt +5 -0
- metadata +8 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bbf29c25ea3f418a5aaed7a236aedaf123bdc00a56e9c5d4d695ff0fba17b7ca
|
|
4
|
+
data.tar.gz: 753290a87bcab62f7f67649633b6c26b1a5cdff1ebde9d8bd44cad4370616e3d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92dd8e9cade06df75d6cadde7156d9ef55762ae59e7f2a28a7d3965477742513aca7ec71cd24461148c3991e9f254f9c79df006b873dcaf365340f5a6c1c3b36
|
|
7
|
+
data.tar.gz: db9fc71ce9001fd46cb3a5068f707a1670288c574cb87e3b757e9bef23c11b249e6ca0ee00a6ffd52358e7779df7f1fa1230144cb18ec20560cf54ada57c86a9
|
data/.rubocop.yml
CHANGED
|
@@ -8,17 +8,19 @@ require:
|
|
|
8
8
|
AllCops:
|
|
9
9
|
Exclude:
|
|
10
10
|
- demo/_site/**/*
|
|
11
|
-
-
|
|
11
|
+
- binstub/**/*
|
|
12
12
|
- vendor/**/*
|
|
13
13
|
- Gemfile*
|
|
14
14
|
- Rakefile
|
|
15
15
|
- jekyll_plugin_template.gemspec
|
|
16
16
|
NewCops: enable
|
|
17
|
-
TargetRubyVersion: 2.6
|
|
18
17
|
|
|
19
18
|
Gemspec/DeprecatedAttributeAssignment:
|
|
20
19
|
Enabled: false
|
|
21
20
|
|
|
21
|
+
Gemspec/RequiredRubyVersion:
|
|
22
|
+
Enabled: false
|
|
23
|
+
|
|
22
24
|
Gemspec/RequireMFA:
|
|
23
25
|
Enabled: false
|
|
24
26
|
|
data/CHANGELOG.md
CHANGED
|
@@ -1,21 +1,38 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## 0.3.1 / 2024-07-24
|
|
5
|
+
|
|
6
|
+
* Updated to `jekyll_plugin_support` v1.0.0.
|
|
7
|
+
|
|
8
|
+
|
|
1
9
|
## 0.3.0 / 2023-04-05
|
|
2
|
-
|
|
3
|
-
|
|
10
|
+
|
|
11
|
+
* Updated to `jekyll_plugin_support` v0.6.0 for attribution support.
|
|
12
|
+
* Fixed `jeky_block_tag_plugin.rb` so it works properly with `jekyll_plugin_support`.
|
|
13
|
+
|
|
4
14
|
|
|
5
15
|
## 0.2.0 / 2023-02-16
|
|
6
|
-
|
|
16
|
+
|
|
17
|
+
* Updated to `jekyll_plugin_support` v0.5.0.
|
|
18
|
+
|
|
7
19
|
|
|
8
20
|
## 0.1.3 / 2023-02-12
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
21
|
+
|
|
22
|
+
* Added `grin`, `horns`, `open`, `poop` and `sad` emojis.
|
|
23
|
+
* Now based on [`JekyllSupport::JekyllTag`](https://mslinn.com/jekyll/10200-jekyll-plugin-support.html) instead of `Liquid::Tag`.
|
|
24
|
+
* Added `list` and `emoji_and_name` options.
|
|
25
|
+
* Updated `demo` to exercise the new features.
|
|
26
|
+
* `Demo` now builds the plugins prior to each run.
|
|
27
|
+
|
|
14
28
|
|
|
15
29
|
## 0.1.3 / 2022-04-15
|
|
16
|
-
|
|
17
|
-
|
|
30
|
+
|
|
31
|
+
* Renamed `lib/jekyll_tag_plugins.rb` to `lib/jekyll_block_tag_plugin.rb`
|
|
32
|
+
* Added `lib/jekyll_tag_plugin.rb`
|
|
33
|
+
|
|
18
34
|
|
|
19
35
|
## 0.1.2 / 2022-04-05
|
|
20
|
-
|
|
21
|
-
|
|
36
|
+
|
|
37
|
+
* Initial version published
|
|
38
|
+
* `bin/run_this_first` is unfinished but plugins work
|
data/README.md
CHANGED
|
@@ -45,7 +45,7 @@ The customized gem is ready to be pushed to `RubyGems.org`, or any other Ruby ge
|
|
|
45
45
|
```
|
|
46
46
|
5) Build the plugins provided with this template.
|
|
47
47
|
```shell
|
|
48
|
-
$ rake install
|
|
48
|
+
$ bundle exec rake install
|
|
49
49
|
```
|
|
50
50
|
6) You can now use your new Jekyll plugins in a Jekyll website.
|
|
51
51
|
|
|
@@ -3,8 +3,8 @@ require_relative 'lib/jekyll_plugin_template/version'
|
|
|
3
3
|
Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
|
4
4
|
github = 'https://github.com/mslinn/jekyll_plugin_template'
|
|
5
5
|
|
|
6
|
-
spec.authors = ['
|
|
7
|
-
spec.bindir = '
|
|
6
|
+
spec.authors = ['Mike Slinn']
|
|
7
|
+
spec.bindir = 'exe'
|
|
8
8
|
spec.description = <<~END_OF_DESC
|
|
9
9
|
Expand on what spec.summary says.
|
|
10
10
|
END_OF_DESC
|
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
|
|
15
15
|
spec.files = Dir['.rubocop.yml', 'LICENSE.*', 'Rakefile', '{lib,spec}/**/*', '*.gemspec', '*.md']
|
|
16
16
|
|
|
17
17
|
spec.homepage = 'https://www.mslinn.com/jekyll/10400-jekyll-plugin-template-collection.html'
|
|
18
|
-
spec.license = 'CC0-1.0'
|
|
18
|
+
spec.license = 'CC0-1.0' # MIT is most popular for Ruby gems
|
|
19
19
|
spec.metadata = {
|
|
20
20
|
'allowed_push_host' => 'https://rubygems.org',
|
|
21
21
|
'bug_tracker_uri' => "#{github}/issues",
|
|
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
|
|
30
30
|
spec.version = JekyllPluginTemplateVersion::VERSION
|
|
31
31
|
|
|
32
32
|
spec.add_dependency 'jekyll', '>= 3.5.0'
|
|
33
|
-
spec.add_dependency 'jekyll_plugin_support', '>= 0.
|
|
33
|
+
spec.add_dependency 'jekyll_plugin_support', '>= 1.0.0'
|
|
34
34
|
spec.add_dependency 'git'
|
|
35
35
|
spec.add_dependency 'nokogiri'
|
|
36
36
|
spec.add_dependency 'os'
|
data/lib/jekyll_tag_plugin.rb
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
require 'jekyll_plugin_support'
|
|
2
2
|
|
|
3
|
-
module JekyllPluginTagTemplate
|
|
4
|
-
PLUGIN_NAME = 'tag_template'.freeze
|
|
5
|
-
end
|
|
6
|
-
|
|
7
3
|
# This Jekyll tag plugin creates an emoji of the desired size and alignment.
|
|
8
4
|
#
|
|
9
5
|
# @example Float Smiley emoji right, sized 3em
|
|
@@ -22,6 +18,8 @@ end
|
|
|
22
18
|
# plugin_loggers:
|
|
23
19
|
# MyTag: debug
|
|
24
20
|
module JekyllTagPlugin
|
|
21
|
+
PLUGIN_NAME = 'tag_template'.freeze
|
|
22
|
+
|
|
25
23
|
# This class implements the Jekyll tag functionality
|
|
26
24
|
class MyTag < JekyllSupport::JekyllTag
|
|
27
25
|
include JekyllPluginTemplateVersion
|
|
@@ -111,6 +109,6 @@ module JekyllTagPlugin
|
|
|
111
109
|
END_RESULT
|
|
112
110
|
end
|
|
113
111
|
|
|
114
|
-
JekyllPluginHelper.register(self,
|
|
112
|
+
JekyllSupport::JekyllPluginHelper.register(self, JekyllTagPlugin::PLUGIN_NAME)
|
|
115
113
|
end
|
|
116
114
|
end
|
data/spec/spec_helper.rb
CHANGED
|
@@ -8,9 +8,8 @@ require_relative '../lib/jekyll_plugin_template'
|
|
|
8
8
|
Jekyll.logger.log_level = :info
|
|
9
9
|
|
|
10
10
|
RSpec.configure do |config|
|
|
11
|
-
config.
|
|
11
|
+
config.filter_run_when_matching focus: true
|
|
12
12
|
config.order = 'random'
|
|
13
|
-
config.run_all_when_everything_filtered = true
|
|
14
13
|
|
|
15
14
|
# See https://relishapp.com/rspec/rspec-core/docs/command-line/only-failures
|
|
16
15
|
config.example_status_persistence_file_path = 'spec/status_persistence.txt'
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
example_id | status | run_time |
|
|
2
|
+
------------------------------------------ | ------ | --------------- |
|
|
3
|
+
./spec/jekyll_plugin_template_spec.rb[1:1] | passed | 0.02165 seconds |
|
|
4
|
+
./spec/run_this_first_spec.rb[1:1] | failed | 0.00134 seconds |
|
|
5
|
+
./spec/run_this_first_spec.rb[1:2] | failed | 2.84 seconds |
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll_plugin_template
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- Mike Slinn
|
|
8
8
|
autorequire:
|
|
9
|
-
bindir:
|
|
9
|
+
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-07-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0.
|
|
33
|
+
version: 1.0.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 0.
|
|
40
|
+
version: 1.0.0
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: git
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -143,6 +143,7 @@ files:
|
|
|
143
143
|
- spec/run_this_first_helper.rb
|
|
144
144
|
- spec/run_this_first_spec.rb
|
|
145
145
|
- spec/spec_helper.rb
|
|
146
|
+
- spec/status_persistence.txt
|
|
146
147
|
homepage: https://www.mslinn.com/jekyll/10400-jekyll-plugin-template-collection.html
|
|
147
148
|
licenses:
|
|
148
149
|
- CC0-1.0
|
|
@@ -167,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
167
168
|
- !ruby/object:Gem::Version
|
|
168
169
|
version: '0'
|
|
169
170
|
requirements: []
|
|
170
|
-
rubygems_version: 3.
|
|
171
|
+
rubygems_version: 3.5.16
|
|
171
172
|
signing_key:
|
|
172
173
|
specification_version: 4
|
|
173
174
|
summary: Write a short summary; RubyGems requires one.
|