jekyll-bookshop 2.0.2 → 2.0.6

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: be8eab00100181464c3a9b286c4873978df37305095c6e1c3c1c72b8f5a328df
4
- data.tar.gz: 5ed844edc5c79adf2ad5c64acec04c5d7fddfa530e75f59874a9c7644cba88fc
3
+ metadata.gz: 24734a757fa6f61e83d0c45fc33f7e102c7253c78398f75ac0099bfccbdfd795
4
+ data.tar.gz: 9da0f12c4e4cb7e2498e6053e7d437ffdf666becaa9cd55e1cdd7be69d9f6ce2
5
5
  SHA512:
6
- metadata.gz: b33aaa2fc45e7bec7b591a77315f5beb5f6f68d8c227b3a96d710c66e8758edf58f65522659a1ac34445ed25a6894307adab03ccb13114dc1ffbc6f7538e3114
7
- data.tar.gz: 2db6e152afa7564a33101c7992ffef714404ff24529b25857c1608d1a8ac339e227d71ce0c2d5a83c442fa8b8ad0a4a8e409dbf32c8eb9154b42488cb07b091b
6
+ metadata.gz: 890b42a815f493d8fc2264ff2566d5bc7e131bb31b415c46538b5ab246b99f05e0577a16bfe20ba8d24d34ffff15b85fec4dc509307e09ff0cf72ced2909af1a
7
+ data.tar.gz: a27172862c3648cf0c8230600aa73d99e628dd3c7c04fecfbc93024fb94c506796e2776906b2c8cab194fcc7eb10d89f26e9f682cbf431527e0c0dd2d9d826c7
@@ -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.2"
4
+ VERSION = "2.0.6"
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.2
4
+ version: 2.0.6
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-05 00:00:00.000000000 Z
11
+ date: 2021-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll