jekyll-spree-client 0.1.5 → 0.1.6

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 +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd9907ed1dc9502f568dd85c5cebd6c822721632e9e9cf0d6817b5cf7df07e9e
4
- data.tar.gz: 727626b4a4beebcd90c0eea5c7bf00bb1b0eb5d6cc137c667fb17153be15c97a
3
+ metadata.gz: ec972940eca59000e0a3ba7bd764b84531c872e39044f85f2e2a4c4ec61c9ca8
4
+ data.tar.gz: 3be5a5a3d475b392974c667a2c9b15bad9293e63115b425c7b4f300afd8d1eeb
5
5
  SHA512:
6
- metadata.gz: d66fb7b5f68bd1f9e36096e8cd3b26b26da41862fc4827b29a830f9c0f5f0784cacf734a0f67ad58e54f46c53fe930783b1911b211039715516690c317888465
7
- data.tar.gz: a035f279a9f2874d6cd4ba3e97c5338c99a15b4563c810400b5b3c8859713b9d51e240a5631080900ac656f97567cc842c2fe51f022fed414784c83d5357749c
6
+ metadata.gz: e02ca9264d8a137c65f5b3e0de3d97171a5432ffe5cab698e8249192ffeb50989993869e6fa9527e042630bb48ed8268f2a3b043158a7e0708483624c4e992ac
7
+ data.tar.gz: d4da262c648e4006926073e86cd884783a746091784cf96f5544611c428c9657611398ad9f1f6c56e9063ef5b12e3c301647c37f0e10a434884ac334d774859d
@@ -8,7 +8,7 @@ require_relative 'jekyll/spree_client'
8
8
  Jekyll::Hooks.register :site, :post_read do |site|
9
9
  next unless ENV['SPREE_API_KEY']
10
10
 
11
- config = site.config['spree']&.transform_keys(&:to_sym)
11
+ config = site.config['spree']&.transform_keys(&:to_sym) || {}
12
12
  config.merge!(site: site, api_key: ENV['SPREE_API_KEY'], spree_url: ENV['SPREE_URL'])
13
13
 
14
14
  client = Jekyll::SpreeClient.new **config
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.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - f
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-11 00:00:00.000000000 Z
11
+ date: 2020-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree-api-client