sutty-liquid 0.10.0 → 0.10.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/arrays.rb +1 -1
- 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: f89b4f4a0b3dc57f4720491bd1245b63e48a018eb059f1e1c065178e8d0ab185
|
4
|
+
data.tar.gz: 797a226386270f608022b0c9ff89402a17b0806fba9e409e0fb99eff2bdad475
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 924ba6d9c6d01f1f3b313782911de7ce751e7dab63fbfd99cb18ccbec9f34ee2fe30ff9a65a5cc7e5b203ac3a90a2b094d89606a0247905322d9d611dd175eda
|
7
|
+
data.tar.gz: d2b3c2c91a51311313cff91b82ca752d680eb54b12145187bbeaa0771e0473fe561e3995c583bcbdb78e5297a67b42fae58bdeb427ef30dfaa8e5dc8c8aa6c5b
|
@@ -103,7 +103,7 @@ module Jekyll
|
|
103
103
|
liquid_input = input.to_liquid
|
104
104
|
liquid_posts = posts.map(&:to_liquid)
|
105
105
|
index = find_in_stack(liquid_input, liquid_posts)
|
106
|
-
liquid_posts[index - 1] if index && index
|
106
|
+
liquid_posts[index - 1] if index && index > 0
|
107
107
|
end
|
108
108
|
|
109
109
|
alias_method :previous, :prev
|
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.10.
|
4
|
+
version: 0.10.1
|
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-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|