sqreen-kit 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/sqreen/kit.rb +1 -0
- data/lib/sqreen/kit/configuration.rb +1 -0
- data/lib/sqreen/kit/http_client.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 721bf3f4f62c4db9e9c8f5218f57642c5f89468c5e736804656b500f1d34f855
|
4
|
+
data.tar.gz: 965cef6a8cf42b6d183e5f7156e368632494fa48809977cb01ffe0c5f3a8ae6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa77e960cbf965b9bb49915c5809a3add3acba8473079898500745cf8c4141e109016d98614035596585cd2856c26730d9697e28b1d23ead21f33f9db59cd1d6
|
7
|
+
data.tar.gz: 97877d3572ee468b7abdb7163c587cb6b966d70ddb835448302a887fd4b2fe6c21e5425c2c937120a81adf180c3e85214b0e20fb40d7ade757708ba06e5ba168
|
data/CHANGELOG.md
CHANGED
data/lib/sqreen/kit.rb
CHANGED
@@ -57,6 +57,7 @@ module Sqreen
|
|
57
57
|
@http_client ||=
|
58
58
|
HttpClient.new(Configuration.ingestion_url,
|
59
59
|
retry_policy,
|
60
|
+
certificate_store: Configuration.certificate_store,
|
60
61
|
proxy_address: Configuration.proxy_address,
|
61
62
|
proxy_port: Configuration.proxy_port,
|
62
63
|
proxy_user: Configuration.proxy_user,
|
@@ -37,6 +37,7 @@ module Sqreen
|
|
37
37
|
opts[:proxy_port], opts[:proxy_user],
|
38
38
|
opts[:proxy_pass])
|
39
39
|
@http.use_ssl = @base_url.scheme.downcase == 'https'
|
40
|
+
@http.cert_store = opts[:certificate_store]
|
40
41
|
@http.verify_mode = OpenSSL::SSL::VERIFY_NONE if ENV['SQREEN_SSL_NO_VERIFY'] # for testing
|
41
42
|
|
42
43
|
@http.open_timeout = opts[:connect_timeout] || DEFAULT_CONNECT_TIMEOUT_S
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqreen-kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Loic Nageleisen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-06-
|
12
|
+
date: 2020-06-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sqreen-backport
|