percy-common 3.1.2.pre.rc.2 → 3.1.2.pre.rc.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/percy/common/version.rb +1 -1
- data/lib/percy/redis_client.rb +1 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bce016cbaeff18adc9274e67776e4b11d5f4c0c77c2d54e9ccd6d0979ee5192
|
4
|
+
data.tar.gz: a86be1e5c52f37c014d7817b5c15d8b854ca3274d26c2c85c6f248472213bd6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dce391a0b6098f068801b3aac6c220fbc597b8f9925678e7f1e2c39f61c1e3bd41bb9485a6ac1171875ce97bd07ccf89e21b513dd0ec618fd1001b0354ab9cc
|
7
|
+
data.tar.gz: 4cb3a50ad9e0143659a1d20efb71a2330c9a6f17861337c0066affc950d32f8bbe50a8bd00670f30f9203c2e172f98f3b05116da613f6de6baf96d2f4d0002b3
|
data/lib/percy/common/version.rb
CHANGED
data/lib/percy/redis_client.rb
CHANGED
@@ -74,7 +74,6 @@ module Percy
|
|
74
74
|
|
75
75
|
private def certificate_authority
|
76
76
|
provided_certificate_authority ||
|
77
|
-
certificate_authority_from_env ||
|
78
77
|
certificate_authority_from_path
|
79
78
|
end
|
80
79
|
|
@@ -82,12 +81,8 @@ module Percy
|
|
82
81
|
@provided_options&.dig(:ssl_params, :ca_file)
|
83
82
|
end
|
84
83
|
|
85
|
-
private def certificate_authority_from_env
|
86
|
-
ENV['REDIS_SSL_CERTIFICATE_AUTHORITY']
|
87
|
-
end
|
88
|
-
|
89
84
|
private def certificate_authority_from_path
|
90
|
-
|
85
|
+
fetch_key('REDIS_SSL_CERTIFICATE_AUTHORITY_PATH')
|
91
86
|
end
|
92
87
|
|
93
88
|
private def fetch_key(key)
|