jekyll_flexible_include 2.0.22 → 2.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/jekyll_flexible_include_plugin.gemspec +1 -1
- data/lib/flexible_include/version.rb +1 -1
- data/lib/flexible_include.rb +3 -3
- data/lib/flexible_include_class.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2bbd3d775f087cefca7f18e68966dc58afb1b19099154b7e56dce5fba9b6f25
|
4
|
+
data.tar.gz: '065912548161e1cce5d139566f370cabe68ad0521e87e7dd50f424e3a8e958f0'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c965faec3f89eb9d005dc2ad7fea3847f77d716039b9f903f8f84ea20e49ba991f016664013826d0fb4e044203a7ae82338aca7b1b7a699a8d1e59ae18f4f62
|
7
|
+
data.tar.gz: b4fb7d8c8b0afddef8f0c5d359b5bbe7077ae4418b38641e6f52dd537005a75c7a47a2eb371ea3de24cc4269295e423f8ff8a3b1c719e2f8b8c862f9ed4f8b20
|
data/CHANGELOG.md
CHANGED
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
|
36
36
|
spec.version = JekyllFlexibleIncludePluginVersion::VERSION
|
37
37
|
|
38
38
|
spec.add_dependency 'jekyll_from_to_until'
|
39
|
-
spec.add_dependency 'jekyll_plugin_support', '>= 0.
|
39
|
+
spec.add_dependency 'jekyll_plugin_support', '>= 1.0.0'
|
40
40
|
spec.add_dependency 'jekyll-sass-converter', '= 2.2.0'
|
41
41
|
spec.add_dependency 'rugged'
|
42
42
|
end
|
data/lib/flexible_include.rb
CHANGED
@@ -25,7 +25,7 @@ module FlexibleInclude
|
|
25
25
|
|
26
26
|
def render_impl
|
27
27
|
setup
|
28
|
-
@path = JekyllPluginHelper.expand_env @filename, @logger
|
28
|
+
@path = ::JekyllSupport::JekyllPluginHelper.expand_env @filename, @logger
|
29
29
|
handle_path_types
|
30
30
|
render_completion
|
31
31
|
rescue Errno::EACCES => e
|
@@ -89,7 +89,7 @@ module FlexibleInclude
|
|
89
89
|
"of #{@page['name']} denied by DISABLE_FLEXIBLE_INCLUDE value.")
|
90
90
|
end
|
91
91
|
|
92
|
-
@filename = JekyllPluginHelper.remove_quotes(@helper.argv.first) if @helper.argv.first
|
92
|
+
@filename = ::JekyllSupport::JekyllPluginHelper.remove_quotes(@helper.argv.first) if @helper.argv.first
|
93
93
|
@filename = @filename.delete_prefix '!'
|
94
94
|
@contents = run(@filename)
|
95
95
|
else # Relative path
|
@@ -99,6 +99,6 @@ module FlexibleInclude
|
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
|
-
JekyllPluginHelper.register(self, 'flexible_include')
|
102
|
+
::JekyllSupport::JekyllPluginHelper.register(self, 'flexible_include')
|
103
103
|
end
|
104
104
|
end
|
@@ -14,8 +14,8 @@ module FlexibleInclude
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def normalize_path(path)
|
17
|
-
JekyllPluginHelper.expand_env(path, die_if_undefined: true)
|
18
|
-
|
17
|
+
::JekyllSupport::JekyllPluginHelper.expand_env(path, die_if_undefined: true)
|
18
|
+
.gsub('~', Dir.home)
|
19
19
|
end
|
20
20
|
|
21
21
|
def number_content(content)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll_flexible_include
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Slinn
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-
|
13
|
+
date: 2024-07-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: jekyll_from_to_until
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 1.0.0
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 1.0.0
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: jekyll-sass-converter
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
- !ruby/object:Gem::Version
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
|
-
rubygems_version: 3.5.
|
124
|
+
rubygems_version: 3.5.16
|
125
125
|
signing_key:
|
126
126
|
specification_version: 4
|
127
127
|
summary: Jekyll plugin supports various ways to include content into the generated
|