mercadopago-sdk 2.2.0 → 2.2.1

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: 41c1d87f633a6f99580d5aa53ff476e1c39ab6cde50f2cd6b5972c2fd46efdce
4
- data.tar.gz: f894cf94fb149964f837cc2ea2863ac4b573f8d6842207b36dc3cc1745289db2
3
+ metadata.gz: db8a423302b0b645b2a78a1a5ed957ebe8cbb60aa689d6eb01673e41325e4371
4
+ data.tar.gz: 845ced4c1aca6a7543100703ff7e828c2e3ea0f98b82448198934cee1d98d6ee
5
5
  SHA512:
6
- metadata.gz: fded9ebc44f76799bfbc0bfdb984ad9de475b064bfb86b40592caece6eec1dfcb78e9e70a05eaeeeacb82b0ac6144075f393a710daad181e8efb6f3a40977341
7
- data.tar.gz: 4080de6c39418743845166d9bbb06bc481cc511a676f46ad6ea170d6746a2a74283294553770f250974d87595c7827478af25246d04b98b9994b2cfbce53e368
6
+ metadata.gz: 727cba9089c2ea5b85cb6a7e4b41c428999f12e903bc04996ecb529f50301642a10c9dec3676e044b734f8c53091b1b9f8ac6a6ff674c869e35856055108655f
7
+ data.tar.gz: 1c420d60d2ee836b1f03a05fff2ca43fceb83c890625e1314e3beddd61066bdab4d100118db533ca5f1b7e5c6c0e9d842150577df83f887778708175d1a1baf8
@@ -33,3 +33,5 @@ jobs:
33
33
  run: rubocop lib
34
34
  - name: Run tests
35
35
  run: bundle exec rake
36
+ env:
37
+ ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN_V2 }}
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![Gem](https://img.shields.io/gem/v/mercadopago-sdk)](https://rubygems.org/gems/mercadopago-sdk)
4
4
  [![Gem](https://img.shields.io/gem/dt/mercadopago-sdk)](https://rubygems.org/gems/mercadopago-sdk)
5
- [![APM](https://img.shields.io/apm/l/vim-mode)](https://github.com/mercadopago/sdk-ruby)
5
+ ![GitHub](https://img.shields.io/github/license/mercadopago/sdk-ruby)
6
6
 
7
7
  This library provides developers with a simple set of bindings to help you integrate Mercado Pago API to a website and start receiving payments.
8
8
 
@@ -18,7 +18,7 @@ Run ```gem install mercadopago-sdk```
18
18
 
19
19
  First time using Mercado Pago? Create your [Mercado Pago account](https://www.mercadopago.com).
20
20
 
21
- Copy your `Access Token` in the [credentials panel](https://www.mercadopago.com/developers/panel/credentials) and replace the text `YOUR_ACCESS_TOKEN` with it.
21
+ Copy your `Access Token` in the [credentials panel](https://www.mercadopago.com/developers/panel/app) and replace the text `YOUR_ACCESS_TOKEN` with it.
22
22
 
23
23
  ### Simple usage
24
24
 
@@ -62,10 +62,10 @@ payment = result[:response]
62
62
  ## 📚 Documentation
63
63
 
64
64
  Visit our Dev Site for further information regarding:
65
- - [APIs](https://www.mercadopago.com/developers/en/reference)
65
+ - [Developer Docs](https://www.mercadopago.com/developers/en/docs)
66
+ - [Checkout Bricks](https://www.mercadopago.com/developers/en/docs/checkout-bricks/landing)
66
67
  - [Checkout Pro](https://www.mercadopago.com/developers/en/guides/online-payments/checkout-pro/introduction)
67
68
  - [Checkout API](https://www.mercadopago.com/developers/en/guides/online-payments/checkout-api/introduction)
68
- - [Web Tokenize Checkout](https://www.mercadopago.com/developers/en/guides/online-payments/web-tokenize-checkout/introduction)
69
69
 
70
70
  Check our official code reference to explore all available functionalities.
71
71
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  module Mercadopago
5
5
  class Config
6
- @@VERSION = '2.1.0'
6
+ @@VERSION = '2.2.1'
7
7
  @@USER_AGENT = "MercadoPago Ruby SDK v#{@@VERSION}"
8
8
  @@PRODUCT_ID = 'bc32a7vtrpp001u8nhjg'
9
- @@TRACKING_ID = "plataform: ?,type:SDK#{@@VERSION},so;"
9
+ @@TRACKING_ID = "platform:#{RUBY_VERSION},type:SDK#{@@VERSION},so;"
10
10
  @@API_BASE_URL = 'https://api.mercadopago.com'
11
11
  @@MIME_JSON = 'application/json'
12
12
  @@MIME_FORM = 'application/x-www-form-urlencoded'
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.2.0'
5
+ gem.version = '2.2.1'
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.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mercado Pago
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-14 00:00:00.000000000 Z
11
+ date: 2023-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json