jekyll_plugin_logger 2.1.0 → 2.1.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: 26418179467ef67c9e606c45bd565fff0fe4f8c450da9efa243d29d99b581821
4
- data.tar.gz: 6f7b529c26a6df0b236acb15c2a6c9314b2679cba64d152c41b3f581ab188a8e
3
+ metadata.gz: 6d9885c654b34790e6f52a8e3a92a008cc51a40fc2a6ea404037f0e3e929291d
4
+ data.tar.gz: 72130fb28aea51696ae2ddf2be772e330dfd7d59ba2f0cc14d2545093c572c25
5
5
  SHA512:
6
- metadata.gz: 61308925aaf08121c323b650a7918c549a33c5eb4a2b0c50985210be2edd11bcadf5d31d4773c9a09c96194822efb95b83767ea10f98864752ec7a36cb5ee118
7
- data.tar.gz: e4f70c43f66bffe16ccb045ed645d6ac0167de28e9146661325d69c155a444f9b717bfd9d9972e43e17217445c11247a58de13325cd1e04ef9f32a07d78bd650
6
+ metadata.gz: 509269138c34ff09d9a226657f07443155b89349681929218390b8041dc49b9497c2278c6f5ab6074fdfd7b1541a5caf7b5076eaa45524a734c64d0b6639c98e
7
+ data.tar.gz: 798aeac0b80dd88b3cbbe6e174511afd1b5c4df87325adf54af7683051a87776f83310097424e0dd7dc0c6030fdc7648311df982bd68d05c9d95b72f9c423054
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 2.1.1 / 2022-04-15
2
+ * Fixed progname reference for metalogger debug startup statement
3
+
1
4
  ## 2.1.0 / 2022-04-05
2
5
  * Changed how config info is made available
3
6
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JekyllPluginLoggerVersion
4
- VERSION = "2.1.0"
4
+ VERSION = "2.1.1"
5
5
  end
@@ -152,7 +152,7 @@ class PluginMetaLogger
152
152
  include Singleton
153
153
  attr_reader :config, :logger
154
154
 
155
- def initialize()
155
+ def initialize
156
156
  super
157
157
  @config = nil
158
158
  @logger = new_logger(self)
@@ -193,5 +193,5 @@ Jekyll::Hooks.register(:site, :after_reset, :priority => :high) do |site|
193
193
  instance = PluginMetaLogger.instance
194
194
  logger = instance.new_logger(PluginMetaLogger, site.config)
195
195
  logger.info { "Loaded #{JekyllPluginLoggerName::PLUGIN_NAME} v#{JekyllPluginLoggerVersion::VERSION} plugin." }
196
- logger.debug { "Logger for #{instance.progname} created at level #{instance.level_as_sym}" }
196
+ logger.debug { "Logger for #{instance.logger.progname} created at level #{instance.level_as_sym}" }
197
197
  end
@@ -0,0 +1,7 @@
1
+ example_id | status | run_time |
2
+ ---------------------------------------- | ------ | --------------- |
3
+ ./spec/jekyll_plugin_logger_spec.rb[1:1] | failed | 0.02037 seconds |
4
+ ./spec/jekyll_plugin_logger_spec.rb[1:2] | passed | 0.03764 seconds |
5
+ ./spec/jekyll_plugin_logger_spec.rb[1:3] | passed | 0.00041 seconds |
6
+ ./spec/jekyll_plugin_logger_spec.rb[1:4] | passed | 0.00026 seconds |
7
+ ./spec/jekyll_plugin_logger_spec.rb[1:5] | passed | 0.0002 seconds |
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_plugin_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.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-04-06 00:00:00.000000000 Z
11
+ date: 2022-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -71,6 +71,7 @@ files:
71
71
  - lib/jekyll_plugin_logger/version.rb
72
72
  - spec/jekyll_plugin_logger_spec.rb
73
73
  - spec/spec_helper.rb
74
+ - spec/status_persistence.txt
74
75
  homepage: https://www.mslinn.com/blog/2020/12/28/custom-logging-in-jekyll-plugins.html
75
76
  licenses:
76
77
  - MIT
@@ -105,3 +106,4 @@ summary: Generates Jekyll logger with colored output.
105
106
  test_files:
106
107
  - spec/jekyll_plugin_logger_spec.rb
107
108
  - spec/spec_helper.rb
109
+ - spec/status_persistence.txt