sqreen-kit 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: '09939c2b1e179a32121dafa7f96c9e1af87c40369894a8809bdd165aa2412388'
4
- data.tar.gz: 59500cef9fd4048141ffca62431661150732575841e5c8a896c85d39c8f66279
3
+ metadata.gz: 721bf3f4f62c4db9e9c8f5218f57642c5f89468c5e736804656b500f1d34f855
4
+ data.tar.gz: 965cef6a8cf42b6d183e5f7156e368632494fa48809977cb01ffe0c5f3a8ae6c
5
5
  SHA512:
6
- metadata.gz: 74ffacce1b772023b8ee9fb460a4569ccd5865f91b4782ec04d0266aba3f4ccf1c8076afb405e752dc3bd82899347e7657f610b9d89ef44675b0f1bfb5d20ef7
7
- data.tar.gz: a9a6ad2cd45e96689329bc6091a09015c50b6a55c6271c083f2f4ba47d75bf099fc504194ac26cfbfe4ddb07611e7e1a9081321ad028033b84e9ccecbbc2532b
6
+ metadata.gz: aa77e960cbf965b9bb49915c5809a3add3acba8473079898500745cf8c4141e109016d98614035596585cd2856c26730d9697e28b1d23ead21f33f9db59cd1d6
7
+ data.tar.gz: 97877d3572ee468b7abdb7163c587cb6b966d70ddb835448302a887fd4b2fe6c21e5425c2c937120a81adf180c3e85214b0e20fb40d7ade757708ba06e5ba168
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1
4
+
5
+ * Add configurable certificate store
6
+
3
7
  ## 0.2.0
4
8
 
5
9
  * Add configurable source information
@@ -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,
@@ -14,6 +14,7 @@ module Sqreen
14
14
 
15
15
  # http client related
16
16
  attr_accessor :ingestion_url,
17
+ :certificate_store,
17
18
  :proxy_address,
18
19
  :proxy_port,
19
20
  :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.0
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-18 00:00:00.000000000 Z
12
+ date: 2020-06-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sqreen-backport