blend_spreadsheet_loan_generator 0.1.12 → 0.1.13

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: 429804f58506c0a6cdda42e92f010df902da84f08b86821a104c67f3f7e8f697
4
- data.tar.gz: 7b201c96e8d916ea9e8e7f56a7288102e22de2cf7be43a05f15804120f3bbd05
3
+ metadata.gz: 618d3364164eaf1ace3bcc3ac97c45e43a2d500d051c5f1df4bb6fcb6c996d44
4
+ data.tar.gz: cbef182d16b9ea12ab58fc088f9c2a3de502984e113473b56fdc4e2b7f9740dd
5
5
  SHA512:
6
- metadata.gz: 22327802c88e6127bc5580d1cd129d057ccb4bd85321b2d948dd52a6a43e6fbeee72048ae3128427271580449de2f557e8640c424888929295ef3cc44381893e
7
- data.tar.gz: 9ac1b5d6182455f833f25904c7b022d1153c9983b0d57b7656d57174cf342cef8ac4c589de75e7d29a24354ee34ba0cdc672e91b9fb6247be365cdee066362a4
6
+ metadata.gz: b76eb4e785d03ea71309bde25517a4f3b164074ceb015cde53e37c9b398c42eae38db3f95509adeae186cf7bfa465a7f1d58cf7bd8453f188f134c88734f154c
7
+ data.tar.gz: 6239c5066987b013a0bcbaf0d03bb2b78905fcae65a3f3d35d895251162f7d4ebbbe619467c517ed2ff33566aaacd6079edb04187f443ab05e2d42adb3075d0a
@@ -3,6 +3,7 @@ module BlendSpreadsheetLoanGenerator
3
3
  extend ActiveSupport::Concern
4
4
 
5
5
  included do
6
+
6
7
  def columns
7
8
  %w[
8
9
  index
@@ -12,7 +12,7 @@ module BlendSpreadsheetLoanGenerator
12
12
  end
13
13
 
14
14
 
15
- def period_fees_rate_formula(*)
15
+ def period_fees_rate_formula(line:)
16
16
  "=#{excel_float(loan.fees_rate)} * ((#{period_leap_days(line)} / 366) + (#{period_non_leap_days(line)} / 365))"
17
17
  end
18
18
  end
@@ -1,7 +1,7 @@
1
1
  require 'dry/cli'
2
2
 
3
3
  module BlendSpreadsheetLoanGenerator
4
- VERSION = '0.1.12'
4
+ VERSION = '0.1.13'
5
5
 
6
6
  class Version < Dry::CLI::Command
7
7
  desc 'Print version'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blend_spreadsheet_loan_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - MZiserman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-20 00:00:00.000000000 Z
11
+ date: 2021-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport