percy-client 0.2.7 → 0.2.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 615c777ac3aad9757a4bcc6ef9f866b67634519e
4
- data.tar.gz: 3962aa58e4fbc528f2bbe2968b13bb9b16df2854
3
+ metadata.gz: ec90398d266b639254a4889d5ee750ef53cf10d1
4
+ data.tar.gz: f961932ec79e7eb599f32a568f8214dda522b4fb
5
5
  SHA512:
6
- metadata.gz: d9ba715285860b86d49640b571f02025d9ad71e6212a9d19f1d33153baf5e19c47b1ae7798274ee7c4a053ba272a886ad9742ee372a63543b49e01610db0d6b0
7
- data.tar.gz: 078dfee622e4b0f5d806c13cc9772babcaf8fe95f6b24652a49e68a64af495b860c31107f4e4714b09129b3d55891542436eae8380cc24b0378e60122005aec0
6
+ metadata.gz: b52e725b24ac766ff519fed92ca3c22c3666d287f89dd5eec65dd1cb5c039a6d23a2a1ac1a707849943bbe06c75c5c625c5f6f025eda11949475a77fd3ceb42a
7
+ data.tar.gz: 30d7fe926a1c9471c6fbf2732e7335b0a2de4e2a6d34686b859d8ba22dd19bd92dee4cde5272dbd40e01e97828c9fc9ab6088511752917c27dbac46aec2b406f
@@ -1,3 +1,4 @@
1
+ require 'openssl'
1
2
  require 'uri'
2
3
  require 'faraday'
3
4
 
@@ -8,6 +9,8 @@ module Percy
8
9
  def client
9
10
  @client ||= ::HTTPClient.new
10
11
  @client.cookie_manager = nil
12
+ # Turn off SSLv3 due to force TLS because CloudFlare smartly blocks SSLv3.
13
+ @client.ssl_config.options |= OpenSSL::SSL::OP_NO_SSLv3
11
14
  @client
12
15
  end
13
16
  end
@@ -1,5 +1,5 @@
1
1
  module Percy
2
2
  class Client
3
- VERSION = '0.2.7'
3
+ VERSION = '0.2.8'
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.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Perceptual Inc.