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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 915ad943d6fa17a084ca5591addde311f150f643
4
- data.tar.gz: bb2accde1c3a562d02fa4ea44ecd5ea044080447
3
+ metadata.gz: 070f11e3c6d8fb2bc1a729973a0eb7c82f8a7fed
4
+ data.tar.gz: 9cf9b334babc8bdd8bd9c4106492a47c3a649e03
5
5
  SHA512:
6
- metadata.gz: bc66543f4efec94a04dbf1d4496ff9f4aac31bcabe8b1d22f56de389deca6a21850e0a70f3f39a0ea2dd43fca4eea6c975ec83c829b850b3483d309141890f70
7
- data.tar.gz: 1cbb0ba8446f5121c3efc669512f8540328f29d7b6d526234b0cadc7dc4b75a96b0830c10b9b744c63bafde61d21839d1f303b0c4677a07aab832bfaa1f055c4
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. For Ruby 1.9 support, use mercadopago ~> 2.2.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
 
@@ -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'] # Sometimes refresh_token is not received
196
+ @refresh_token = auth['refresh_token']
197
197
  else
198
198
  raise AccessError, auth['message']
199
199
  end
@@ -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
@@ -1,3 +1,3 @@
1
1
  module MercadoPago
2
- VERSION = "2.3.1".freeze
2
+ VERSION = "3.0.0".freeze
3
3
  end
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: 2.3.1
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-05-07 00:00:00.000000000 Z
12
+ date: 2018-06-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json