lucid_intercom 0.12.0 → 0.13.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: c68b630c07ce2c240795b154f8d5c874db29c516e357582b4f1dcfe8e4504f50
4
- data.tar.gz: f2f796e2d8e4cea69af445d8a17befa36dec12c7abceed9eaa43172c970b8da8
3
+ metadata.gz: 7583fef8ffa857fa3313d83286c799c99c81450203df1f292252d9e9743a56bd
4
+ data.tar.gz: e7d91ece11a61a62ce3fe6ed833b46552b5f58d9050a7aa537dc8ae5ffd37d4a
5
5
  SHA512:
6
- metadata.gz: 8a41991df15b5cf39e7e97d9e00fce2380765f96dabe2907fa684b539d3e504de095eb09b0f6c4d7e9e0194245cc7d2127e7816b471de1cae610c363a07a750d
7
- data.tar.gz: a57a7947ffde3d25d6aa844d8ba1ea16e4e3cacc3ef307751a397d2d0f4df2dde82a2f0538213694446e3127359a5f08c3d2546eb633bf9c509f2b91ee61c98c
6
+ metadata.gz: b05a8c4a3286a23d0aae1428ca4a429377adc590707c7c6765430599015007a93024d20ac249f12ccc7972a442a407e70f12dd196a44744e5474c2cecf81f445
7
+ data.tar.gz: e30cfd6b5ee3c1b61a711379f03649947250c4a84ba9625ca0e8751e683bad850419feb658dff14ad5414340d018b8d041f4381d12dd7dc87aa553775b6cccde
@@ -50,7 +50,7 @@ module LucidIntercom
50
50
  # @return [Boolean]
51
51
  #
52
52
  private def json?
53
- headers['Content-Type'] =~ /application\/json/
53
+ headers['Content-Type'] =~ /application\/json/ && !data.empty?
54
54
  end
55
55
 
56
56
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LucidIntercom
4
- VERSION = '0.12.0'
4
+ VERSION = '0.13.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lucid_intercom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.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: rake