jekyll-bookshop 2.0.1 → 2.0.5

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: 7d9edf4ffc2fccaac2f924662392cdc3986c190197451c40ed37c39ffb66a356
4
- data.tar.gz: 631783918583268254b8d94a34672520991f240895548c7225f3149644279a01
3
+ metadata.gz: 267cae1f4d2adc6a4f4f277377bd7c1facdd7cbfe64c68002c5d2ba8d60845e7
4
+ data.tar.gz: 389d08d88e193bdab6941aa734d70c257717feddef942798a452b9ef86596385
5
5
  SHA512:
6
- metadata.gz: 5849d6838e4da1396d595696a38e70a3399f8eaa24d18b1791eff7e0c80b013833a99bfbb7c22e97e3596ce5c87ae4ee1b9b8705a1262bc128b3abe5910ec9c5
7
- data.tar.gz: 1dfdfde48d84c8c10aea52051b0ec8bf477f56660f0c17ad5fd977f8e47dbfe377237037525a768b02a7d8a1136a75278c79e3f5d33d205b4bdb98f4b4897e2d
6
+ metadata.gz: 64e8690321eb596e8bb79f41f13031d78d58af51d034a35448e78978a4a5d54d23f395d38b4627a8d2111c1ba06c02e8811f2317ba8e333b254f693246ae25a7
7
+ data.tar.gz: 84649d12a3898e08129d2fc3f61ab9f33281a8fc1ea6e83b9eb58b91b56682f80f0e7e9e4f4cce654c5443aa8038dfca2383501809651af48132cb7d7204ef1f
@@ -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.1"
4
+ VERSION = "2.0.5"
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.1
4
+ version: 2.0.5
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-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll