jekyll-bookshop 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f95c6487f45deb511a43b83b2cfdd0426d4bf3bf8555ca1a33af828bb3e1599c
4
- data.tar.gz: 943b3019fe00336d911d253597c1eb4df71e9f83db81a7dd0d79c23a855ff73c
3
+ metadata.gz: 267cae1f4d2adc6a4f4f277377bd7c1facdd7cbfe64c68002c5d2ba8d60845e7
4
+ data.tar.gz: 389d08d88e193bdab6941aa734d70c257717feddef942798a452b9ef86596385
5
5
  SHA512:
6
- metadata.gz: c8e5e4f38c06b6a4ce8fbf8b23af6d51044b626fd9886ebb04605d88f307a0d95eea56c11900f7bccccfbcdb9a7c6829701969ca93f3633c5b500d8067f4fbf9
7
- data.tar.gz: 701ce96a5231144cbbe2a6cbf78c1fc99186214f1aa5f32f2d8e0bfb04d5f8dc6eb2848ed9440573cecf013cc317c8aebb3463cbeae9283229e4388ecbd2c0d3
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.4"
4
+ VERSION = "2.0.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - CloudCannon