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 +4 -4
- data/lib/credova/response.rb +1 -1
- data/lib/credova/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0907425ed6cd83766cfc573d778e44eb71019e7ac30e208fba266b46b06e8dfd'
|
4
|
+
data.tar.gz: c778e4e9e1450d1f7b6bbbf0fb5fad17bc591cb0d01f884488f51e71e14eb93e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d78f009e28864042d2b1136329a20279e67749b5df88486099dde49d32be9b8371bfc80a057965a63e8536a3b0304238ab61daf78989206afb86951b14a31bd1
|
7
|
+
data.tar.gz: 20192d44cc85ebe8a316cf33570e1fdc974e7a4597ba7a2a566f633422458ad073e2745e467d7184142fcc58fcf11722be0c25c7783b8497d9faf7723914cb91
|
data/lib/credova/response.rb
CHANGED
@@ -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)
|
data/lib/credova/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2019-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|