percy-client 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/percy/client/connection.rb +2 -1
- data/lib/percy/client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a42792b22f7b32888eb5d2a8d3c3c76439a3a7a
|
4
|
+
data.tar.gz: a49db44daf08242a653ac578a781a45ced5c86aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30b396da03eb59dc4befb53d1ba27acb2ed6cf2f46993228672da78a467468e454ecfa3b6dfe0cc1ca0f8a165e2c9f99a69209c1173d1391baac9bf975c8ba7f
|
7
|
+
data.tar.gz: da11f1258d0b4d492e468e5f7868b10937baa5b38e71b89b50cdca3051178224ef6fb6818ca3d6e8bc15f844b90b5c61713b83857652f0360579e12db7103db1
|
@@ -9,7 +9,8 @@ module Percy
|
|
9
9
|
def client
|
10
10
|
@client ||= ::HTTPClient.new
|
11
11
|
@client.cookie_manager = nil
|
12
|
-
# Turn off SSLv3
|
12
|
+
# Turn off SSLv2 and SSLv3 to force TLS because CloudFlare smartly blocks SSLv2 and SSLv3.
|
13
|
+
@client.ssl_config.options |= OpenSSL::SSL::OP_NO_SSLv2
|
13
14
|
@client.ssl_config.options |= OpenSSL::SSL::OP_NO_SSLv3
|
14
15
|
@client
|
15
16
|
end
|
data/lib/percy/client/version.rb
CHANGED