jekyll-spree-client 0.1.19 → 0.1.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jekyll/spree_client.rb +3 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93b1f2e26bbbb3e0759b4705192ada639098ae129c5cab8fadb494bfccd9e096
4
- data.tar.gz: 225d56e40a98ecfd64aa25c3e85f80424ec478a3613b1746034340061fa3fab0
3
+ metadata.gz: 390af0f63aee218e9f828303c23352dfaddd6c08c0830476ae04788b7115f6b0
4
+ data.tar.gz: 81f4e247841705eaea3f73b2e0a941455435c65dd17d87cee68449324d9b8c0f
5
5
  SHA512:
6
- metadata.gz: 9a842907fd0fa5ea1e8d7b3f36c577b8b99651edf960508df7231a524b6c3abbb27ddcd6dd4cddae83cb6059bed97aa84033fa8646f69c100bd99661427bc9fb
7
- data.tar.gz: fd25f00e71e59a5299b62643a940666066ca69e96e90fe5b538cd47f815a5d6d62064467062f0d54588b864afdcc2a3d4ac0e69e8b854416ca9d012a762a1eef
6
+ metadata.gz: 99290d03c7daebf7b12cead21c69d0560530ab8bc50ab37312c26f15a6d377c6ae22b4e35b31a77cd1e8550990e7c4b4c11432b896134edb5c52daa5f4b44641
7
+ data.tar.gz: f846b9e1914977776df45da460794e48855bc5b6fb37dec363d4b6e264e0530a2782e13fee38af25f119457c2bd4d519e5cc3e66ab47b9d24101d94e73a1d771
@@ -185,7 +185,9 @@ module Jekyll
185
185
  # @return [true,false]
186
186
  def update(product, variant)
187
187
  # Sync local changes to Spree
188
- remote_product = attributes_from product, product_fields
188
+ remote_product = attributes_from(product, product_fields).tap do |a|
189
+ a[:extra_attributes] ||= {}
190
+ end
189
191
  variant_comparison = attributes_from variant, product_fields
190
192
 
191
193
  # Only when they haven't changed, so we don't waste time sending a
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-spree-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.19
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - f
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-09 00:00:00.000000000 Z
11
+ date: 2022-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree-api-client
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  requirements: []
99
- rubygems_version: 3.1.2
99
+ rubygems_version: 3.3.5
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: Spree Ecommerce API client for Jekyll