fdis2 0.1.43 → 0.1.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 676119356ceecc9f727a6e99e6daee680ec0c4f200fcaabd2700690fd0fc0456
4
- data.tar.gz: 949b9517ab867bc1cd1277ba6dd09e9b50023800a6a192270136c5b63c6553e1
3
+ metadata.gz: 1f7821abcc5bf80c46a51ed952ca9bac9bb62f4100af183d1b483277f1313097
4
+ data.tar.gz: cafa883502bf620e3457c0912d5db2caaa2a693aa4de8f305b3b8a6a43b36039
5
5
  SHA512:
6
- metadata.gz: 92b868ee678cc5c94568ea8ded15f2dbfa6308db95f667de757abe1c62e0928fe5a4300418eeb173e89ea14dbb6ad3fe2985fb971e51dd7efd542969d0a743e1
7
- data.tar.gz: a5ea26e407571945017f27595b0b383b4a654300c132e8f815b8ea12e37ebc678e3c9bc3914ca7f9dcf8b1ad50ae82af6b18fbdaf2f35a4c6a1ebc6a719d53ed
6
+ metadata.gz: 0a8e5e9bf145f072a9ae5248d766c1f042b06eff28f58f16da3418ca9cfd3de1aa5229f7f26c87bd72eee590c42f17b41c4bd38d9c517a699a6f4160802bc2ac
7
+ data.tar.gz: ffc7494484d5e95d5e95de9799ecd7c5b7ff08fa4b305b7463627d22310646c56a93214da522b9d59997c585c8541775a6a1456a9523f3935351a776cefbaeed
@@ -162,7 +162,7 @@ module Fdis2
162
162
  child_pago_relacionado['Folio'] = params[:folio]
163
163
  child_pago_relacionado['EquivalenciaDR'] = "1"
164
164
 
165
- saldo_anterior = params[:saldo_anterior].to_f
165
+ saldo_anterior = params[:saldo_anterior].to_f.abs
166
166
 
167
167
  child_pago_relacionado['ImpSaldoAnt'] = saldo_anterior.round(2).to_s
168
168
  child_pago_relacionado['ImpPagado'] = total.round(2).to_s
data/lib/fdis2/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Fdis2
2
- VERSION = "0.1.43"
2
+ VERSION = "0.1.44"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fdis2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.43
4
+ version: 0.1.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angel Padilla