jekyll_flexible_include 2.0.9 → 2.0.10

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: b71142b75599a60998290ed57afbe3231330bf42dba89c7f892e3e08e3eb07e2
4
- data.tar.gz: e1cf42634742f63c2f6f44e4e800093003fbe9a01e47f12414c8876c9663f0d1
3
+ metadata.gz: d22302901e7a454d82515fd64525479b2932d8856ee572565ea2fae672b6bb28
4
+ data.tar.gz: 22c05d1fb04c976ebfb6a7e005e998bc572a21cb5fce7eed4ac2284c38840c2e
5
5
  SHA512:
6
- metadata.gz: 1456652118883acd55de272df6c00c8ce29c42031609282ffe95ff043c15f5c57f9f293d23490edf78267dc672408045018e69cb2edcd6be144cd214b180b9a4
7
- data.tar.gz: 88a9c4d75a15fdd84980816a266fbfd12d6e1e81cfac041881393b33d015ddbcfad30c0a2d1e4ae7b5ea09048838a0fddfc7352db508a6520543b4cca67ab06a
6
+ metadata.gz: 04f0e0f7a4ecc3e929a2084311b4c6ee70483256117703a56642c78ab2962b8cfdbc01d3e027dc9fbae188ee8d2adeac202bb0dfa28759ff32fa46262d5c985c
7
+ data.tar.gz: 66b2a6c4383bcc86d5492a0c4155ecbf168e0dedd1c680d005a5f5cfca319b978158c5e71d2027f58109ae9ee02d449fd189044cb4860f793945fd2ce6d7971b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
+ ## 2.0.10 / 2022-04-15
2
+ * Fixed nil pointer
3
+
1
4
  ## 2.0.9 / 2022-04-15
2
- * Displays elapsed time to scan files; only scans when the gem is first used.
5
+ * Changed how path matching was implemented.
3
6
 
4
7
  ## 2.0.8 / 2022-04-14
5
8
  * Added the ability to restrict arbitrary command execution, and specify the allowable directories to read from.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JekyllFlexibleIncludePluginVersion
4
- VERSION = "2.0.9"
4
+ VERSION = "2.0.10"
5
5
  end
@@ -27,7 +27,8 @@ class FlexibleInclude < Liquid::Tag
27
27
  @execution_denied = ENV['DISABLE_FLEXIBLE_INCLUDE']
28
28
 
29
29
  unless @read_regexes
30
- read_paths = normalize_path(ENV['FLEXIBLE_INCLUDE_PATHS'])
30
+ flexible_include_paths = ENV['FLEXIBLE_INCLUDE_PATHS']
31
+ read_paths = normalize_path(flexible_include_paths) if flexible_include_paths
31
32
  if read_paths
32
33
  @read_regexes = read_paths.split(":").map do |path|
33
34
  abs_path = path.start_with?('/') ? path : (Pathname.new(Dir.pwd) + path).to_s
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.9
4
+ version: 2.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Slinn