credova 0.1.9 → 0.1.10

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: 68bc96d04f1b8144884f4921b77a5796e9392e26596247081dc866462d1c5ff0
4
- data.tar.gz: 7a88000202ed805d4a50912c358b833d53dbe62631207749fc18b7bf06c36a6e
3
+ metadata.gz: '0907425ed6cd83766cfc573d778e44eb71019e7ac30e208fba266b46b06e8dfd'
4
+ data.tar.gz: c778e4e9e1450d1f7b6bbbf0fb5fad17bc591cb0d01f884488f51e71e14eb93e
5
5
  SHA512:
6
- metadata.gz: d03f80ec3327370276cddb9459300f903660dc73fd60a173022b2404bff44fbc02cb7134aa5463e156a36bf65678664c2a577ec361c2e89603d92824850c2203
7
- data.tar.gz: cbce41558061ab53b242b08540d8d49dd2432ceffb268e958fda1814dda9552f26164e069cbe5cb2356184608dccb038609562bddf36eb8079abf2f108000bee
6
+ metadata.gz: d78f009e28864042d2b1136329a20279e67749b5df88486099dde49d32be9b8371bfc80a057965a63e8536a3b0304238ab61daf78989206afb86951b14a31bd1
7
+ data.tar.gz: 20192d44cc85ebe8a316cf33570e1fdc974e7a4597ba7a2a566f633422458ad073e2745e467d7184142fcc58fcf11722be0c25c7783b8497d9faf7723914cb91
@@ -15,7 +15,7 @@ module Credova
15
15
  Credova::Error::NoContent.new(@response.body)
16
16
  when Net::HTTPOK, Net::HTTPSuccess
17
17
  self.success = true
18
- _data = JSON.parse(@response.body)
18
+ _data = (JSON.parse(@response.body) if @response.body.present?)
19
19
 
20
20
  @data = case
21
21
  when _data.is_a?(Hash)
@@ -1,3 +1,3 @@
1
1
  module Credova
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: credova
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeffrey Dill
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-10 00:00:00.000000000 Z
11
+ date: 2019-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler