acme-client 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -0
- data/lib/acme/client/faraday_middleware.rb +2 -1
- data/lib/acme/client/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: 44c84cbfeeee02a36b07cae292b7466dfafa928b
|
4
|
+
data.tar.gz: d3f6a5474c6d65abad6dc8d3a2674e6af8710adc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2574977b8a14c135fabbe3b1caa7b29605b19d1c1f20362536f06ef77a3af13bf722a2c2a52fc8397756cf7a690148535915af8ab4dbcd6ae7b4fc156f850d92
|
7
|
+
data.tar.gz: 035c701ac78c523d0ad1dc699856320aa730f19a8b5b4c485d10ac915f1a098d9e66b55b1b520e0f7e064fe2e63cd27e3cc66b9fec3cf2c880557ad35f525e24
|
data/Gemfile
CHANGED
@@ -55,7 +55,8 @@ class Acme::Client::FaradayMiddleware < Faraday::Middleware
|
|
55
55
|
|
56
56
|
def error_name
|
57
57
|
@error_name ||= begin
|
58
|
-
return unless env.
|
58
|
+
return unless env.body.is_a?(Hash)
|
59
|
+
return unless env.body.key?('type')
|
59
60
|
|
60
61
|
env.body['type'].gsub('urn:acme:error:', '').classify
|
61
62
|
end
|
data/lib/acme/client/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acme-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Barbier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|