blend_spreadsheet_loan_generator 0.1.7 → 0.1.8

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: a3648b0bd44f4af7e6605358afdf194286f2b75c80938688dd306c043d9c9f1d
4
- data.tar.gz: 0e11649ee711bd7d5d97dd97d9a57bd7ca07ede4adcf3ff156a1235a5a46c466
3
+ metadata.gz: d07b396a85bd02228518d7d16abc9198ff2c1fa2fda752aeae1ee15122f359f8
4
+ data.tar.gz: 92e742b443efc91866019168c8bd81ff8159b13c9f04ad984f8626b795ffe87c
5
5
  SHA512:
6
- metadata.gz: bdf3d7507f243de2b02949ecaf5688a090a671e2f1db26f454e6b401f40cec7034f1f1c9d16995e3b1f0c380919044a23b8d0e84e344ca2c2e3e7f188e53b2f8
7
- data.tar.gz: bd9d177a85e84863204e1913573e811481119b031846210c83ae8626b4b00985b27483ce5e296c6defc8284f32c5278465f9dcb2278efec48f7d26e9dd6d8765
6
+ metadata.gz: bf6228321a9e80868d1f0e77fd8ddbc926f7c0990eff9ae897e33a59be1ba572c469ca0cf914c563acbabd9b9d2a0c52d4968b3ae0096211a0aad828b2ac2cfb
7
+ data.tar.gz: 3b8c730b820b274eadbb206499440cf571c9e67705fe0cb9431f3821f5c0c587c3f51f977bcb9fd534a929d9f0c8f8c3a632c44238569351d1b00bd937540451
@@ -94,7 +94,7 @@ module BlendSpreadsheetLoanGenerator
94
94
  excel_float(values[last_paid_line][:remaining_capital_end])
95
95
 
96
96
  worksheet[2, columns.index('remaining_capital_end') + 1] =
97
- excel_float(values[last_paid_line][:remaining_capital_end] - capital_paid)
97
+ "=#{excel_float(values[last_paid_line][:remaining_capital_end] - capital_paid)} - #{period_interests(2)} - #{period_fees(2)}"
98
98
 
99
99
  worksheet[2, columns.index('period_interests') + 1] =
100
100
  "=ARRONDI(#{period_theoric_interests(2)}; 2)"
@@ -1,7 +1,7 @@
1
1
  require 'dry/cli'
2
2
 
3
3
  module BlendSpreadsheetLoanGenerator
4
- VERSION = '0.1.7'
4
+ VERSION = '0.1.8'
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.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - MZiserman