cloudcannon-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: 578be28e9d766a56a3e73f55a77aecce49ff76e1eb3fa24291fcbbe76aaf73ba
4
- data.tar.gz: 54a7068649ff0cec48d3ba78c1630e4e1ba1ff23515bd0d2d323d87fb9ffbd31
3
+ metadata.gz: 6d904ddbae9b38e3decf17c9107d8faa47b962894b9e7472296ee4ae53c97913
4
+ data.tar.gz: e3344f22a4cf1e4a8e4b4227efd58ca0958bbb1a44ee2cfe25b7647ed64a8ddb
5
5
  SHA512:
6
- metadata.gz: 7964aa2ab8068278edc904cc4e60b2354bf09dff57afefa28b9c7a0cc26d2f59c1cf11a42fc57598eed97bb7140740d5e37a292d1add92e37da7a0f7d18ac3be
7
- data.tar.gz: 45999be4ea59596c5322edb3e560ae39980f893eb617c79e1fcb6b2eed1ca289c2a1aba7325809b2ed5f54c4ef396a29ad191aacfb4261433aefce4bfd14657f
6
+ metadata.gz: 20ba82495584aaa27667160d96535ab128cbc36c80cc2fd7e3208439d65ce747707b77931540410f6ad1d3270725b022c27409fd314b3db2bc93f88562b81738
7
+ data.tar.gz: 3ed20d1f6d2a95268b0ad016f59344f61c92e5bc8373fc51681f00558bdb6a6c47a564c84c5da7b164d9837d94ea9b6e1cc63480d56262c12f39c173b8b4f2a1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cloudcannon-jekyll-bookshop (2.0.4)
4
+ cloudcannon-jekyll-bookshop (2.0.5)
5
5
  dry-inflector (>= 0.1, < 1.0)
6
6
  jekyll (>= 3.7, < 5.0)
7
7
  node-runner (>= 1.0, < 2.0)
@@ -47,6 +47,7 @@ module CloudCannonJekyllBookshop
47
47
  array_structures = component.delete("structures")
48
48
  array_structures.each do |key|
49
49
  hash[key] ||= {}
50
+ hash[key]["id_key"] = "_bookshop_name"
50
51
  hash[key]["values"] ||= []
51
52
  hash[key]["values"].push(component)
52
53
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CloudCannonJekyllBookshop
4
- VERSION = "2.0.4"
4
+ VERSION = "2.0.5"
5
5
  end
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bookshop/cloudcannon-structures",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "Convert a Bookshop object into a CloudCannon structure",
5
5
  "main": "main.js",
6
6
  "scripts": {
@@ -16,7 +16,7 @@
16
16
  "access": "public"
17
17
  },
18
18
  "devDependencies": {
19
- "@bookshop/toml-narrator": "2.0.4",
19
+ "@bookshop/toml-narrator": "2.0.5",
20
20
  "@ltd/j-toml": "^1.17.0",
21
21
  "ava": "^3.15.0",
22
22
  "nyc": "^15.1.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bookshop/toml-narrator",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "Rewrite Bookshop TOML files to preserve comments",
5
5
  "main": "main.js",
6
6
  "scripts": {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudcannon-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
  - Liam Bigelow