dato 0.3.19 → 0.3.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dato/site/client.rb +6 -1
- data/lib/dato/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: 0560582decbc9e19a529ea56f8ea4f11d428c28b
|
4
|
+
data.tar.gz: f1d53150ce553415bc060b52cfc19644b590fa2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85c6c9e69fcf33cf15298ca48e5a2985050e82d88060d271c0a6d2e28ff30bb2a20da2edb2ab58aa5f0df1846be2a662bbb3248e0398837ee549a3ce3ce3ea04
|
7
|
+
data.tar.gz: 18737567221940e7ab086a27e6485076e43b8aa158abdb3c2da92fb0ae177b6bdfcd5ba94fbb531f41d4aabd42047c3b1301c687228682078b6b95f3659f34cb
|
data/lib/dato/site/client.rb
CHANGED
@@ -69,9 +69,14 @@ module Dato
|
|
69
69
|
Cacert.set_in_env
|
70
70
|
request(*args)
|
71
71
|
rescue Faraday::ConnectionFailed, Faraday::TimeoutError => e
|
72
|
+
puts e.message
|
72
73
|
raise e
|
73
74
|
rescue Faraday::ClientError => e
|
74
|
-
|
75
|
+
error = ApiError.new(e)
|
76
|
+
puts "===="
|
77
|
+
puts error.message
|
78
|
+
puts "===="
|
79
|
+
raise error
|
75
80
|
end
|
76
81
|
|
77
82
|
private
|
data/lib/dato/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dato
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefano Verna
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|