jekyll-bookshop 2.0.3 → 2.0.7

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: 650ae05a2e1146b4830dcbe6858f5bb3c4f4e9748686d1a2ee36c57c6992092f
4
- data.tar.gz: 1e297df54339d62e508ee85fc3d897faec8dc8e30c29776d0a204326c5bdfdf8
3
+ metadata.gz: a2c2b2b504266eaa599e3fafb6442d842fa477df43f61f8d475d3183c5b994f0
4
+ data.tar.gz: '090270d711466572b77717ffea6026c615e6edcd44ef18ae9cbc96b34aa010fa'
5
5
  SHA512:
6
- metadata.gz: 13627295737a9c98445ccdd182b9e13044181690fd45132cb3c8514931ab27eceeaa46cc062dc211bab5a7f522cf6c346adf719430c7159662140435ddefc8eb
7
- data.tar.gz: f1be1f06eac575c4418e21547b480ac8b6f8fe7e312f4b897c930931121f0ff6545ae3c55b0c953b2253d274e2ad62dbd26c14a6645d0d440f2c647700e5e032
6
+ metadata.gz: b0ba1bf7c1e2dc593fc3cd08bd58ff21f6afe35614b12796cfda7ec08a33ec466d1a33947653afd4834ab783b281a720c2f386000245ddd95cab1805c04331f3
7
+ data.tar.gz: b68878d4e539f56b4e35c1c0a17e91b8a6a407d37d9ffa087bf876e2f9cd8bc22addcc056e0edfe51c190142fd1ecad86a0599ed0e8f879da2ed13a20fde21d0
@@ -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.3"
4
+ VERSION = "2.0.7"
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.3
4
+ version: 2.0.7
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-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll