mercadopago-api 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 155fc99cb3efe82de797ac29f5b2c567449d4f5f
4
- data.tar.gz: d001e53765a037fb1ef2ad92837aed5db9bb2bf4
3
+ metadata.gz: 8dee6e0dc674f41fbfb9d0e711574f001dcd2f49
4
+ data.tar.gz: 85db5f321b885081cb5bf419ff69bcfe0aa8d011
5
5
  SHA512:
6
- metadata.gz: 09de1453ce3233432210f6a64c22db198af9473af7aaf71efa7161be6b00d67f350a844aa6a5948dce0b6466d3a18d9a786573479140242bdd720fbd14f118a2
7
- data.tar.gz: aa87208c0982f2a53f26ba769a681c506eec0850eea72bd7fbe44390f2a15ad0510877d32317e985a313c68083851395747b2834da956753ff7479cc0630fbf5
6
+ metadata.gz: d2b69bf7c16228d52e680db4b51dc64df4d7f36fd14afefc1d6fb26021dfec568114db05bd1b0537d28607ae2ef2536b890c00c5b8451a099a4a01ca95f60153
7
+ data.tar.gz: 57714f474b2468cfe69b795f3119ad2bc12c7439ba1dc7b4575c1b7c5c5263874d5faedc413b23b20eaab6846eb2416550ffbc1fb9abb574738bcbbc738435aa
@@ -20,7 +20,11 @@ module Mercadopago
20
20
  else
21
21
  result = sdk.search_payment(payment_id)
22
22
  end
23
- result
23
+ if result["collection"].nil?
24
+ result
25
+ else
26
+ result["collection"]
27
+ end
24
28
  end
25
29
 
26
30
  def find_payment_with_notification(payment_id)
@@ -1,3 +1,3 @@
1
1
  module Mercadopago
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mercadopago-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Marin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-09 00:00:00.000000000 Z
11
+ date: 2013-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  version: '0'
122
122
  requirements: []
123
123
  rubyforge_project:
124
- rubygems_version: 2.1.5
124
+ rubygems_version: 2.1.11
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: This gem manage the Mercadopago api using rest-client and mercadopago rest