blend_spreadsheet_loan_generator 0.1.107 → 0.1.108

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
  SHA256:
3
- metadata.gz: e066d31e3aac210b466d4e3e6993d408dc26dcba046a5a1ecfe181b2dabb0989
4
- data.tar.gz: b52baa3e2c499f79960579c5cfd0d33e28d288c3ca0b1263e3b02c7ba271657f
3
+ metadata.gz: 999f9a70b2ee5829f4bc50ecfa6a4c08c59cc1e4fbc2e3a2cc47f9dffa8fab8b
4
+ data.tar.gz: 1c9dbdb0d08d1ab2c74f2f85dd71847ea9b5ef96e6f89f17c3d8af4bb9e35b49
5
5
  SHA512:
6
- metadata.gz: 2637dd47c2545133a83c24d299cd4c72dd81ca02056fd210504a4100c85cc2eaa0534303c0a0415c9a83d76983893fdc9c567945ae29619a8d32ebb3f38a64d1
7
- data.tar.gz: a3b538214455f066f8bcddeae2920df8255bf43d9f5294efd25e715978b83a0836b6cb82f65786b2f52712e48a91f82ae3663176de15cd41967244da64d7545d
6
+ metadata.gz: eb2750a4d3c49e6dca99455a7b445d345c9abd52d031a936e29786d377e3b62ce0bfbbfcd164a919af98b168e0f2b49f5babf9fb789ce7b09537c1be442b588a
7
+ data.tar.gz: e2b921596a0b1c95ad84e2a80d9f44cb214a4f8a2a2cfc5fa01629294ed36e8c14adf1f3f5c91728a39b78b87a526c261159828d2e80aeec17c447739066d3a5
@@ -80,8 +80,10 @@ module BlendSpreadsheetLoanGenerator
80
80
  due_on = values[last_paid_line + 1][:due_on] + 1.month
81
81
 
82
82
  capital_paid = amount_paid.to_f - (
83
- values[last_paid_line + 1][:capitalized_interests_end] +
84
- values[last_paid_line + 1][:capitalized_fees_end]
83
+ values[last_paid_line + 1][:capitalized_interests_start] +
84
+ values[last_paid_line + 1][:capitalized_fees_start] +
85
+ values[last_paid_line + 1][:period_calculated_interests] +
86
+ values[last_paid_line + 1][:period_calculated_fees]
85
87
  )
86
88
  capital_paid_for_ratio = amount_paid.to_f - (
87
89
  values[last_paid_line + 1][:period_interests] +
@@ -1,7 +1,7 @@
1
1
  require 'dry/cli'
2
2
 
3
3
  module BlendSpreadsheetLoanGenerator
4
- VERSION = '0.1.107'.freeze
4
+ VERSION = '0.1.108'.freeze
5
5
 
6
6
  class Version < Dry::CLI::Command
7
7
  desc 'Print version'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blend_spreadsheet_loan_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.107
4
+ version: 0.1.108
5
5
  platform: ruby
6
6
  authors:
7
7
  - MZiserman