sutty-liquid 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/filters/strings.rb +10 -14
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f232250d823ca93707986d2633f090769f84eb75a0f49737c0d7fcdfb98fc2b
|
4
|
+
data.tar.gz: dc1153820fc9a9335792ab03b402bfd7e2ea81a050151b0868f01bd6e52f906d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbed1517698f479b923cb0f255c8ce1074b90a19943ba1c4d4fdbaf0a5ee7837981b6edf03229e96b594b58b6f908d20c38c4098194777447d5c26062db044ad
|
7
|
+
data.tar.gz: 6ee889ea1f557fde41273a40823d528af45843aaa9ec78c334c7855c6202b039be0283cfd9cf2e558ac499f5f86b63b0ecd9eb18dadc0f6aee30151c2efd6ceb
|
@@ -102,21 +102,17 @@ module Jekyll
|
|
102
102
|
# @param default [Array<String>]
|
103
103
|
# @return [Array<String>]
|
104
104
|
def list_to_array(input, default)
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
case input
|
110
|
-
when Array then input
|
111
|
-
else input.to_s.split(',').map(&:strip)
|
112
|
-
end
|
113
|
-
|
114
|
-
if array.empty?
|
115
|
-
default
|
116
|
-
else
|
117
|
-
array
|
118
|
-
end
|
105
|
+
array =
|
106
|
+
case input
|
107
|
+
when Array then input
|
108
|
+
else input.to_s.split(',').map(&:strip)
|
119
109
|
end
|
110
|
+
|
111
|
+
if array.empty?
|
112
|
+
default
|
113
|
+
else
|
114
|
+
array
|
115
|
+
end
|
120
116
|
end
|
121
117
|
|
122
118
|
def sanitizer
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sutty-liquid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- f
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fast_blank
|