brcobranca 9.2.1 → 9.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/brcobranca/boleto/safra.rb +2 -2
- data/lib/brcobranca/version.rb +1 -1
- data/spec/brcobranca/boleto/safra_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f7ee73b2ffaa980eb4a501f09e24679e4c6510d53829956d339831f3581a41c
|
4
|
+
data.tar.gz: 526d0ae9a85d34a44a29e5af74892554abc14220894c7c4306fe2a25eba5e670
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c70e0c7c171ffef31f611162887662c67a997a87ffdc122474c8bc2c077ddb1b4c6057108da9961a9a2b90630d35dcbb70a9e8a7d74adbaae3e87de981d2d03a
|
7
|
+
data.tar.gz: 3f8a03bd7ca429dd0f5f138d033ae8ccac361022fc311267407a6406c10788e99380f2d634bdd036947899e7fbb140a659f3eb1c96fde8be1eda8c0e99676f1a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v9.2.1](https://github.com/kivanio/brcobranca/tree/v9.2.1) (21-06-2018)
|
4
|
+
[Full Changelog](https://github.com/kivanio/brcobranca/compare/v9.2.0...v9.2.1)
|
5
|
+
|
3
6
|
## [v9.2.0](https://github.com/kivanio/brcobranca/tree/v9.2.0) (11-06-2018)
|
4
7
|
[Full Changelog](https://github.com/kivanio/brcobranca/compare/v9.1.2...v9.2.0)
|
5
8
|
|
@@ -63,9 +63,9 @@ module Brcobranca
|
|
63
63
|
# Agência + conta corrente do cliente para exibir no boleto.
|
64
64
|
# @return [String]
|
65
65
|
# @example
|
66
|
-
# boleto.agencia_conta_boleto #=> "
|
66
|
+
# boleto.agencia_conta_boleto #=> "08111 / 536788"
|
67
67
|
def agencia_conta_boleto
|
68
|
-
"#{agencia}
|
68
|
+
"#{agencia}#{agencia_dv} / #{conta_corrente}#{conta_corrente_dv}"
|
69
69
|
end
|
70
70
|
|
71
71
|
# Segunda parte do código de barras.
|
data/lib/brcobranca/version.rb
CHANGED
@@ -116,12 +116,12 @@ RSpec.describe Brcobranca::Boleto::Safra do
|
|
116
116
|
it 'Montar agencia_conta_boleto' do
|
117
117
|
boleto_novo = described_class.new(valid_attributes)
|
118
118
|
|
119
|
-
expect(boleto_novo.agencia_conta_boleto).to eql('
|
119
|
+
expect(boleto_novo.agencia_conta_boleto).to eql('40428 / 000619007')
|
120
120
|
boleto_novo.agencia = '0719'
|
121
|
-
expect(boleto_novo.agencia_conta_boleto).to eql('
|
121
|
+
expect(boleto_novo.agencia_conta_boleto).to eql('07198 / 000619007')
|
122
122
|
boleto_novo.agencia = '0548'
|
123
123
|
boleto_novo.conta_corrente = '1448'
|
124
|
-
expect(boleto_novo.agencia_conta_boleto).to eql('
|
124
|
+
expect(boleto_novo.agencia_conta_boleto).to eql('05488 / 000014487')
|
125
125
|
end
|
126
126
|
|
127
127
|
describe 'Busca logotipo do banco' do
|
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: 9.2.
|
4
|
+
version: 9.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: 2018-06-
|
11
|
+
date: 2018-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rghost
|