dimples 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dimples/site.rb +1 -1
- data/lib/dimples/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b634c387f28dce364954a393bdd1c515942c53f8
|
4
|
+
data.tar.gz: 0b04146454413293bcdc39962f9057a7bff40660
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2d8140add07d0aa4bfcffbdc5267c622d8d4cc34ba050c4b6ed2c3a2e509e90964613a976431840b49734a85417886a363bc4606e499e93a4a9e4cb4d9417a4
|
7
|
+
data.tar.gz: 8df6e21eb9b1b569ae2c82dd955d3c94a036aa3bc5c368dbfc0f9e116a024f2fa7bc7a2a54bb7b99f1a0f8d90fb8f75c4106af35eea4cbff74cfcab249596e56
|
data/lib/dimples/site.rb
CHANGED
@@ -102,7 +102,7 @@ module Dimples
|
|
102
102
|
end
|
103
103
|
|
104
104
|
@posts.each_index do |index|
|
105
|
-
|
105
|
+
@posts[index].next_post = @posts.fetch(index - 1, nil) if index - 1 >= 0
|
106
106
|
@posts[index].previous_post = @posts.fetch(index + 1, nil) if index + 1 < @posts.count
|
107
107
|
end
|
108
108
|
|
data/lib/dimples/version.rb
CHANGED