mangopay 3.0.35 → 3.0.36

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
  SHA256:
3
- metadata.gz: da86f380ab29a146392b6ba79b5d5518f9dc898c5a22abadfbdfc1e3a93443bc
4
- data.tar.gz: 6a938c0de24f0018ae2c6f0ab4f52ef01334f73a6131aea02b1d5affff317540
3
+ metadata.gz: 8cd7631afb582279a222aeb5c81d6f8a507e47bc7a0a6e23e171f34c9e519034
4
+ data.tar.gz: 472287e318eb7470c7020a09a889e9b9d630c98db2c095c7a8dd628cdffab223
5
5
  SHA512:
6
- metadata.gz: 112d5afb9ec05f57cf718598c4aebb92f0d5bb68e2647c49706c598e0a98b983067b023a78e7b78075951a160f23fb21c3e033b66c41de03cfe6676867d8276c
7
- data.tar.gz: fd0b5fe4b3be196ca0969d8be3c71308b532d64f6d0710f8a2b379e797a0c05d648c8cdce1719f4d51bcfa7c7641324a418b877d5864e732974f1b65ab4706a7
6
+ metadata.gz: 8748baa780499d4881d9f9a8c9abcbaf5c804a5b9f5bbe78821bc79ea6e26773b40dbb056f6e459ab238e06f21328d87688db12e84cb6a78afb25f6b94f4f818
7
+ data.tar.gz: 4e0360de8ff724d8ea0c22796fd719235e5effeea7cce897c6d0a177ebc9589b59d70846d7d7fa18257ce91447fa3bce6789a6dd0856795128ca1f45e69698b7
@@ -1,6 +1,9 @@
1
+ ## [3.0.36] - 2020-08-28
2
+ - Forces TLS version to 1.2
3
+
1
4
  ## [3.0.35] - 2020-08-24
2
- -> Improvement to Net::ReadTimeout handling
3
- -> "User-agent" format in the headers changed, aligned to other assets 👤
5
+ - Improvement to Net::ReadTimeout handling
6
+ - "User-agent" format in the headers changed, aligned to other assets 👤
4
7
 
5
8
  ## [3.0.34] - 2020-06-25
6
9
  ### Added
@@ -135,7 +135,7 @@ module MangoPay
135
135
  headers['Idempotency-Key'] = headers_or_idempotency_key if headers_or_idempotency_key != nil
136
136
  end
137
137
 
138
- res = Net::HTTP.start(uri.host, uri.port, use_ssl: true, :read_timeout => configuration.http_timeout) do |http|
138
+ res = Net::HTTP.start(uri.host, uri.port, use_ssl: true, :read_timeout => configuration.http_timeout, ssl_version: :TLSv1_2) do |http|
139
139
  req = Net::HTTP::const_get(method.capitalize).new(uri.request_uri, headers)
140
140
  req.body = JSON.dump(params)
141
141
  before_request_proc.call(req) if before_request_proc
@@ -1,3 +1,3 @@
1
1
  module MangoPay
2
- VERSION = '3.0.35'
2
+ VERSION = '3.0.36'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mangopay
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.35
4
+ version: 3.0.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoffroy Lorieux
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-08-25 00:00:00.000000000 Z
12
+ date: 2020-08-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json