Skip to content

Commit

Permalink
Merge pull request #40 from mercadopago/release/1.1.0
Browse files Browse the repository at this point in the history
Release 1.1.0
  • Loading branch information
delias-silva authored Jan 21, 2020
2 parents 2be0dc2 + 97bb94c commit a70714e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
bin/
config/*yml
pkg/
*.log
*.log
*.gem
2 changes: 2 additions & 0 deletions lib/mercadopago.rb
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@ def exec(method, uri, data, content_type)
end

headers = {
'x-product-id' => PRODUCT_ID,
'x-tracking-id' => "platform:"+RUBY_VERSION.split('.')[0]+"|"+RUBY_VERSION+",type:SDK"+MERCADO_PAGO_VERSION+",so;",
'User-Agent' => "MercadoPago Ruby SDK v" + MERCADO_PAGO_VERSION,
'Content-type' => content_type,
'Accept' => MIME_JSON
Expand Down
3 changes: 2 additions & 1 deletion lib/version.rb
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
MERCADO_PAGO_VERSION = '0.3.6' unless defined?(MERCADO_PAGO_VERSION)
MERCADO_PAGO_VERSION = '1.1.0' unless defined?(MERCADO_PAGO_VERSION)
PRODUCT_ID = 'bc32a7vtrpp001u8nhjg'
Binary file removed mercadopago-sdk-0.3.6.gem
Binary file not shown.

0 comments on commit a70714e

Please sign in to comment.