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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jekyll/filters/strings.rb +10 -14
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 393e15680fe4f32d7b7c2315cda9c0738350cd7abaf9c4f2a80781a62f31bcf5
4
- data.tar.gz: e2af5aae8a6bce1cdcb93d10dfee498d9b24b810bd7ca5d6a3de460cae56b128
3
+ metadata.gz: 7f232250d823ca93707986d2633f090769f84eb75a0f49737c0d7fcdfb98fc2b
4
+ data.tar.gz: dc1153820fc9a9335792ab03b402bfd7e2ea81a050151b0868f01bd6e52f906d
5
5
  SHA512:
6
- metadata.gz: 3742fa4e27e0f502a409bf2a86759607b4f778b484d30f70ccfcb379ac601ae14c129f6096352bd1b614246410dc2281efe34dda0f53b8c4476724f3ffd900e7
7
- data.tar.gz: a8bbc1dcafd6e89276002218436a0bb23f13dadb0774aec5ddc4fa505a9be8cc25cc0a96b6dc711b830ad6e3461a500be9cfc367ec256dbd303da73f30e07078
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
- @@list_to_array ||= {}
106
- @@list_to_array[input] ||=
107
- begin
108
- array =
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.0
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-18 00:00:00.000000000 Z
11
+ date: 2024-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fast_blank