certificate-transparency-client 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/certificate-transparency/client.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: 47620dc3af464cdf41a23e61a5e8fc6c202ecef4
|
|
4
|
+
data.tar.gz: b3896f7606a3649d2b0b8e7dfd635dfde2ab72ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fcc2872a2084a1c6f578729438223e028cc2cbb4387b35b193d6600b75444bdb7a3235f56c8cbc3cd3d4cc7df8666fe724d818ff18798aa93bb00da3ba9d331c
|
|
7
|
+
data.tar.gz: f852386120c2a3c7803e1aba575c6c61734d5a68132a0d41f93e09399113471d11229dffd6cbdd577db9c2c4a53f6b46a04c46413e787cd0c393b92e7ad2da12
|
|
@@ -137,7 +137,7 @@ class CertificateTransparency::Client
|
|
|
137
137
|
"Failed to #{op}: got HTTP #{resp.code}"
|
|
138
138
|
end
|
|
139
139
|
|
|
140
|
-
if resp["Content-Type"]
|
|
140
|
+
if resp["Content-Type"] !~ /^application\/json($|;)/
|
|
141
141
|
raise CT::Client::HTTPError,
|
|
142
142
|
"Failed to #{op}: received incorrect Content-Type (#{resp["Content-Type"]})"
|
|
143
143
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: certificate-transparency-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Palmer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-06-
|
|
11
|
+
date: 2015-06-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: certificate-transparency
|