brcobranca 7.2.1 → 7.2.2
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: be39b6c9af13f25fd769bf4921f6d6880eadcab0
|
|
4
|
+
data.tar.gz: 2cfed9e162541fb050f7ee766e775ac0a80f7c49
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fde86b9312080dfa6ff9e6ebd14e44f4104f2c5e0e1b1a2646830e773b7c4f5a73d321202496ad27c3188931c96803301d5184ae003b23ad3bfbe73fe808cecb
|
|
7
|
+
data.tar.gz: 0b0ef5ff3ba0a288c33daddf0eec11828abf8cb90caff7ab64ff5a6623fa57b01ac865a2a6eaa4c6dc6adfc6b94611b28007be7542aa0d52822d90a5c99720e1
|
|
@@ -60,9 +60,9 @@ module Brcobranca
|
|
|
60
60
|
# Agência + codigo do cedente do cliente para exibir no boleto.
|
|
61
61
|
# @return [String]
|
|
62
62
|
# @example
|
|
63
|
-
# boleto.agencia_conta_boleto #=> "0059/
|
|
63
|
+
# boleto.agencia_conta_boleto #=> "0059/189977-5"
|
|
64
64
|
def agencia_conta_boleto
|
|
65
|
-
"#{agencia}/#{conta_corrente}
|
|
65
|
+
"#{agencia}/#{conta_corrente}-#{digito_conta_corrente}"
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
# Segunda parte do código de barras.
|
data/lib/brcobranca/version.rb
CHANGED
|
@@ -146,6 +146,11 @@ RSpec.describe Brcobranca::Boleto::BancoNordeste do #:nodoc:[all]
|
|
|
146
146
|
expect(boleto_novo.nosso_numero_boleto).to eql('0020572-9')
|
|
147
147
|
end
|
|
148
148
|
|
|
149
|
+
it 'Montar agencia_conta_boleto' do
|
|
150
|
+
boleto_novo = described_class.new(@valid_attributes)
|
|
151
|
+
expect(boleto_novo.agencia_conta_boleto).to eql('0016/0001193-2')
|
|
152
|
+
end
|
|
153
|
+
|
|
149
154
|
describe 'Busca logotipo do banco' do
|
|
150
155
|
it_behaves_like 'busca_logotipo'
|
|
151
156
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: brcobranca
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.2.
|
|
4
|
+
version: 7.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kivanio Barbosa
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-03-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rghost
|