brcobranca 7.2.1 → 7.2.2

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
  SHA1:
3
- metadata.gz: 96704e094017f99e66904d453bdc4ce6ad136790
4
- data.tar.gz: 97ea599730af3e2af795e37bd19a5d527631a932
3
+ metadata.gz: be39b6c9af13f25fd769bf4921f6d6880eadcab0
4
+ data.tar.gz: 2cfed9e162541fb050f7ee766e775ac0a80f7c49
5
5
  SHA512:
6
- metadata.gz: f0970923af9d8668cb2238a1f2842d293a3cdf62d61a9d665cad0148bad97027d8077603ed6ef5807498cafcec05fa8d5a0079977f2865384fe1f0dcc487bd8e
7
- data.tar.gz: 934dce35086e61864ebec6a8290f7b9f94649f549b2823631e1e43a67aed15d18fe92023f5508950a3092def792095907334a3dae07e3b1bd388deb01f2aa75c
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/1899775"
63
+ # boleto.agencia_conta_boleto #=> "0059/189977-5"
64
64
  def agencia_conta_boleto
65
- "#{agencia}/#{conta_corrente}#{digito_conta_corrente}"
65
+ "#{agencia}/#{conta_corrente}-#{digito_conta_corrente}"
66
66
  end
67
67
 
68
68
  # Segunda parte do código de barras.
@@ -2,5 +2,5 @@
2
2
  #
3
3
 
4
4
  module Brcobranca
5
- VERSION = '7.2.1'
5
+ VERSION = '7.2.2'
6
6
  end
@@ -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.1
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-02-20 00:00:00.000000000 Z
11
+ date: 2017-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rghost