mercadopago-sdk 2.0.3 → 2.1.0

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: b8e6135cb3e0d5f8f0c998dfb10e9df4cf73277c8668f4828f8e5546278e6d2b
4
- data.tar.gz: 1146f18fff0281cce92e9da15277a526bd3f739fcd456967aa2a3c8de6827bd6
3
+ metadata.gz: 495f4405c4f5218162702e1b5dc89fb0272011a7fbf6087be65af587e26b7b69
4
+ data.tar.gz: 46a6aecbdaf9d33e966c49316d694150e6bacbac165d18a5759cf8459e61e47b
5
5
  SHA512:
6
- metadata.gz: 0c6420857efa67afe2a7524e0e23a996d7d5805550921321eff0eaac1cf07770b82069ee0b776e642ad3bdba6124c2d44874530832a152b02c8adc9c3d593164
7
- data.tar.gz: 1507f8d854b70dd1ad8d9be129b245824c6c04f5caf16b9e6b03c96225f8b7d966380c1f3cdfdb1c874b65fbefacc0bfdc9d883012a6c22f10e540d57b0c922b
6
+ metadata.gz: 0e929b0bfd4d9bf9f88e103484624adea240491b27c669943ecb7498570cfe775fdb894b7bed6343d250fe27794cbb16e89be8b62373585d1d1ec1dbcf33d29d
7
+ data.tar.gz: 14a3aa78706c87948ed259d300548b9d01e69b00be87276ad14f12ab464b3c30ced5ebaacd731fd9034d930ec498c4342f1ab85df1c14f2d83f7fd9af5b476ca
@@ -3,7 +3,7 @@
3
3
 
4
4
  module Mercadopago
5
5
  class Config
6
- @@VERSION = '2.0.3'
6
+ @@VERSION = '2.1.0'
7
7
  @@USER_AGENT = "MercadoPago Ruby SDK v#{@@VERSION}"
8
8
  @@PRODUCT_ID = 'bc32a7vtrpp001u8nhjg'
9
9
  @@TRACKING_ID = "plataform: ?,type:SDK#{@@VERSION},so;"
@@ -28,6 +28,7 @@ module Mercadopago
28
28
  headers = { 'Authorization': "Bearer #{@access_token}",
29
29
  'x-product-id' => @config.product_id,
30
30
  'x-tracking-id' => @config.tracking_id,
31
+ 'x-idempotency-key' => SecureRandom.uuid,
31
32
  'User-Agent' => @config.user_agent,
32
33
  'Accept': @config.mime_json }
33
34
 
data/mercadopago.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'mercadopago-sdk'
5
- gem.version = '2.0.3'
5
+ gem.version = '2.1.0'
6
6
  gem.required_ruby_version = '>= 2.3.0'
7
7
  gem.author = 'Mercado Pago'
8
8
  gem.description = 'Mercado Pago Ruby SDK'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mercadopago-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mercado Pago
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-05 00:00:00.000000000 Z
11
+ date: 2022-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json