sutty-liquid 0.8.1 → 0.9.0
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 +14 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4dca3383930eb8a0d60849434c5d1b7275dfc43c12e0f5daff9e1c2459ef0a37
|
4
|
+
data.tar.gz: 76380fdd27d27319f40444c8040d4618f1fc3c8cbc1039c882de30f179193c86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3bb223e6c80aedf8719aa5ca77ea7c4645acb4082e720cc64af7d34ab2a5011df6e88610def6b973d39931623dd903006c4f2258a03b6ca8ee33e0c51306748
|
7
|
+
data.tar.gz: 0a0cbf68a807f2c1b6f63eac66d6b07c07cb9b3b17a5b4c569a337a986829f6582e6445076a113dd2fb99cd2ee97bebfd3ef1b1c59c8864ff6507c034568e5a3
|
@@ -61,6 +61,20 @@ module Jekyll
|
|
61
61
|
.gsub(star_delimiter, '*')
|
62
62
|
.gsub(escaped_delimiter, '\*')
|
63
63
|
end
|
64
|
+
|
65
|
+
def unescape(input)
|
66
|
+
CGI.unescapeHTML input.to_s
|
67
|
+
end
|
68
|
+
|
69
|
+
# Escapes a string by percent encoding all reserved characters
|
70
|
+
#
|
71
|
+
# @param :input [Any]
|
72
|
+
# @return [String]
|
73
|
+
def component_escape(input)
|
74
|
+
require 'addressable'
|
75
|
+
|
76
|
+
Addressable::URI.encode_component input.to_s, Addressable::URI::CharacterClasses::UNRESERVED
|
77
|
+
end
|
64
78
|
end
|
65
79
|
end
|
66
80
|
end
|
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.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- f
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
|
-
rubygems_version: 3.3.
|
140
|
+
rubygems_version: 3.3.8
|
141
141
|
signing_key:
|
142
142
|
specification_version: 4
|
143
143
|
summary: Liquid filters
|