unleashed 0.1.11 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/unleashed/error.rb +2 -2
- data/lib/unleashed/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: e7d32b1d247ccea9399690a692565cf43b06a61990e59c2a73643d0d08889559
|
4
|
+
data.tar.gz: e32d0170f365f79bacf4bccced4f0af0722b91ca4b8ad5234f76917002c74898
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d7db5fbec3130bc8fc3cf461e52a7b1847fd2130afd861f2e88e52787b8ee892f3764d22a1f8d6c31886e6b5a5da6993e44934f14b7c7caa6b52cc7199de1bc
|
7
|
+
data.tar.gz: e4e850bf51a3379bd72451a6cf334a940cd4d00ca204c7e9a54eb5337f52de9b1cb36a78d46d5175e0f2528cc4036ae2073a74a4b2c1828bafd9c0f72f149b85
|
data/CHANGELOG.md
CHANGED
data/lib/unleashed/error.rb
CHANGED
@@ -45,8 +45,8 @@ module Unleashed
|
|
45
45
|
message << json_response['description'] if json_response.key?('description')
|
46
46
|
message << json_response['Description'] if json_response.key?('Description')
|
47
47
|
|
48
|
-
if json_response.key?('
|
49
|
-
message << json_response['
|
48
|
+
if json_response.key?('Items') && json_response['Items'].is_a?(Array)
|
49
|
+
message << json_response['Items'].map { |attribute, content| "#{attribute}: #{content}" }.join(', ')
|
50
50
|
end
|
51
51
|
|
52
52
|
message
|
data/lib/unleashed/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unleashed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nhan Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|