jekyll_archive_display 1.0.0 → 1.0.1

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: 37451a8e360f75ae492f4963417d64a1ea18119ec7102f2c14e37852444c2b30
4
- data.tar.gz: e9014b204916062edc00fcd57e60d835f73e9770108ceca09437ce94ac9ed2c9
3
+ metadata.gz: 56398d311db4b2e4c7fab8722d40233337f771f6726c625f08ff9f59e19aa7f4
4
+ data.tar.gz: 82183749dbc6e8e3dff533f1aaa6cdc958418432a9a5d1d8cc4851d1175485a6
5
5
  SHA512:
6
- metadata.gz: ed9d3c414acf0d055a2a583f4bcc8018425b680115c35398f63990c78f1013675fe708a53cbfe6906c4ca3be3bcb85a23f4fa3ec7798c99357b722d7efb8754b
7
- data.tar.gz: f0cf471adf5afc40c04706c5182d1a1f4b0737a7f15b82e84f45e3a717f7eaad4fe8a45226722af1ae591a702bc6d624ab32d52545e194dc9a0e4524ba695856
6
+ metadata.gz: c18d50658cc7dc41e43de120555ab431cc1cffdc7378ddb61747c69852adcf5dc2b0195cf7bbaa3eb55325f88282ab48bae230d2453becf96687c9e4cf91aff7
7
+ data.tar.gz: 5b1c55a18988fa8de963da944108e8e5d3141683946270847bc9af1944c83430fe1417a641ace13f47aa8dc3370a7eba51103832819ce0a7fb933fcf1a488070
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.0.1 / 2022-04-05
2
+ * Updated to jekyll_plugin_logger v2.1.0
3
+
1
4
  ## 1.0.0 / 2022-03-18
2
5
  * Published as a gem
3
6
 
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.required_ruby_version = ">= 2.6.0"
33
33
  spec.summary = "Jekyll tag plugin that lists the names and contents of each entry in a tar file."
34
34
  spec.test_files = spec.files.grep(%r!^(test|spec|features)/!)
35
- spec.version = JekyllArchiveDisplay::VERSION
35
+ spec.version = JekyllArchiveDisplayVersion::VERSION
36
36
 
37
37
  spec.add_dependency "jekyll", ">= 3.5.0"
38
38
  spec.add_dependency "jekyll_plugin_logger"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module JekyllArchiveDisplay
4
- VERSION = "1.0.0"
3
+ module JekyllArchiveDisplayVersion
4
+ VERSION = "1.0.1"
5
5
  end
@@ -19,7 +19,7 @@ module Jekyll
19
19
  # @return [void]
20
20
  def initialize(tag_name, archive_name, tokens)
21
21
  super(tag_name, archive_name, tokens)
22
- @logger = PluginMetaLogger.instance.new_logger(self)
22
+ @logger = PluginMetaLogger.instance.new_logger(self, PluginMetaLogger.instance.config)
23
23
  @archive_name = archive_name.strip
24
24
  end
25
25
 
@@ -85,5 +85,5 @@ module Jekyll
85
85
  end
86
86
  end
87
87
 
88
- PluginMetaLogger.instance.info { "Loaded #{JekyllPluginArchiveDisplayName::PLUGIN_NAME} v#{JekyllArchiveDisplay::VERSION} plugin." }
88
+ PluginMetaLogger.instance.info { "Loaded #{JekyllPluginArchiveDisplayName::PLUGIN_NAME} v#{JekyllArchiveDisplayVersion::VERSION} plugin." }
89
89
  Liquid::Template.register_tag(JekyllPluginArchiveDisplayName::PLUGIN_NAME, Jekyll::ArchiveDisplayTag)
data/spec/spec_helper.rb CHANGED
@@ -6,7 +6,10 @@ require "jekyll_plugin_logger"
6
6
  require_relative "../lib/archive_display"
7
7
 
8
8
  RSpec.configure do |config|
9
- config.run_all_when_everything_filtered = true
10
9
  config.filter_run :focus
11
10
  config.order = "random"
11
+ config.run_all_when_everything_filtered = true
12
+
13
+ # See https://relishapp.com/rspec/rspec-core/docs/command-line/only-failures
14
+ config.example_status_persistence_file_path = "spec/status_persistence.txt"
12
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_archive_display
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Slinn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-25 00:00:00.000000000 Z
11
+ date: 2022-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -112,7 +112,7 @@ files:
112
112
  - jekyll_archive_display.gemspec
113
113
  - lib/archive_display.rb
114
114
  - lib/archive_display/version.rb
115
- - spec/archive_display.rb
115
+ - spec/archive_display_spec.rb
116
116
  - spec/spec_helper.rb
117
117
  homepage: https://www.mslinn.com/blog/2020/10/03/jekyll-plugins.html#archiveDisplay
118
118
  licenses:
@@ -147,5 +147,5 @@ specification_version: 4
147
147
  summary: Jekyll tag plugin that lists the names and contents of each entry in a tar
148
148
  file.
149
149
  test_files:
150
- - spec/archive_display.rb
150
+ - spec/archive_display_spec.rb
151
151
  - spec/spec_helper.rb