sutty-liquid 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/jekyll/filters/string.rb +14 -0
- data/lib/sutty-liquid.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 208a07a3955ffd0ba332ba272d1b7ba868aacee433bb1a71cc1af72468a4d434
|
4
|
+
data.tar.gz: 5c5228f00ef585c35524310a5c0b57e71292dc35890ace25ce691c7ccb6b7f10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41efec969df4effe3e52596b0ce4c38f93cf828b4e9f3614dc644d11b838d18d841ed4e5f2bf5a3ab05a106cafeaf8985c623defdbc8fd36679e9b89d4728e7d
|
7
|
+
data.tar.gz: dbacfff37b6598665a29290d75f106918dc47c96c9ee36c02f4e107b15e94b828814c9af045b47e440407ef696242448cef2f9a82a08949a57c6fd8a23fe6dde
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Jekyll
|
4
|
+
module Filters
|
5
|
+
module String
|
6
|
+
# String#start_with?
|
7
|
+
def start_with(input, start)
|
8
|
+
input.to_s.start_with? start.to_s
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
Liquid::Template.register_filter(Jekyll::Filters::String)
|
data/lib/sutty-liquid.rb
CHANGED
@@ -9,6 +9,7 @@ require_relative 'jekyll/filters/json'
|
|
9
9
|
require_relative 'jekyll/filters/menu'
|
10
10
|
require_relative 'jekyll/filters/number'
|
11
11
|
require_relative 'jekyll/filters/sample'
|
12
|
+
require_relative 'jekyll/filters/string'
|
12
13
|
require_relative 'jekyll/filters/social_network'
|
13
14
|
|
14
15
|
require_relative 'jekyll/filters/pry'
|
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.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- f
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -61,6 +61,7 @@ files:
|
|
61
61
|
- lib/jekyll/filters/pry.rb
|
62
62
|
- lib/jekyll/filters/sample.rb
|
63
63
|
- lib/jekyll/filters/social_network.rb
|
64
|
+
- lib/jekyll/filters/string.rb
|
64
65
|
- lib/jekyll/tags/pry.rb
|
65
66
|
- lib/sutty-liquid.rb
|
66
67
|
homepage: https://0xacab.org/sutty/jekyll/sutty-liquid
|