jekyll_context_inspector 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: b009a78b48c3243bca2418e851bd75cce51cc081708568c8e3b073cf68c9ee6b
4
- data.tar.gz: 8b036f1151375fcb5337230984caae7783bf07d250e7f0650977027b4d9c189f
3
+ metadata.gz: 9095cc0b000573196f914d85104f0562f8b1b5c30e9140db54d14ee6b722976b
4
+ data.tar.gz: d2c0c3c39853dbd6f820946c2089655fe834b4ac177afd489f8495e87b43cad9
5
5
  SHA512:
6
- metadata.gz: f61f8d7d1ad741eb782d6dcc19a23e4c47a03df94e84a7429df03fd152aea837626d4ab6d4b0a3a9ade04333428f48ae9d149f5e6b6e5e2ebdebef8a3145526d
7
- data.tar.gz: 81b88213a3a61cbd83dcf26c60d15574af323bd9d3d69b4eb956c5e3246efe5f2aa098a8aa101fd6009c26c579e47be588868b17d86d97f75d6f32f002f1c1fb
6
+ metadata.gz: 0ac88b994eb568ac456271b2844aec60be5238346d62358b1a35b76d7223e23b2384c0269cec9f6296cf48b0a43219d700981651ac89bdcc1ab7eb8fc9cfba14
7
+ data.tar.gz: 825d1cd0a90ccc0d317ca688ad179d7a707be976222bf083f39bcbcaaacd1f05354d35505f0982a9dcf39239b9482bb6372dda8a3e0c7ecadae9c4b24afd9344
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-16
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 = "Provides a Jekyll tag plugin that displays lots of information from context for websites in development mode."
34
34
  spec.test_files = spec.files.grep(%r!^(test|spec|features)/!)
35
- spec.version = JekyllContextInspector::VERSION
35
+ spec.version = JekyllContextInspectorVersion::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 JekyllContextInspector
4
- VERSION = "1.0.0"
3
+ module JekyllContextInspectorVersion
4
+ VERSION = "1.0.1"
5
5
  end
@@ -10,7 +10,7 @@ end
10
10
 
11
11
  class ContextInspector < Liquid::Tag
12
12
  def render(context)
13
- @logger = PluginMetaLogger.instance.new_logger(self)
13
+ @logger = PluginMetaLogger.instance.new_logger(self, PluginMetaLogger.instance.config)
14
14
  site = context.registers[:site]
15
15
  inspector_enabled = site.config["context_inspector"]
16
16
  return if inspector_enabled.nil? || !inspector_enabled
@@ -43,4 +43,4 @@ class ContextInspector < Liquid::Tag
43
43
  end
44
44
 
45
45
  Liquid::Template.register_tag(JekyllPlubinContextInspectorName::PLUGIN_NAME, ContextInspector)
46
- PluginMetaLogger.instance.info { "Loaded #{JekyllPlubinContextInspectorName::PLUGIN_NAME} v#{JekyllContextInspector::VERSION} plugin." }
46
+ PluginMetaLogger.instance.info { "Loaded #{JekyllPlubinContextInspectorName::PLUGIN_NAME} v#{JekyllContextInspectorVersion::VERSION} plugin." }
data/spec/spec_helper.rb CHANGED
@@ -7,4 +7,7 @@ RSpec.configure do |config|
7
7
  config.run_all_when_everything_filtered = true
8
8
  config.filter_run :focus
9
9
  config.order = "random"
10
+
11
+ # See https://relishapp.com/rspec/rspec-core/docs/command-line/only-failures
12
+ config.example_status_persistence_file_path = "spec/status_persistence.txt"
10
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_context_inspector
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
@@ -84,7 +84,7 @@ files:
84
84
  - jekyll_context_inspector.gemspec
85
85
  - lib/jekyll_context_inspector.rb
86
86
  - lib/jekyll_context_inspector/version.rb
87
- - spec/jekyll_context_inspector.rb
87
+ - spec/jekyll_context_inspector_spec.rb
88
88
  - spec/spec_helper.rb
89
89
  homepage: https://www.mslinn.com/blog/2020/10/03/jekyll-plugins.html#context_inspector
90
90
  licenses:
@@ -119,5 +119,5 @@ specification_version: 4
119
119
  summary: Provides a Jekyll tag plugin that displays lots of information from context
120
120
  for websites in development mode.
121
121
  test_files:
122
- - spec/jekyll_context_inspector.rb
122
+ - spec/jekyll_context_inspector_spec.rb
123
123
  - spec/spec_helper.rb