flexirest 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/flexirest/request.rb +1 -0
- data/lib/flexirest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddeed579fa942a385f6b7abb6c67ce95cbec9663
|
4
|
+
data.tar.gz: f95768e9b39ffe1df399d531e12fd3f76a40424f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f3eecbc6d5a7b3075b616c30eb2bb1f0d8ead60605b719cd2f3289e7ecc59e2c3333ec6b9171d2a15869a44521fa3060a3d2b3c12d0f109e0685d9fbc073b5f
|
7
|
+
data.tar.gz: d382545e8d5e382affc6780a5d4478acb9fc17181e8637e0ce665f64ac07bdfff220e99a6e0b3a80692a5b35ff19fbf5f45f220648c2817a61a732e645e7ac0d
|
data/CHANGELOG.md
CHANGED
data/lib/flexirest/request.rb
CHANGED
@@ -721,6 +721,7 @@ module Flexirest
|
|
721
721
|
elsif is_json_response?
|
722
722
|
begin
|
723
723
|
body = @response.body.blank? ? {} : MultiJson.load(@response.body)
|
724
|
+
body = {} if body.nil?
|
724
725
|
rescue MultiJson::ParseError
|
725
726
|
raise ResponseParseException.new(status:@response.status, body:@response.body, headers:@response.headers)
|
726
727
|
end
|
data/lib/flexirest/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flexirest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|