mercadopago-sdk 0.3.3 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +2 -1
- data/.travis.yml +14 -0
- data/Gemfile.lock +2 -2
- data/README.md +74 -65
- data/examples/checkout-buttons/basic_preference/button.rb +1 -1
- data/examples/payment-search/search-creditcard-payments.rb +1 -1
- data/examples/payment-search/search-funded-payments-by-name.rb +1 -1
- data/examples/payment-search/search-payments-from-email-and-date.rb +1 -1
- data/examples/payment-search/search-payments.rb +1 -1
- data/examples/preapproval-payments/button.rb +1 -1
- data/lib/mercadopago.rb +52 -9
- data/lib/version.rb +2 -1
- data/travis_Gemfile +4 -0
- metadata +14 -14
- data/mercadopago-sdk-0.3.2.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 40a42ea53dd82c6c9932c0c603b23920bf03c89d6823a3779a99f778b99d361d
|
4
|
+
data.tar.gz: 1c8bea06955578aff4de9afcd4ae03f4a375ae3f1a2bda31014c301148997740
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1da53205f33babf2452c51a242b2cd2e8b87d069cfe8b61fc634ec04a53c46f5cbee8e0c88cf86fb7b6fe3dcc1e596e028b2255bd6a1ee738b551ee09f43d16
|
7
|
+
data.tar.gz: eca076db10b08db2074d4703dbd69bd645855e06a23847f4ef05f8625276f4188eef81ed4c8175f9cb28074a40e895a10b051eb8ce92559964e39428564c0968
|
data/.gitignore
CHANGED
data/.travis.yml
ADDED
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mercadopago-sdk (0.
|
4
|
+
mercadopago-sdk (0.3.5)
|
5
5
|
json
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
10
|
coderay (1.0.9)
|
11
|
-
json (1.
|
11
|
+
json (1.8.3)
|
12
12
|
method_source (0.8.1)
|
13
13
|
pry (0.9.12)
|
14
14
|
coderay (~> 1.0.5)
|
data/README.md
CHANGED
@@ -1,51 +1,24 @@
|
|
1
|
-
#
|
1
|
+
# Mercado Pago SDK for Ruby
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
[![Gem](https://img.shields.io/gem/v/mercadopago-sdk)](https://rubygems.org/gems/mercadopago-sdk)
|
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)
|
6
6
|
|
7
|
-
|
8
|
-
## Usage:
|
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.
|
9
8
|
|
10
|
-
|
9
|
+
## 💡 Requirements
|
11
10
|
|
12
|
-
|
11
|
+
The SDK Supports Ruby from version v0
|
13
12
|
|
14
|
-
|
13
|
+
## 📲 Installation
|
15
14
|
|
16
|
-
|
17
|
-
* Argentina: [https://www.mercadopago.com/mla/herramientas/aplicaciones](https://www.mercadopago.com/mla/herramientas/aplicaciones)
|
18
|
-
* Brazil: [https://www.mercadopago.com/mlb/ferramentas/aplicacoes](https://www.mercadopago.com/mlb/ferramentas/aplicacoes)
|
19
|
-
* México: [https://www.mercadopago.com/mlm/herramientas/aplicaciones](https://www.mercadopago.com/mlm/herramientas/aplicaciones)
|
20
|
-
* Venezuela: [https://www.mercadopago.com/mlv/herramientas/aplicaciones](https://www.mercadopago.com/mlv/herramientas/aplicaciones)
|
21
|
-
* Colombia: [https://www.mercadopago.com/mco/herramientas/aplicaciones](https://www.mercadopago.com/mco/herramientas/aplicaciones)
|
15
|
+
First time using Mercado Pago? Create your [Mercado Pago account](https://www.mercadopago.com), if you don’t have one already.
|
22
16
|
|
23
|
-
```
|
24
|
-
require 'mercadopago.rb'
|
25
|
-
|
26
|
-
$mp = MercadoPago.new('CLIENT_ID', 'CLIENT_SECRET')
|
27
|
-
```
|
28
|
-
|
29
|
-
### ...with your long live access token:
|
30
|
-
|
31
|
-
```ruby
|
32
|
-
require 'mercadopago.rb'
|
33
|
-
|
34
|
-
$mp = MercadoPago.new('LL_ACCESS_TOKEN')
|
35
|
-
```
|
17
|
+
1. Run ```gem install mercadopago-sdk```
|
36
18
|
|
37
|
-
|
19
|
+
2. Copy the access_token in the [credentials](https://www.mercadopago.com/mlb/account/credentials) section of the page and replace YOUR_ACCESS_TOKEN with it.
|
38
20
|
|
39
|
-
|
40
|
-
$accessToken = $mp.get_access_token()
|
41
|
-
|
42
|
-
puts (accessToken)
|
43
|
-
```
|
44
|
-
|
45
|
-
<a name="checkout"></a>
|
46
|
-
## Using MercadoPago Checkout
|
47
|
-
|
48
|
-
### Get an existent Checkout preference:
|
21
|
+
Thats all, you have Mercado Pago SDK installed.
|
49
22
|
|
50
23
|
```ruby
|
51
24
|
preference = $mp.get_preference('PREFERENCE_ID')
|
@@ -53,18 +26,29 @@ preference = $mp.get_preference('PREFERENCE_ID')
|
|
53
26
|
puts $preferenceResult
|
54
27
|
```
|
55
28
|
|
56
|
-
|
29
|
+
## 🌟 Getting Started
|
30
|
+
|
31
|
+
Simple usage looks like:
|
57
32
|
|
58
33
|
```ruby
|
59
|
-
|
60
|
-
|
61
|
-
|
34
|
+
require 'mercadopago.rb'
|
35
|
+
|
36
|
+
$mp = MercadoPago.new('YOUR_ACCESS_TOKEN')
|
37
|
+
|
38
|
+
preference_data = {
|
39
|
+
"items": [
|
40
|
+
{
|
41
|
+
"title": "testCreate",
|
42
|
+
"quantity": 1,
|
43
|
+
"unit_price": 10.2,
|
44
|
+
"currency_id": "ARS"
|
45
|
+
}
|
46
|
+
preference = $mp.create_preference(preference_data)
|
62
47
|
|
63
48
|
puts preference
|
64
49
|
```
|
65
|
-
<a href="http://developers.mercadopago.com/documentacion/recibir-pagos#glossary">Others items to use</a>
|
66
50
|
|
67
|
-
|
51
|
+
#### Update an existent Checkout preference
|
68
52
|
|
69
53
|
```ruby
|
70
54
|
preferenceDataToUpdate = Hash["items" => Array(Array["title"=>"testUpdated", "quantity"=>1, "unit_price"=>2])]
|
@@ -74,37 +58,27 @@ preferenceUpdate = $mp.update_preference("PREFERENCE_ID", preferenceDataToUpdate
|
|
74
58
|
puts preferenceUpdate
|
75
59
|
```
|
76
60
|
|
77
|
-
|
78
|
-
## Using MercadoPago Payment
|
61
|
+
### Payments/Collections
|
79
62
|
|
80
|
-
|
63
|
+
#### Search for payments
|
81
64
|
|
82
65
|
```ruby
|
83
|
-
filters = Array["id"=>null, "
|
66
|
+
filters = Array["id"=>null, "external_reference"=>null]
|
84
67
|
|
85
68
|
searchResult = $mp.search_payment(filters)
|
86
69
|
|
87
70
|
puts searchResult
|
88
71
|
```
|
89
|
-
<a href="http://developers.mercadopago.com/documentacion/busqueda-de-pagos-recibidos">More search examples</a>
|
90
72
|
|
91
|
-
|
92
|
-
|
93
|
-
* Go to **Mercadopago IPN configuration**:
|
94
|
-
* Argentina: [https://www.mercadopago.com/mla/herramientas/notificaciones](https://www.mercadopago.com/mla/herramientas/notificaciones)
|
95
|
-
* Brasil: [https://www.mercadopago.com/mlb/ferramentas/notificacoes](https://www.mercadopago.com/mlb/ferramentas/notificacoes)
|
96
|
-
* México: [https://www.mercadopago.com/mlm/herramientas/notificaciones](https://www.mercadopago.com/mlm/herramientas/notificaciones)
|
97
|
-
* Venezuela: [https://www.mercadopago.com/mlv/herramientas/notificaciones](https://www.mercadopago.com/mlv/herramientas/notificaciones)
|
98
|
-
* Colombia: [https://www.mercadopago.com/mco/herramientas/notificaciones](https://www.mercadopago.com/mco/herramientas/notificaciones)<br />
|
73
|
+
#### Get payment data
|
99
74
|
|
100
75
|
```ruby
|
101
|
-
|
102
|
-
paymentInfo = $mp.get_payment_info("ID")
|
76
|
+
paymentInfo = $mp.get_payment("ID")
|
103
77
|
|
104
78
|
puts paymentInfo
|
105
79
|
```
|
106
80
|
|
107
|
-
### Cancel (only for pending payments)
|
81
|
+
### Cancel (only for pending payments)
|
108
82
|
|
109
83
|
```ruby
|
110
84
|
result = $mp.cancel_payment("ID");
|
@@ -113,7 +87,7 @@ result = $mp.cancel_payment("ID");
|
|
113
87
|
puts result
|
114
88
|
```
|
115
89
|
|
116
|
-
### Refund (only for accredited payments)
|
90
|
+
### Refund (only for accredited payments)
|
117
91
|
|
118
92
|
```ruby
|
119
93
|
result = $mp.refund_payment("ID");
|
@@ -121,11 +95,46 @@ result = $mp.refund_payment("ID");
|
|
121
95
|
// Show result
|
122
96
|
puts result
|
123
97
|
```
|
124
|
-
<a href=http://developers.mercadopago.com/documentacion/devolucion-y-cancelacion>About Cancel & Refund</a>
|
125
98
|
|
126
|
-
|
99
|
+
<a name="custom-checkout"></a>
|
100
|
+
## Customized checkout
|
101
|
+
|
102
|
+
### Configure your credentials
|
103
|
+
|
104
|
+
* Get your **ACCESS_TOKEN** in the following address:
|
105
|
+
* Argentina: [https://www.mercadopago.com/mla/account/credentials](https://www.mercadopago.com/mla/account/credentials)
|
106
|
+
* Brazil: [https://www.mercadopago.com/mlb/account/credentials](https://www.mercadopago.com/mlb/account/credentials)
|
107
|
+
* Mexico: [https://www.mercadopago.com/mlm/account/credentials](https://www.mercadopago.com/mlm/account/credentials)
|
108
|
+
* Venezuela: [https://www.mercadopago.com/mlv/account/credentials](https://www.mercadopago.com/mlv/account/credentials)
|
109
|
+
* Colombia: [https://www.mercadopago.com/mco/account/credentials](https://www.mercadopago.com/mco/account/credentials)
|
110
|
+
|
111
|
+
```ruby
|
112
|
+
require 'mercadopago.rb'
|
113
|
+
|
114
|
+
$mp = MercadoPago.new('ACCESS_TOKEN')
|
115
|
+
```
|
116
|
+
|
117
|
+
### Create payment
|
118
|
+
|
119
|
+
```ruby
|
120
|
+
$mp.post ("/v1/payments", payment_data);
|
121
|
+
```
|
122
|
+
|
123
|
+
### Create customer
|
124
|
+
|
125
|
+
```ruby
|
126
|
+
$mp.post ("/v1/customers", Hash["email" => "email@test.com"]);
|
127
|
+
```
|
128
|
+
|
129
|
+
Check our official code reference to explore all available functionalities.
|
130
|
+
|
131
|
+
```ruby
|
132
|
+
$mp.get ("/v1/customers/CUSTOMER_ID");
|
133
|
+
```
|
134
|
+
|
135
|
+
If you require technical support, please contact our support team at [developers.mercadopago.com](https://developers.mercadopago.com)
|
127
136
|
|
128
|
-
|
137
|
+
## 🏻 License
|
129
138
|
|
130
139
|
```ruby
|
131
140
|
// Get a resource, with optional URL params. Also you can disable authentication for public APIs
|
@@ -17,7 +17,7 @@ class Button
|
|
17
17
|
</head>
|
18
18
|
<body>
|
19
19
|
<a href="' + preference['response']['init_point'] + '" name="MP-Checkout" class="orange-ar-m-sq-arall">Pay</a>
|
20
|
-
<script type="text/javascript" src="
|
20
|
+
<script type="text/javascript" src="//resources.mlstatic.com/mptools/render.js"></script>
|
21
21
|
</body>
|
22
22
|
</html>'
|
23
23
|
|
@@ -8,7 +8,7 @@ class IPN
|
|
8
8
|
mp = MercadoPago.new('CLIENT_ID', 'CLIENT_SECRET')
|
9
9
|
|
10
10
|
# Sets the filters you want
|
11
|
-
filters = Hash["range"=>"date_created", "begin_date"=>"2011-10-21T00:00:00Z", "end_date"=>"2011-10-25T24:00:00Z", "
|
11
|
+
filters = Hash["range"=>"date_created", "begin_date"=>"2011-10-21T00:00:00Z", "end_date"=>"2011-10-25T24:00:00Z", "payment_type_id"=>"credit_card", "operation_type"=>"regular_payment"]
|
12
12
|
|
13
13
|
# Search payment data according to filters
|
14
14
|
searchResult = mp.search_payment(filters)
|
@@ -8,7 +8,7 @@ class IPN
|
|
8
8
|
mp = MercadoPago.new('CLIENT_ID', 'CLIENT_SECRET')
|
9
9
|
|
10
10
|
# Sets the filters you want
|
11
|
-
filters = Hash["installments" => 12, "
|
11
|
+
filters = Hash["installments" => 12, "description"=>"product_name", "operation_type"=>"regular_payment"]
|
12
12
|
|
13
13
|
# Search payment data according to filters
|
14
14
|
searchResult = mp.search_payment(filters)
|
@@ -8,7 +8,7 @@ class IPN
|
|
8
8
|
mp = MercadoPago.new('CLIENT_ID', 'CLIENT_SECRET')
|
9
9
|
|
10
10
|
# Sets the filters you want
|
11
|
-
filters = Hash["
|
11
|
+
filters = Hash["payer.email" => "mail02@mail02.com", "begin_date"=>"2011-01-01T00:00:00Z", "end_date"=>"2011-02-01T00:00:00Z"]
|
12
12
|
|
13
13
|
# Search payment data according to filters
|
14
14
|
searchResult = mp.search_payment(filters)
|
@@ -8,7 +8,7 @@ class IPN
|
|
8
8
|
mp = MercadoPago.new('CLIENT_ID', 'CLIENT_SECRET')
|
9
9
|
|
10
10
|
# Sets the filters you want
|
11
|
-
filters = Hash["
|
11
|
+
filters = Hash["external_reference"=>"Bill001"]
|
12
12
|
|
13
13
|
# Search payment data according to filters
|
14
14
|
searchResult = mp.search_payment(filters)
|
@@ -31,7 +31,7 @@ class Button
|
|
31
31
|
</head>
|
32
32
|
<body>
|
33
33
|
<a href="' + preapprovalPayment['response']['init_point'] + '" name="MP-Checkout" class="orange-ar-m-sq-arall">Pay</a>
|
34
|
-
<script type="text/javascript" src="
|
34
|
+
<script type="text/javascript" src="//resources.mlstatic.com/mptools/render.js"></script>
|
35
35
|
</body>
|
36
36
|
</html>'
|
37
37
|
|
data/lib/mercadopago.rb
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
#@contributors @chrismo
|
6
6
|
|
7
7
|
require 'rubygems'
|
8
|
-
require 'json
|
8
|
+
require 'json'
|
9
9
|
require 'uri'
|
10
10
|
require 'net/https'
|
11
11
|
require 'yaml'
|
12
|
-
require 'version'
|
12
|
+
require File.dirname(__FILE__) + '/version'
|
13
13
|
require 'ssl_options_patch'
|
14
14
|
|
15
15
|
class MercadoPago
|
@@ -30,6 +30,18 @@ class MercadoPago
|
|
30
30
|
@rest_client.set_debug_logger(debug_logger)
|
31
31
|
end
|
32
32
|
|
33
|
+
def set_platform_id(platform_id)
|
34
|
+
@rest_client.set_platform_id(platform_id)
|
35
|
+
end
|
36
|
+
|
37
|
+
def set_integrator_id(integrator_id)
|
38
|
+
@rest_client.set_integrator_id(integrator_id)
|
39
|
+
end
|
40
|
+
|
41
|
+
def set_corporation_id(corporation_id)
|
42
|
+
@rest_client.set_corporation_id(corporation_id)
|
43
|
+
end
|
44
|
+
|
33
45
|
def sandbox_mode(enable=nil)
|
34
46
|
if not enable.nil?
|
35
47
|
@sandbox = enable
|
@@ -69,7 +81,9 @@ class MercadoPago
|
|
69
81
|
end
|
70
82
|
|
71
83
|
uri_prefix = @sandbox ? "/sandbox" : ""
|
72
|
-
|
84
|
+
|
85
|
+
@rest_client.get(uri_prefix + "/v1/payments/" + id + "?access_token=" + access_token)
|
86
|
+
|
73
87
|
end
|
74
88
|
|
75
89
|
def get_payment_info(id)
|
@@ -95,8 +109,10 @@ class MercadoPago
|
|
95
109
|
return e.message
|
96
110
|
end
|
97
111
|
|
98
|
-
|
99
|
-
|
112
|
+
|
113
|
+
refund_status = {}
|
114
|
+
@rest_client.post("/v1/payments/" + id + "/refunds?access_token=" + access_token, refund_status)
|
115
|
+
|
100
116
|
end
|
101
117
|
|
102
118
|
# Cancel pending payment
|
@@ -108,7 +124,7 @@ class MercadoPago
|
|
108
124
|
end
|
109
125
|
|
110
126
|
cancel_status = {"status" => "cancelled"}
|
111
|
-
@rest_client.put("/
|
127
|
+
@rest_client.put("/v1/payments/" + id + "?access_token=" + access_token, cancel_status)
|
112
128
|
end
|
113
129
|
|
114
130
|
# Cancel preapproval payment
|
@@ -137,7 +153,9 @@ class MercadoPago
|
|
137
153
|
filters = build_query(filters)
|
138
154
|
|
139
155
|
uri_prefix = @sandbox ? "/sandbox" : ""
|
140
|
-
|
156
|
+
|
157
|
+
@rest_client.get(uri_prefix + "/v1/payments/search?" + filters + "&access_token=" + access_token)
|
158
|
+
|
141
159
|
end
|
142
160
|
|
143
161
|
# Create a checkout preference
|
@@ -298,27 +316,52 @@ class MercadoPago
|
|
298
316
|
|
299
317
|
if API_BASE_URL.scheme == "https" # enable SSL/TLS
|
300
318
|
@http.use_ssl = true
|
301
|
-
@http.
|
319
|
+
@http.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
320
|
+
|
321
|
+
# explicitly tell OpenSSL not to use SSL3 nor TLS 1.0
|
322
|
+
@http.ssl_options = OpenSSL::SSL::OP_NO_SSLv3 + OpenSSL::SSL::OP_NO_TLSv1
|
302
323
|
end
|
303
324
|
|
304
325
|
@http.set_debug_output debug_logger if debug_logger
|
326
|
+
|
327
|
+
@platform_id = nil
|
328
|
+
@integrator_id = nil
|
329
|
+
@corporation_id = nil
|
305
330
|
end
|
306
331
|
|
307
332
|
def set_debug_logger(debug_logger)
|
308
333
|
@http.set_debug_output debug_logger
|
309
334
|
end
|
310
335
|
|
336
|
+
def set_platform_id(platform_id)
|
337
|
+
@platform_id = platform_id
|
338
|
+
end
|
339
|
+
|
340
|
+
def set_integrator_id(integrator_id)
|
341
|
+
@integrator_id = integrator_id
|
342
|
+
end
|
343
|
+
|
344
|
+
def set_corporation_id(corporation_id)
|
345
|
+
@corporation_id = corporation_id
|
346
|
+
end
|
347
|
+
|
311
348
|
def exec(method, uri, data, content_type)
|
312
349
|
if not data.nil? and content_type == MIME_JSON
|
313
350
|
data = data.to_json
|
314
351
|
end
|
315
352
|
|
316
353
|
headers = {
|
354
|
+
'x-product-id' => PRODUCT_ID,
|
355
|
+
'x-tracking-id' => "platform:"+RUBY_VERSION.split('.')[0]+"|"+RUBY_VERSION+",type:SDK"+MERCADO_PAGO_VERSION+",so;",
|
317
356
|
'User-Agent' => "MercadoPago Ruby SDK v" + MERCADO_PAGO_VERSION,
|
318
357
|
'Content-type' => content_type,
|
319
358
|
'Accept' => MIME_JSON
|
320
359
|
}
|
321
360
|
|
361
|
+
headers['x-platform-id'] = @platform_id if @platform_id != nil
|
362
|
+
headers['x-integrator-id'] = @integrator_id if @integrator_id != nil
|
363
|
+
headers['x-corporation-id'] = @corporation_id if @corporation_id != nil
|
364
|
+
|
322
365
|
api_result = @http.send_request(method, uri, data, headers)
|
323
366
|
|
324
367
|
{
|
@@ -338,7 +381,7 @@ class MercadoPago
|
|
338
381
|
def put(uri, data = nil, content_type=MIME_JSON)
|
339
382
|
exec("PUT", uri, data, content_type)
|
340
383
|
end
|
341
|
-
|
384
|
+
|
342
385
|
def delete(uri, content_type=MIME_JSON)
|
343
386
|
exec("DELETE", uri, nil, content_type)
|
344
387
|
end
|
data/lib/version.rb
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
MERCADO_PAGO_VERSION = '
|
1
|
+
MERCADO_PAGO_VERSION = '1.2.0' unless defined?(MERCADO_PAGO_VERSION)
|
2
|
+
PRODUCT_ID = 'bc32a7vtrpp001u8nhjg'
|
data/travis_Gemfile
ADDED
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mercadopago-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- maticompiano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description: MercadoPago Ruby SDK
|
@@ -59,7 +59,8 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
- .gitignore
|
62
|
+
- ".gitignore"
|
63
|
+
- ".travis.yml"
|
63
64
|
- Gemfile
|
64
65
|
- Gemfile.lock
|
65
66
|
- README.md
|
@@ -75,9 +76,9 @@ files:
|
|
75
76
|
- lib/mercadopago.rb
|
76
77
|
- lib/ssl_options_patch.rb
|
77
78
|
- lib/version.rb
|
78
|
-
- mercadopago-sdk-0.3.2.gem
|
79
79
|
- mercadopago.gemspec
|
80
80
|
- tests/tests.rb
|
81
|
+
- travis_Gemfile
|
81
82
|
homepage: http://github.com/mercadopago/sdk-ruby
|
82
83
|
licenses: []
|
83
84
|
metadata: {}
|
@@ -87,17 +88,16 @@ require_paths:
|
|
87
88
|
- lib
|
88
89
|
required_ruby_version: !ruby/object:Gem::Requirement
|
89
90
|
requirements:
|
90
|
-
- -
|
91
|
+
- - ">="
|
91
92
|
- !ruby/object:Gem::Version
|
92
93
|
version: '0'
|
93
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
95
|
requirements:
|
95
|
-
- -
|
96
|
+
- - ">="
|
96
97
|
- !ruby/object:Gem::Version
|
97
98
|
version: '0'
|
98
99
|
requirements: []
|
99
|
-
|
100
|
-
rubygems_version: 2.0.14
|
100
|
+
rubygems_version: 3.0.3
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: MercadoPago Ruby SDK
|
data/mercadopago-sdk-0.3.2.gem
DELETED
Binary file
|