jekyll-bookshop 2.0.4 → 2.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f95c6487f45deb511a43b83b2cfdd0426d4bf3bf8555ca1a33af828bb3e1599c
4
- data.tar.gz: 943b3019fe00336d911d253597c1eb4df71e9f83db81a7dd0d79c23a855ff73c
3
+ metadata.gz: e1be9550816bc1e2403163e4fb2e454e15bf2b821a9b35d7bcc149f3e5b24091
4
+ data.tar.gz: 6cfafd41d60941b4420182a8df48f56b83c3bb15063f660bdb0d26bf2be3cd6b
5
5
  SHA512:
6
- metadata.gz: c8e5e4f38c06b6a4ce8fbf8b23af6d51044b626fd9886ebb04605d88f307a0d95eea56c11900f7bccccfbcdb9a7c6829701969ca93f3633c5b500d8067f4fbf9
7
- data.tar.gz: 701ce96a5231144cbbe2a6cbf78c1fc99186214f1aa5f32f2d8e0bfb04d5f8dc6eb2848ed9440573cecf013cc317c8aebb3463cbeae9283229e4388ecbd2c0d3
6
+ metadata.gz: e4ae4e6457b1e7d82beb901663c9c566757d98d6e747332cf2f1d393103d52e6329ee89adc910928f65bb016ae9882b9a7d714177b6a9c2d70cd3462eea20d00
7
+ data.tar.gz: e174ed32cd4227dc0d25f289b480d33af6efad8f95e999ff590cbd090837da3b7accb784bead52c1190e60db8a0266a738139f66d93a69a8e408d2ae3aa588f8
@@ -33,7 +33,7 @@ module JekyllBookshop
33
33
  loop_context = ""
34
34
  if context.scopes[0]["forloop"]
35
35
  name = context.scopes[0]["forloop"].name
36
- index = context.scopes[0]["forloop"].index - 1
36
+ index = context.scopes[0]["forloop"].index0
37
37
  loop_context = "#{name}[#{index}]"
38
38
  end
39
39
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JekyllBookshop
4
- VERSION = "2.0.4"
4
+ VERSION = "2.0.8"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-bookshop
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - CloudCannon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-06 00:00:00.000000000 Z
11
+ date: 2021-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll