bb_payments 0.1.7 → 0.1.8
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 +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +8 -22
- data/bb_payments.gemspec +3 -3
- data/lib/bb_payments/api_client.rb +2 -1
- data/lib/bb_payments/version.rb +1 -1
- metadata +32 -34
- data/bb_payments-0.1.4.gem +0 -0
- data/bb_payments-0.1.5.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e9a42c1ae5a4812c5796a9765957d7b4ff666388bdb31597a658112dbc39347e
|
|
4
|
+
data.tar.gz: 572f7c341865d227eae9d1d9becf838ffb316e0f3d6c3116a87f25c90ee70a29
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f7415d0ad4172bf21676e1b5667adeaf5f0df5a66ce42442984461fd78ab259a5f1dce5eec15fef0f277e1230505619771066d37551e9d8e049c3ee7ba521b7
|
|
7
|
+
data.tar.gz: 7c97008bdcd24aebc31d2e18b5eb1c1d82f8415acba733b7255cf1a18b07e04cd2be05f646d9c0f535f8c0629f9844be4afcfa227d348ce409492f32b5b1dfeb
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,42 +1,28 @@
|
|
|
1
|
-
GIT
|
|
2
|
-
remote: https://github.com/ruby-banco-brasil/bb-oauth
|
|
3
|
-
revision: d209b2fcade3ecfae737d3c47fdded8ffa033d2b
|
|
4
|
-
branch: main
|
|
5
|
-
specs:
|
|
6
|
-
bb_oauth (1.0.0)
|
|
7
|
-
json (~> 2.1, >= 2.1.0)
|
|
8
|
-
typhoeus (~> 1.0, >= 1.0.1)
|
|
9
|
-
|
|
10
1
|
PATH
|
|
11
2
|
remote: .
|
|
12
3
|
specs:
|
|
13
|
-
bb_payments (1.
|
|
4
|
+
bb_payments (0.1.7)
|
|
14
5
|
bb_oauth (~> 1.0)
|
|
15
|
-
json (~> 2.
|
|
6
|
+
json (~> 2.6, >= 2.1.0)
|
|
16
7
|
typhoeus (~> 1.0, >= 1.0.1)
|
|
17
8
|
|
|
18
9
|
GEM
|
|
19
10
|
remote: https://rubygems.org/
|
|
20
11
|
specs:
|
|
21
12
|
ast (2.4.2)
|
|
13
|
+
bb_oauth (1.0.2)
|
|
14
|
+
json (~> 2.1, >= 2.1.0)
|
|
15
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
|
22
16
|
byebug (11.1.3)
|
|
23
|
-
coderay (1.1.3)
|
|
24
17
|
diff-lcs (1.4.4)
|
|
25
18
|
ethon (0.16.0)
|
|
26
19
|
ffi (>= 1.15.0)
|
|
27
20
|
ffi (1.15.5)
|
|
28
21
|
jaro_winkler (1.5.4)
|
|
29
22
|
json (2.6.3)
|
|
30
|
-
method_source (1.0.0)
|
|
31
23
|
parallel (1.20.1)
|
|
32
24
|
parser (3.0.0.0)
|
|
33
25
|
ast (~> 2.4.1)
|
|
34
|
-
pry (0.13.1)
|
|
35
|
-
coderay (~> 1.1)
|
|
36
|
-
method_source (~> 1.0)
|
|
37
|
-
pry-byebug (3.9.0)
|
|
38
|
-
byebug (~> 11.0)
|
|
39
|
-
pry (~> 0.13.0)
|
|
40
26
|
psych (3.3.0)
|
|
41
27
|
rainbow (3.0.0)
|
|
42
28
|
rake (13.0.3)
|
|
@@ -71,12 +57,12 @@ PLATFORMS
|
|
|
71
57
|
x86_64-linux
|
|
72
58
|
|
|
73
59
|
DEPENDENCIES
|
|
74
|
-
bb_oauth
|
|
60
|
+
bb_oauth (~> 1.0, >= 1.0.1)
|
|
75
61
|
bb_payments!
|
|
76
|
-
|
|
62
|
+
byebug
|
|
77
63
|
rake (~> 13.0.1)
|
|
78
64
|
rspec (~> 3.6, >= 3.6.0)
|
|
79
65
|
rubocop (~> 0.66.0)
|
|
80
66
|
|
|
81
67
|
BUNDLED WITH
|
|
82
|
-
2.
|
|
68
|
+
2.4.17
|
data/bb_payments.gemspec
CHANGED
|
@@ -12,10 +12,10 @@ Gem::Specification.new do |s|
|
|
|
12
12
|
s.summary = "A ruby wrapper for Banco do Brasil VPN Payments"
|
|
13
13
|
s.description = "This gem maps to the BB Payments API"
|
|
14
14
|
s.license = "MIT"
|
|
15
|
-
s.required_ruby_version = ">=
|
|
15
|
+
s.required_ruby_version = ">= 2.5"
|
|
16
16
|
|
|
17
|
-
s.add_runtime_dependency 'typhoeus', '~> 1.
|
|
18
|
-
s.add_runtime_dependency 'json', '~> 2.
|
|
17
|
+
s.add_runtime_dependency 'typhoeus', '~> 1.4', '>= 1.0.1'
|
|
18
|
+
s.add_runtime_dependency 'json', '~> 2.6', '>= 2.1.0'
|
|
19
19
|
s.add_runtime_dependency 'bb_oauth', '~> 1.0'
|
|
20
20
|
|
|
21
21
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
|
@@ -181,7 +181,8 @@ module BancoBrasilPayments
|
|
|
181
181
|
# @param [Response] response HTTP response
|
|
182
182
|
# @param [String] return_type some examples: "User", "Array<User>", "Hash<String, Integer>"
|
|
183
183
|
def deserialize(response, return_type)
|
|
184
|
-
|
|
184
|
+
# removing the null byte from string using the octal. It has to by with double quote string
|
|
185
|
+
body = response.body.delete("\x0")
|
|
185
186
|
|
|
186
187
|
# handle file downloading - return the File instance processed in request callbacks
|
|
187
188
|
# note that response body is empty when the file is written in chunks in request on_body callback
|
data/lib/bb_payments/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bb_payments
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Roque
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2023-09-
|
|
12
|
+
date: 2023-09-14 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: typhoeus
|
|
@@ -17,7 +17,7 @@ dependencies:
|
|
|
17
17
|
requirements:
|
|
18
18
|
- - "~>"
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: '1.
|
|
20
|
+
version: '1.4'
|
|
21
21
|
- - ">="
|
|
22
22
|
- !ruby/object:Gem::Version
|
|
23
23
|
version: 1.0.1
|
|
@@ -27,7 +27,7 @@ dependencies:
|
|
|
27
27
|
requirements:
|
|
28
28
|
- - "~>"
|
|
29
29
|
- !ruby/object:Gem::Version
|
|
30
|
-
version: '1.
|
|
30
|
+
version: '1.4'
|
|
31
31
|
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: 1.0.1
|
|
@@ -37,7 +37,7 @@ dependencies:
|
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '2.
|
|
40
|
+
version: '2.6'
|
|
41
41
|
- - ">="
|
|
42
42
|
- !ruby/object:Gem::Version
|
|
43
43
|
version: 2.1.0
|
|
@@ -47,7 +47,7 @@ dependencies:
|
|
|
47
47
|
requirements:
|
|
48
48
|
- - "~>"
|
|
49
49
|
- !ruby/object:Gem::Version
|
|
50
|
-
version: '2.
|
|
50
|
+
version: '2.6'
|
|
51
51
|
- - ">="
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
53
|
version: 2.1.0
|
|
@@ -98,8 +98,6 @@ files:
|
|
|
98
98
|
- MIT-LICENSE.txt
|
|
99
99
|
- README.md
|
|
100
100
|
- Rakefile
|
|
101
|
-
- bb_payments-0.1.4.gem
|
|
102
|
-
- bb_payments-0.1.5.gem
|
|
103
101
|
- bb_payments.gemspec
|
|
104
102
|
- docs/BankSlipsApi.md
|
|
105
103
|
- docs/BarcodeCollectionFormsIDResponseObject.md
|
|
@@ -252,14 +250,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
252
250
|
requirements:
|
|
253
251
|
- - ">="
|
|
254
252
|
- !ruby/object:Gem::Version
|
|
255
|
-
version: '
|
|
253
|
+
version: '2.5'
|
|
256
254
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
257
255
|
requirements:
|
|
258
256
|
- - ">="
|
|
259
257
|
- !ruby/object:Gem::Version
|
|
260
258
|
version: '0'
|
|
261
259
|
requirements: []
|
|
262
|
-
rubygems_version: 3.
|
|
260
|
+
rubygems_version: 3.1.6
|
|
263
261
|
signing_key:
|
|
264
262
|
specification_version: 4
|
|
265
263
|
summary: A ruby wrapper for Banco do Brasil VPN Payments
|
|
@@ -268,35 +266,35 @@ test_files:
|
|
|
268
266
|
- spec/api_client_spec.rb
|
|
269
267
|
- spec/base_object_spec.rb
|
|
270
268
|
- spec/configuration_spec.rb
|
|
271
|
-
- spec/models/
|
|
272
|
-
- spec/models/
|
|
273
|
-
- spec/models/
|
|
274
|
-
- spec/models/inline_response_200_payments_list_spec.rb
|
|
269
|
+
- spec/models/error_spec.rb
|
|
270
|
+
- spec/models/inline_response_201_payments_list_spec.rb
|
|
271
|
+
- spec/models/inline_response_201_1_spec.rb
|
|
275
272
|
- spec/models/root_type_for_batch_transfers_cancel_request_object_spec.rb
|
|
276
|
-
- spec/models/
|
|
277
|
-
- spec/models/error_o_auth_unauthorized_spec.rb
|
|
273
|
+
- spec/models/root_type_for_returned_payments_details_spec.rb
|
|
278
274
|
- spec/models/inline_response_200_spec.rb
|
|
279
|
-
- spec/models/
|
|
280
|
-
- spec/models/root_type_for_batch_transfers_cancel_response_object_spec.rb
|
|
281
|
-
- spec/models/root_type_for_bank_slip_list_spec.rb
|
|
282
|
-
- spec/models/root_type_for_bank_slips_batch_payment_spec.rb
|
|
275
|
+
- spec/models/error_o_auth_unauthorized_attributes_spec.rb
|
|
283
276
|
- spec/models/inline_response_200_2_spec.rb
|
|
284
|
-
- spec/models/
|
|
285
|
-
- spec/models/inline_response_200_3_lista_boleto_spec.rb
|
|
286
|
-
- spec/models/inline_response_201_spec.rb
|
|
287
|
-
- spec/models/inline_response_200_3_lista_devolucao_spec.rb
|
|
288
|
-
- spec/models/error_spec.rb
|
|
289
|
-
- spec/models/inline_response_201_1_spec.rb
|
|
290
|
-
- spec/models/inline_response_200_3_spec.rb
|
|
277
|
+
- spec/models/root_type_for_bank_slip_list_spec.rb
|
|
291
278
|
- spec/models/inline_response_200_1_spec.rb
|
|
292
|
-
- spec/models/
|
|
293
|
-
- spec/models/
|
|
294
|
-
- spec/models/
|
|
295
|
-
- spec/models/
|
|
279
|
+
- spec/models/root_type_for_slips_details_object_spec.rb
|
|
280
|
+
- spec/models/inline_response_200_3_spec.rb
|
|
281
|
+
- spec/models/root_type_for_batch_transfers_cancel_response_object_spec.rb
|
|
282
|
+
- spec/models/root_type_for_returned_payments_response_object_spec.rb
|
|
283
|
+
- spec/models/inline_response_200_3_lista_devolucao_spec.rb
|
|
296
284
|
- spec/models/inline_response_400_spec.rb
|
|
297
|
-
- spec/models/
|
|
298
|
-
- spec/models/
|
|
285
|
+
- spec/models/inline_response_201_spec.rb
|
|
286
|
+
- spec/models/inline_response_200_3_lista_boleto_spec.rb
|
|
287
|
+
- spec/models/root_type_for_bank_slips_batch_payment_response_object_spec.rb
|
|
299
288
|
- spec/models/inline_response_401_spec.rb
|
|
300
|
-
- spec/models/
|
|
289
|
+
- spec/models/error_o_auth_unauthorized_spec.rb
|
|
290
|
+
- spec/models/body_spec.rb
|
|
291
|
+
- spec/models/root_type_for_bank_slips_batch_payment_spec.rb
|
|
292
|
+
- spec/models/inline_response_200_2_payments_list_spec.rb
|
|
301
293
|
- spec/models/root_type_for_batch_transfer_payments_list_get_spec.rb
|
|
294
|
+
- spec/models/inline_response_200_payments_list_spec.rb
|
|
295
|
+
- spec/models/root_type_for_batch_transfer_get_response_object_spec.rb
|
|
296
|
+
- spec/models/inline_response_201_1_payments_list_spec.rb
|
|
297
|
+
- spec/models/root_type_for_batch_transfers_cancel_payments_list_object_spec.rb
|
|
298
|
+
- spec/models/inline_response_200_1_ocurrences_list_spec.rb
|
|
299
|
+
- spec/models/error_errors_spec.rb
|
|
302
300
|
- spec/spec_helper.rb
|
data/bb_payments-0.1.4.gem
DELETED
|
Binary file
|
data/bb_payments-0.1.5.gem
DELETED
|
Binary file
|