lucid_shopify 0.31.0 → 0.32.0

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: a99dcbd8e551ee898a53837cd9a91bb62bac7223038eac70109ddd3424b249c8
4
- data.tar.gz: 10aad4e20e50af8facb41cd9d624e8867d1ef2d1707067566d9fb4ca3a2b72c8
3
+ metadata.gz: 5537f72322d68fc5d0318c0ed0f4bfb630add6c1e37d354d483c178179dc7d62
4
+ data.tar.gz: c8a30a211daf3c5644a0b781c8d7eff058fc5d23e737ced11af57f051600c2a7
5
5
  SHA512:
6
- metadata.gz: d0f44d70b758e58aec0cb6798d424c0f67a3e614f1f160b86e5f27e0bf5cf590243745e491ef4a1b6e9f8ae7c1364c1ab05028239fe7aeef51e7455e160d0386
7
- data.tar.gz: 6ea021837da9b31acf7063bf7c43b932145e2dc79db06d0291900d85ef287dfd5f18a45ca0772794a57d249ec54153ee3ebe4236bb806dc6b253abc9c492e42d
6
+ metadata.gz: 453090a6a8bfcc56e8e5f0691fdca5dfcbbdc53a379e07dc94f0306e3efc15e577c965732d8489c8ffb97a68622884dafcfb119058bf1d9b2230455b51ecea05
7
+ data.tar.gz: 1dd59fb180b18680875969c30bd85f19cce96bd0d9edbe5b03028982d4313719546bbb624a6e0cdb896ba1a5aadb1cae1bf4ec86d72249973afe77e40b3edb9a
@@ -56,7 +56,7 @@ module LucidShopify
56
56
  # @return [Boolean]
57
57
  #
58
58
  private def json?
59
- headers['Content-Type'] =~ /application\/json/
59
+ headers['Content-Type'] =~ /application\/json/ && !data.empty?
60
60
  end
61
61
 
62
62
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LucidShopify
4
- VERSION = '0.31.0'
4
+ VERSION = '0.32.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lucid_shopify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelsey Judson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-22 00:00:00.000000000 Z
11
+ date: 2019-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv