mercado_pago_rails 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: 15165876e4bd39b58fbaf0cb031867beede10111
4
- data.tar.gz: aab174c00ac0eeb7fe4a252c20d365a57680c5c8
3
+ metadata.gz: b5be4b18cabbb5e5c59d9280fb862afaf6647191
4
+ data.tar.gz: 554bc7b270d427c686c9e8d915fb2a37d6d7103d
5
5
  SHA512:
6
- metadata.gz: 446612d199cee48bf72a3ac7574be647fbae63128261c175877914344ca695d16ea112ada998af5a4f979a66612dd69b1ef490d46df4f86382f489354d177acc
7
- data.tar.gz: 913a95f7699125947c4f7f6e2ff76653510e9fdcd46b90e5e5b72046a8b66c020679eb6dab2783096d8e32d047d3e2f0341c106d189d528d7b1808a7e0aba274
6
+ metadata.gz: ea20a564cbbbe728fdc1d705c4a8f58d6e2417b06183d9ae7268abcba84143a80e62e9585b80c5ed2f9635d581c3b61c72acf2b1e362a72cd07fcf4a49d639da
7
+ data.tar.gz: 6144e7d7e4a877e581b54f0360edd2d9f3bad9b4c8c61383d4ac0ef9f9483af213ed90548acacd80157765e3d927773adf5b38363513ec227b8b97fd10ef9c73
data/README.md CHANGED
@@ -25,7 +25,7 @@ gem 'mercado_pago_rails'
25
25
  ## Usage
26
26
 
27
27
  ### MercadoPagoModule
28
- To start communicating with mercado pago, you need to include **MercadoPagoModule**. This module adds the method generate_purchase that receives two parameters:
28
+ The module **MercadoPagoModule** adds the method generate_purchase that receives two parameters:
29
29
  * An object that holds the information of the purchase to be made
30
30
  * A hash containing three urls: success_url, failure_url and pending_url
31
31
 
@@ -0,0 +1,12 @@
1
+ require 'net/http/generic_request'
2
+
3
+ module Net
4
+ class HTTP
5
+
6
+ def send_request(name, path, data = nil, header = nil)
7
+ @ssl_version = :SSLv3
8
+ r = HTTPGenericRequest.new(name,(data ? true : false),true,path,header)
9
+ request r, data
10
+ end
11
+ end
12
+ end
@@ -1,3 +1,3 @@
1
1
  module MercadoPagoRails
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mercado_pago_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias De Santi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-15 00:00:00.000000000 Z
11
+ date: 2013-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -123,6 +123,7 @@ files:
123
123
  - LICENSE
124
124
  - README.md
125
125
  - Rakefile
126
+ - config/initializers/http.rb
126
127
  - lib/mercado_pago_rails.rb
127
128
  - lib/mercado_pago_rails/mercado_pago_checkout.rb
128
129
  - lib/mercado_pago_rails/mercado_pago_rails_helper.rb