formatos-febraban 0.3.24 → 0.3.25

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: 76eef21dbb62a9bc2a0d0c39c05e374b8b1f2859
4
- data.tar.gz: c27c1eed150d807e1c7a8e4092d6d4f2c57ca20a
3
+ metadata.gz: b0b27e360b7a6909600d38625711c6b2bc5f55bd
4
+ data.tar.gz: 031c16e22b916e61eb2a9a3135ec0167d4c99a6d
5
5
  SHA512:
6
- metadata.gz: dd818e98981cab4da683354e7d7a2ac83407f1e7571d2794e03f9beead8f538274b6ff70323fc834b18919706895d1a6120301a7d8fce6696f317f424144e95f
7
- data.tar.gz: 80e77d56634d542b54fcd1f85743b2c2d6636c7f1cbded4806d76e981c45b51c04d094c062bcfdcdec59f69a25b3b5e37f15f5caa1ed8399f108d72017dac6f6
6
+ metadata.gz: f45e0e166ca5bede7688528e9aec53b1301bb8b67aa0f6c8d2be9f926e659653905edcd950a1524b984eaf58897b68c22821890d41addb9700516873d6c6abaf
7
+ data.tar.gz: 958f1ff24e305df95ef9288438e777c3f4261217df6d38ff1531d9b3cfb6219d033b2fd398b5daf07b70528c38135b3b18902d281b25c91fa1f96923405d0605
@@ -1,5 +1,5 @@
1
1
  module Formatos
2
2
  module Febraban
3
- VERSION = '0.3.24'
3
+ VERSION = '0.3.25'
4
4
  end
5
5
  end
@@ -295,7 +295,12 @@ class Febraban150E < FormatSection
295
295
  cod_movimento = cod_movimento.to_i
296
296
 
297
297
  if cod_movimento == 0 or cod_movimento == 1
298
- self.set_section_value(11, cod_movimento)
298
+ case @versao
299
+ when '04'
300
+ self.set_section_value(9, cod_movimento)
301
+ when '05'
302
+ self.set_section_value(11, cod_movimento)
303
+ end
299
304
  else
300
305
  raise "#{self.get_id}: Código de Movimentação deve ser de Débito Nacional ou Cnacelamento:
301
306
  0 = Débito Normal
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formatos-febraban
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.24
4
+ version: 0.3.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Ricardo Almeida