blend_spreadsheet_loan_generator 0.1.111 → 0.1.112

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: 237e78cc969abb37217013bed00dbf7e8e66b475ad49cfef3a7a626f7bc8950a
4
- data.tar.gz: e72e56255ba6140c48a13a3f87a49e942b61a4fd7dc3c05abb070d347f26b1ef
3
+ metadata.gz: 526e63e619b84d693c93294a98fd9354c9b35f4eb3c47b6d0e4ff49b533f30cd
4
+ data.tar.gz: 81192d4e8cd832a94f83948beb8b513463456a92cedf3f5d8501cc4f11179345
5
5
  SHA512:
6
- metadata.gz: c35d3c183d990dabf506005999500e09ee02a5825dae45503db005f843b425e3c4979a49f915249dc964b0960a0efe8417271eefa0fd1355765d857d3f6d30c1
7
- data.tar.gz: b3a3552ea4c21554bb8e4f3912008e2ebbe5421f261583f43282269d69a27cbfbf9f40669cd0cceb0b85e80394c6ab3df8baf8e3010399381169239fb9ac1c8d
6
+ metadata.gz: f159a1b328f8b3def5613359277911aa27183eeed5d27140a54ce4fbf7d0dc79e59ec0bee630ff71c9dc20939de21c3b843f7c5e375276907a9187d5f2820ada
7
+ data.tar.gz: 15a5ef2042d922da1421c2d367961aa4f0f8667b2ff3a2956def5ad95ad1e6ad3a63ba2190e075e00629e1ec33c24373222fea743a4414e1865177d738628119
@@ -81,14 +81,11 @@ module BlendSpreadsheetLoanGenerator
81
81
 
82
82
  capital_paid = amount_paid.to_f - (
83
83
  values[last_paid_line + 1][:period_interests] +
84
+ values[last_paid_line + 1][:period_reimbursed_capitalized_interests] +
84
85
  values[last_paid_line + 1][:period_fees] +
85
- values[last_paid_line + 1][:capitalized_interests_end] +
86
+ values[last_paid_line + 1][:period_reimbursed_capitalized_fees] +
86
87
  values[last_paid_line + 1][:capitalized_fees_end]
87
88
  )
88
- # capital_paid_for_ratio = amount_paid.to_f - (
89
- # values[last_paid_line + 1][:period_interests] +
90
- # values[last_paid_line + 1][:period_fees]
91
- # )
92
89
  remaining_capital_for_ratio = (
93
90
  values[last_paid_line + 1][:remaining_capital_start] +
94
91
  values[last_paid_line + 1][:capitalized_interests_end]
@@ -1,7 +1,7 @@
1
1
  require 'dry/cli'
2
2
 
3
3
  module BlendSpreadsheetLoanGenerator
4
- VERSION = '0.1.111'.freeze
4
+ VERSION = '0.1.112'.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.111
4
+ version: 0.1.112
5
5
  platform: ruby
6
6
  authors:
7
7
  - MZiserman