jekyll_context_inspector 1.0.0 → 1.0.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/CHANGELOG.md +3 -0
- data/jekyll_context_inspector.gemspec +1 -1
- data/lib/jekyll_context_inspector/version.rb +2 -2
- data/lib/jekyll_context_inspector.rb +2 -2
- data/spec/{jekyll_context_inspector.rb → jekyll_context_inspector_spec.rb} +0 -0
- data/spec/spec_helper.rb +3 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9095cc0b000573196f914d85104f0562f8b1b5c30e9140db54d14ee6b722976b
|
|
4
|
+
data.tar.gz: d2c0c3c39853dbd6f820946c2089655fe834b4ac177afd489f8495e87b43cad9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ac88b994eb568ac456271b2844aec60be5238346d62358b1a35b76d7223e23b2384c0269cec9f6296cf48b0a43219d700981651ac89bdcc1ab7eb8fc9cfba14
|
|
7
|
+
data.tar.gz: 825d1cd0a90ccc0d317ca688ad179d7a707be976222bf083f39bcbcaaacd1f05354d35505f0982a9dcf39239b9482bb6372dda8a3e0c7ecadae9c4b24afd9344
|
data/CHANGELOG.md
CHANGED
|
@@ -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 =
|
|
35
|
+
spec.version = JekyllContextInspectorVersion::VERSION
|
|
36
36
|
|
|
37
37
|
spec.add_dependency "jekyll", ">= 3.5.0"
|
|
38
38
|
spec.add_dependency "jekyll_plugin_logger"
|
|
@@ -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#{
|
|
46
|
+
PluginMetaLogger.instance.info { "Loaded #{JekyllPlubinContextInspectorName::PLUGIN_NAME} v#{JekyllContextInspectorVersion::VERSION} plugin." }
|
|
File without changes
|
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.
|
|
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-
|
|
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/
|
|
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/
|
|
122
|
+
- spec/jekyll_context_inspector_spec.rb
|
|
123
123
|
- spec/spec_helper.rb
|