formatos-febraban 0.3.27 → 0.3.28

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: 562f4a37d9eb757fc3ed9ae9f6cfacc907b49185
4
- data.tar.gz: 22436fa0417d191402add7e734f16730f622438c
3
+ metadata.gz: 1c3faac395fe26031f2f41a15dcb68c0df0d389b
4
+ data.tar.gz: 634c1761ef06de8a6d199db359da214c30c2664f
5
5
  SHA512:
6
- metadata.gz: 84189ab23b27c8df9a89bfd114b9c6d61632ce7deba193e05ed0aa6761b3d4c62337818ca529507b07084023245271fa9cfb65e5b8a4610129d2c8c93a8bb568
7
- data.tar.gz: 45de7a58e168f585ee16db2e69a6dfb6ec169509274807f414101e0679c079615d4b1796134300904d0851d3e507eb08e4869006309d0b6abca2e9fba80d8b47
6
+ metadata.gz: 17136e3b8fd8f49ce19343a9c28ca71aa599e16b29784c4abe6d7da18902cb0ab8a4a5c378419d91a9edd8fac3f95296eab5bfe8c6f2b9a4d5060c37f8e5650f
7
+ data.tar.gz: 15bba7856971cf691265ff92a2e8bdd49777ee64852f544c825a212ef13daf57fcfcd146e5182e9cc23c6aa059aebe56632fe1f8b7a1c16441387151f813e73b
@@ -1,5 +1,5 @@
1
1
  module Formatos
2
2
  module Febraban
3
- VERSION = '0.3.27'
3
+ VERSION = '0.3.28'
4
4
  end
5
5
  end
@@ -297,7 +297,7 @@ class Febraban150E < FormatSection
297
297
  if cod_movimento == 0 or cod_movimento == 1
298
298
  case @versao
299
299
  when '04'
300
- self.set_section_value(9, cod_movimento)
300
+ self.set_section_value(8, cod_movimento)
301
301
  when '05'
302
302
  self.set_section_value(11, cod_movimento)
303
303
  end
@@ -342,7 +342,12 @@ class Febraban150F < FormatSection
342
342
  cod_movimento = cod_movimento.to_i
343
343
 
344
344
  if cod_movimento == 0 or cod_movimento == 1
345
- self.set_section_value(11, cod_movimento)
345
+ case @versao
346
+ when '04'
347
+ self.set_section_value(8, cod_movimento)
348
+ when '05'
349
+ self.set_section_value(11, cod_movimento)
350
+ end
346
351
  else
347
352
  raise "#{self.get_id}: Código de Movimentação deve ser de Débito Nacional ou Cnacelamento:
348
353
  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.27
4
+ version: 0.3.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Ricardo Almeida