bb_payments 0.1.2 → 0.1.4

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
  SHA256:
3
- metadata.gz: 45c26e1fe7b0a8619aa695ac3791f928def9c46d2e8dc1dcf5abfd20641bbec0
4
- data.tar.gz: 7725e92980cb00435a55710e4f1414b6a137bb56e6320e3d0a3a7d6091b4132e
3
+ metadata.gz: 39822b08e34e14bfa0337cfa26d7ee8dc71e5bcb5b97df14068ba0636980516b
4
+ data.tar.gz: 303742c9dadcf61bf481667dd3867ba6eb0eafeac04f9e6b4638217addc53fda
5
5
  SHA512:
6
- metadata.gz: 6fdbaf95cda850d7dc704ad5fdad6a291696fef386a642bf99b0d7e7bda5510e7149eb2466ad92ba7215c6f6b087d9bcd0423a5cf309a9f8b9c4b966e1e5fabc
7
- data.tar.gz: d420f31c7b96a26652949e5b894a9f68e909578bac2578328481acc41bb581de58c80968b7849e8c39cca5dc34e272caa3de2f736e286170934699a5231feb8e
6
+ metadata.gz: 6bca2f8ccf2be479c710fdb8bdf4df2ab395540c1ee24e0a7bbb24f6d478cdd61f9395cb4a022a2980030678d45fbd548d17acc89532ae9264612ead5cf21324
7
+ data.tar.gz: 9123ecbc553833735d7cd997d92eab99f5988f488537318cf9ac4629ccd48de7cb10fa073885463fcf0fb571b705c840462234b80272f4a60f20fc2b9be5350f
data/MIT-LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012-2023 Hent
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -389,3 +389,7 @@ Class | Method | HTTP request | Description
389
389
  - **Scopes**:
390
390
  - :
391
391
 
392
+ License
393
+ -------
394
+
395
+ Copyright (c) Hent. MIT License.
Binary file
data/bb_payments.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.homepage = "https://github.com/ruby-banco-brasil/bb-payments"
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
- s.license = "Unlicense"
14
+ s.license = "MIT"
15
15
  s.required_ruby_version = ">= 1.9"
16
16
 
17
17
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
@@ -35,10 +35,11 @@ module BancoBrasilPayments::Payments
35
35
  client_opts = build_client_opts(api_client: api_client,
36
36
  gw_app_key: gw_app_key,
37
37
  opts: opts,
38
+ body: {
39
+ numeroRequisicao: id,
40
+ indicadorFloat: float ? 'S' : 'N'
41
+ },
38
42
  return_type: 'Hash<String, String>')
39
- client_opts[:body][:'numeroRequisicao'] = id
40
- client_opts[:body][:'indicadorFloat'] = float ? 'S' : 'N'
41
-
42
43
  call_api_client(api_client: api_client,
43
44
  http_method: :POST,
44
45
  path: '/liberar-pagamentos',
@@ -1,3 +1,3 @@
1
1
  module BancoBrasilPayments
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.4'
3
3
  end
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.2
4
+ version: 0.1.4
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-06-22 00:00:00.000000000 Z
12
+ date: 2023-07-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: typhoeus
@@ -95,9 +95,11 @@ extra_rdoc_files: []
95
95
  files:
96
96
  - Gemfile
97
97
  - Gemfile.lock
98
+ - MIT-LICENSE.txt
98
99
  - README.md
99
100
  - Rakefile
100
101
  - bb_payments-0.1.0.gem
102
+ - bb_payments-0.1.3.gem
101
103
  - bb_payments.gemspec
102
104
  - docs/BankSlipsApi.md
103
105
  - docs/BarcodeCollectionFormsIDResponseObject.md
@@ -234,7 +236,7 @@ files:
234
236
  - spec/spec_helper.rb
235
237
  homepage: https://github.com/ruby-banco-brasil/bb-payments
236
238
  licenses:
237
- - Unlicense
239
+ - MIT
238
240
  metadata:
239
241
  source_code_uri: https://github.com/ruby-banco-brasil/bb-payments
240
242
  post_install_message: