uc3-dmp-external-api 0.0.2 → 0.0.3

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: 16711aac4161e995e42735409ec4d9a509d6bd073af118d3de81421ef70114de
4
- data.tar.gz: ef6bb623846d73c7994d5452b3455f52a4ebff1f2c0fe8a3cc352d8979fcdb92
3
+ metadata.gz: 826e2cdf3096a05d02e92ce7f199af95a9e4159e7e160e2218b459f434594844
4
+ data.tar.gz: 7b6f4d76f204b2524ac26cae806a003ac40b4ca7c90e2d29e6f0d711a925fd59
5
5
  SHA512:
6
- metadata.gz: 401b60ae42ff66e08231b69965ec7e427b2d1b0bd562c820b12096823d1edb1569e5627f3fc81630f032b485add9c70a33bd30e8ecde262a6c0e580b8f2fc608
7
- data.tar.gz: 4294613fadef2e7759bcc8810f3b4f225de42d039c341368c6ab03de66cd6ed2a70b518cc13e6be9278e26c76b93dc2aa62aa4bf2243138d6d3e26c23fe6b1ec
6
+ metadata.gz: b03219d46beeff3aa482b5acfc6ff7fb4628bf3f0f9e3da7dd0f84835f466c874222d92f4ef42b4eb3faf751ead505dba3c2218bb3f442d478433f2c1ee13ef6
7
+ data.tar.gz: ce81e722cc81f3862dba8cdbdc814b6d5bd21ad39a8c4c24a6fad25aab740e091a7c7f025b2d0b958cd7ef421685c619ddca572f22c40362490d848ded899f14
@@ -43,7 +43,7 @@ module Uc3DmpExternalApi
43
43
 
44
44
  # # Handle the response body based on the Content-Type
45
45
  def _process_response(resp:)
46
- return nil unless resp.nil? || resp.body.nil?
46
+ return nil if response.body.nil? || response.body.empty?
47
47
 
48
48
  case resp.headers.fetch('content-type', '')
49
49
  when 'application/json'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpExternalApi
4
- VERSION = '0.0.2'
4
+ VERSION = '0.0.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-dmp-external-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley