mercadopago 2.3.1 → 3.0.0
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 +4 -4
- data/README.md +2 -1
- data/lib/mercadopago/client.rb +1 -1
- data/lib/mercadopago/request.rb +1 -1
- data/lib/mercadopago/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 070f11e3c6d8fb2bc1a729973a0eb7c82f8a7fed
|
4
|
+
data.tar.gz: 9cf9b334babc8bdd8bd9c4106492a47c3a649e03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81302b2ca52a1e9fa7afc9e3ec81935bddd2d51e1f153adfe846557b42b2a511c8479df04af7e7a99f89053ad64cd9781d83eb01e4fcb96220fb7f1bf4ca68fd
|
7
|
+
data.tar.gz: 0eb7c400744167157e7a2a09c7b676725214b6a56ff8cc5f518ed4a7543bec823bb485f2466b9d166aff167385eabec4277d461f513485854fca43f073f849df
|
data/README.md
CHANGED
@@ -16,7 +16,8 @@ You can read the documentation of the MercadoPago API here:
|
|
16
16
|
Installation
|
17
17
|
------------
|
18
18
|
|
19
|
-
mercadopago 2.3.0 needs Ruby >= 2.0.0.
|
19
|
+
mercadopago 2.3.0 needs Ruby >= 2.0.0. Ruby 1.9.3 does not support TLS v1.2,
|
20
|
+
which is required by MercadoPago starting June 30th 2018.
|
20
21
|
|
21
22
|
To install the last version of the gem:
|
22
23
|
|
data/lib/mercadopago/client.rb
CHANGED
@@ -193,7 +193,7 @@ module MercadoPago
|
|
193
193
|
|
194
194
|
if (auth.keys & mandatory_keys) == mandatory_keys
|
195
195
|
@access_token = auth['access_token']
|
196
|
-
@refresh_token = auth['refresh_token']
|
196
|
+
@refresh_token = auth['refresh_token']
|
197
197
|
else
|
198
198
|
raise AccessError, auth['message']
|
199
199
|
end
|
data/lib/mercadopago/request.rb
CHANGED
@@ -65,7 +65,7 @@ module MercadoPago
|
|
65
65
|
def self.make_request(type, path, payload = nil, headers = {})
|
66
66
|
args = [type, MERCADOPAGO_URL, path, payload, headers].compact
|
67
67
|
|
68
|
-
connection = Faraday.new(MERCADOPAGO_URL)
|
68
|
+
connection = Faraday.new(MERCADOPAGO_URL, ssl: { version: :TLSv1_2 })
|
69
69
|
|
70
70
|
response = connection.send(type) do |req|
|
71
71
|
req.url path
|
data/lib/mercadopago/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mercadopago
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kauplus Social Commerce
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-06-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|