jekyll_remote_plantuml_plugin 0.2.0 → 0.2.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3629994f172994f5927f24b4a65b80a778d33eaca416eb00f1d593a581321ae6
|
4
|
+
data.tar.gz: ae81b8bfaf021b53723caf0c17e2cd662b20719970fd2b718224294e91d91b7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04a85d08bca0976572a2db7026fa1f900e2d84911b1f64afc307a133c3dc9e2e7185b3f4dcf8bba87a250467d5a3b912efeee80655c44bd64ae531def3b8ee5a
|
7
|
+
data.tar.gz: 47e5890b8c488264c50b960042519bf4ab83119ffd3c37c54504ca0350f6f263d39f1eb51d0bb5000b3e9ed131ede07cf79688478041666d6fed6892a3f19c84
|
@@ -59,7 +59,7 @@ module JekyllRemotePlantUMLPlugin
|
|
59
59
|
tag_options.each { |key, _| tag_options.delete(key) unless TAG_OPTIONS.include?(key) }
|
60
60
|
|
61
61
|
# merge with config options
|
62
|
-
configuration_options.merge(tag_options)
|
62
|
+
configuration_options(context).merge(tag_options)
|
63
63
|
end
|
64
64
|
|
65
65
|
# rubocop:disable Metrics/MethodLength
|
@@ -78,8 +78,8 @@ module JekyllRemotePlantUMLPlugin
|
|
78
78
|
end
|
79
79
|
# rubocop:enable Metrics/MethodLength
|
80
80
|
|
81
|
-
def configuration_options
|
82
|
-
@configuration_options ||=
|
81
|
+
def configuration_options(context)
|
82
|
+
@configuration_options ||= context.registers[:site].config["plantuml"].transform_keys(&:to_sym).tap do |conf|
|
83
83
|
# delete unsupported options
|
84
84
|
conf.each { |key, _| conf.delete(key) unless CONFIG_OPTIONS.include?(key) }
|
85
85
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll_remote_plantuml_plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey Igrychev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
|
-
rubygems_version: 3.
|
79
|
+
rubygems_version: 3.1.6
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: The Jekyll Plugin for including local/remote PlantUML diagrams into your
|