mercadopago 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mercadopago/client.rb +2 -2
- data/lib/mercadopago/version.rb +1 -1
- data/mercadopago.gemspec +8 -8
- metadata +33 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 915ad943d6fa17a084ca5591addde311f150f643
|
4
|
+
data.tar.gz: bb2accde1c3a562d02fa4ea44ecd5ea044080447
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc66543f4efec94a04dbf1d4496ff9f4aac31bcabe8b1d22f56de389deca6a21850e0a70f3f39a0ea2dd43fca4eea6c975ec83c829b850b3483d309141890f70
|
7
|
+
data.tar.gz: 1cbb0ba8446f5121c3efc669512f8540328f29d7b6d526234b0cadc7dc4b75a96b0830c10b9b744c63bafde61d21839d1f303b0c4677a07aab832bfaa1f055c4
|
data/lib/mercadopago/client.rb
CHANGED
@@ -189,11 +189,11 @@ module MercadoPago
|
|
189
189
|
# - auth: the authentication hash returned by MercadoPago.
|
190
190
|
#
|
191
191
|
def load_tokens(auth)
|
192
|
-
mandatory_keys = %w{ access_token
|
192
|
+
mandatory_keys = %w{ access_token }
|
193
193
|
|
194
194
|
if (auth.keys & mandatory_keys) == mandatory_keys
|
195
195
|
@access_token = auth['access_token']
|
196
|
-
@refresh_token = auth['refresh_token']
|
196
|
+
@refresh_token = auth['refresh_token'] # Sometimes refresh_token is not received
|
197
197
|
else
|
198
198
|
raise AccessError, auth['message']
|
199
199
|
end
|
data/lib/mercadopago/version.rb
CHANGED
data/mercadopago.gemspec
CHANGED
@@ -20,12 +20,12 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
22
|
# specify any dependencies here:
|
23
|
-
s.add_dependency 'json', '
|
24
|
-
s.add_dependency 'faraday', '
|
25
|
-
s.add_development_dependency 'pry'
|
26
|
-
s.add_development_dependency 'rake'
|
27
|
-
s.add_development_dependency 'byebug'
|
28
|
-
s.add_development_dependency 'test-unit'
|
29
|
-
s.add_development_dependency 'vcr'
|
30
|
-
s.add_development_dependency 'webmock'
|
23
|
+
s.add_dependency 'json', '~> 1.4'
|
24
|
+
s.add_dependency 'faraday', '~> 0.9.0'
|
25
|
+
s.add_development_dependency 'pry', '~> 0.11.1'
|
26
|
+
s.add_development_dependency 'rake', '~> 12.1'
|
27
|
+
s.add_development_dependency 'byebug', '~> 9.1'
|
28
|
+
s.add_development_dependency 'test-unit', '~> 3.2'
|
29
|
+
s.add_development_dependency 'vcr', '~> 3.0'
|
30
|
+
s.add_development_dependency 'webmock', '~> 3.0'
|
31
31
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mercadopago
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kauplus Social Commerce
|
@@ -9,120 +9,120 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-05-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 1.4
|
20
|
+
version: '1.4'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - "
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 1.4
|
27
|
+
version: '1.4'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: faraday
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: 0.9.0
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - "
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: 0.9.0
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: pry
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
48
|
+
version: 0.11.1
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
55
|
+
version: 0.11.1
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rake
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - "
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '
|
62
|
+
version: '12.1'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "
|
67
|
+
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
69
|
+
version: '12.1'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: byebug
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- - "
|
74
|
+
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
76
|
+
version: '9.1'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- - "
|
81
|
+
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
83
|
+
version: '9.1'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: test-unit
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- - "
|
88
|
+
- - "~>"
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: '
|
90
|
+
version: '3.2'
|
91
91
|
type: :development
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- - "
|
95
|
+
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: '
|
97
|
+
version: '3.2'
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: vcr
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- - "
|
102
|
+
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: '0'
|
104
|
+
version: '3.0'
|
105
105
|
type: :development
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
|
-
- - "
|
109
|
+
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: '0'
|
111
|
+
version: '3.0'
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
113
|
name: webmock
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
|
-
- - "
|
116
|
+
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: '0'
|
118
|
+
version: '3.0'
|
119
119
|
type: :development
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
|
-
- - "
|
123
|
+
- - "~>"
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: '0'
|
125
|
+
version: '3.0'
|
126
126
|
description: This gem allows developers to use the services available in the MercadoPago
|
127
127
|
API (http://www.mercadopago.com)
|
128
128
|
email:
|
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
174
|
version: '0'
|
175
175
|
requirements: []
|
176
176
|
rubyforge_project: mercadopago
|
177
|
-
rubygems_version: 2.
|
177
|
+
rubygems_version: 2.6.14
|
178
178
|
signing_key:
|
179
179
|
specification_version: 4
|
180
180
|
summary: Client for the MercadoPago API
|