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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4c4b04f631f93d694b6ac414c7c13e9ee040bdb054adad7d8fcacf74c86d26d
4
- data.tar.gz: 83990ea5e791dc5fddf63e9493ca50af1ecacbd35021481f1400b09df70b0cc1
3
+ metadata.gz: bbf29c25ea3f418a5aaed7a236aedaf123bdc00a56e9c5d4d695ff0fba17b7ca
4
+ data.tar.gz: 753290a87bcab62f7f67649633b6c26b1a5cdff1ebde9d8bd44cad4370616e3d
5
5
  SHA512:
6
- metadata.gz: f37621435bcb0c4d22a3765deee2e2a8942a3c6e1198ad2f737076c8aa8898937bc32d1ce2b2573fdfc16390cf05be92de5701226355764ab086553c21b03024
7
- data.tar.gz: 3968dcc9173c86d0466cd00fb5d67e5236e716136a237b6e03b9a3509a319a948f8c804e22b1d46d5021d8f43d82911c6f1c75e22008bbb883b16234acb834ad
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
- - exe/**/*
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
- * Updated to `jekyll_plugin_support` v0.6.0 for attribution support.
3
- * Fixed `jeky_block_tag_plugin.rb` so it works properly with `jekyll_plugin_support`.
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
- * Updated to `jekyll_plugin_support` v0.5.0.
16
+
17
+ * Updated to `jekyll_plugin_support` v0.5.0.
18
+
7
19
 
8
20
  ## 0.1.3 / 2023-02-12
9
- * Added `grin`, `horns`, `open`, `poop` and `sad` emojis.
10
- * Now based on [`JekyllSupport::JekyllTag`](https://mslinn.com/jekyll/10200-jekyll-plugin-support.html) instead of `Liquid::Tag`.
11
- * Added `list` and `emoji_and_name` options.
12
- * Updated `demo` to exercise the new features.
13
- * `Demo` now builds the plugins prior to each run.
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
- * Renamed `lib/jekyll_tag_plugins.rb` to `lib/jekyll_block_tag_plugin.rb`
17
- * Added `lib/jekyll_tag_plugin.rb`
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
- * Initial version published
21
- * `bin/run_this_first` is unfinished but plugins work
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:local
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 = ['Firstname Lastname']
7
- spec.bindir = 'bin'
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.7.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'
@@ -77,6 +77,6 @@ module JekyllBlockTagPlugin
77
77
  exit 3
78
78
  end
79
79
 
80
- JekyllPluginHelper.register(self, JekyllPluginBlockTagTemplate::PLUGIN_NAME)
80
+ JekyllSupport::JekyllPluginHelper.register(self, JekyllPluginBlockTagTemplate::PLUGIN_NAME)
81
81
  end
82
82
  end
@@ -1,3 +1,3 @@
1
1
  module JekyllPluginTemplateVersion
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.3.1'.freeze
3
3
  end
@@ -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, JekyllPluginTagTemplate::PLUGIN_NAME)
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.filter_run :focus
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.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
- - Firstname Lastname
7
+ - Mike Slinn
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-06 00:00:00.000000000 Z
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.7.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.7.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.3.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.