brcobranca 6.1.1 → 6.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47406419af49a1a7cfee1292563a0653f8bc169c
|
4
|
+
data.tar.gz: 6ae8cef1144ec0ea1fcc577a0d0949200539a20c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cf0610bfb9172ac27f35b949112bc3c38a0d853db4ef87f1cefbea9bffe9e4f651c9e62b05dbad6586f86c4388e6e15a48b357f2104b5f99c96eb9cad9e461a
|
7
|
+
data.tar.gz: f2f11061266123cad2b4c7c9c63ff5ceaa6eb0af7bc51b543826d3cce315330b42e02a88ceaf01665be2ccf415ba73c727a08b0eb944c9ebdd0eee323373893f
|
@@ -16,7 +16,7 @@ module Brcobranca
|
|
16
16
|
validates_length_of :agencia, maximum: 5, message: 'deve ter 5 dígitos.'
|
17
17
|
validates_length_of :carteira, is: 2, message: 'deve ter 2 dígitos.'
|
18
18
|
validates_length_of :variacao, is: 3, message: 'deve ter 3 dígitos.'
|
19
|
-
validates_length_of :convenio, in: 4..7, message: '
|
19
|
+
validates_length_of :convenio, in: 4..7, message: 'deve ter de 4 a 7 dígitos.'
|
20
20
|
|
21
21
|
def initialize(campos = {})
|
22
22
|
campos = { emissao_boleto: '0',
|
data/lib/brcobranca/version.rb
CHANGED
@@ -65,7 +65,7 @@ RSpec.describe Brcobranca::Remessa::Cnab240::BancoBrasil do
|
|
65
65
|
it 'deve ser invalido se o convenio nao tiver entre 4 e 7 digitos' do
|
66
66
|
banco_brasil.convenio = '12345678'
|
67
67
|
expect(banco_brasil.invalid?).to be true
|
68
|
-
expect(banco_brasil.errors.full_messages).to include('Convenio
|
68
|
+
expect(banco_brasil.errors.full_messages).to include('Convenio deve ter de 4 a 7 dígitos.')
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
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: 6.1.
|
4
|
+
version: 6.1.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: 2015-
|
11
|
+
date: 2015-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rghost
|