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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec90398d266b639254a4889d5ee750ef53cf10d1
4
- data.tar.gz: f961932ec79e7eb599f32a568f8214dda522b4fb
3
+ metadata.gz: 8a42792b22f7b32888eb5d2a8d3c3c76439a3a7a
4
+ data.tar.gz: a49db44daf08242a653ac578a781a45ced5c86aa
5
5
  SHA512:
6
- metadata.gz: b52e725b24ac766ff519fed92ca3c22c3666d287f89dd5eec65dd1cb5c039a6d23a2a1ac1a707849943bbe06c75c5c625c5f6f025eda11949475a77fd3ceb42a
7
- data.tar.gz: 30d7fe926a1c9471c6fbf2732e7335b0a2de4e2a6d34686b859d8ba22dd19bd92dee4cde5272dbd40e01e97828c9fc9ab6088511752917c27dbac46aec2b406f
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 due to force TLS because CloudFlare smartly blocks 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
@@ -1,5 +1,5 @@
1
1
  module Percy
2
2
  class Client
3
- VERSION = '0.2.8'
3
+ VERSION = '0.2.9'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: percy-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Perceptual Inc.