acme-client 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/acme/client/faraday_middleware.rb +3 -5
- data/lib/acme/client/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d85cb4dbe742469c23cead9f9ba0e669282b3037
|
4
|
+
data.tar.gz: da2459a2e7ea05345893ea1a0210c5af16095794
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97631b4f6f9b834de3cb732f9a3829f33e929deae0b9c0c998fcf0b8ea782a83b7f666b568fc9e462c7e1be0525e02dfb59d9f292d45ca2d7e47cff9e6f5399b
|
7
|
+
data.tar.gz: 39edb76a61b765c1d992ce9278a4e4519896e49d3f746b542d69fbe5b5a8554acfed527c58472c1db6694b90c076eaeb57361be125ae5703da774ea0e8b7b313
|
@@ -60,12 +60,10 @@ class Acme::Client::FaradayMiddleware < Faraday::Middleware
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def error_name
|
63
|
-
|
64
|
-
|
65
|
-
return unless env.body.key?('type')
|
63
|
+
return unless env.body.is_a?(Hash)
|
64
|
+
return unless env.body.key?('type')
|
66
65
|
|
67
|
-
|
68
|
-
end
|
66
|
+
error_type_to_klass env.body['type']
|
69
67
|
end
|
70
68
|
|
71
69
|
def error_type_to_klass(type)
|
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.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Barbier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
requirements: []
|
187
187
|
rubyforge_project:
|
188
|
-
rubygems_version: 2.6.
|
188
|
+
rubygems_version: 2.6.14
|
189
189
|
signing_key:
|
190
190
|
specification_version: 4
|
191
191
|
summary: Client for the ACME protocol.
|