mortgage-buddy 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1c4dcd770517fb8d88b02c5bb62accfb05268f4a
4
+ data.tar.gz: a82c613cbfad5ba13ee19d7b0c9b3785da790902
5
+ SHA512:
6
+ metadata.gz: dfe96325cb57d7484509cdd76289de0c4a30acceb423f1ad37e6bb3854ade42b5adc16dbd2db2de919bcda70d68261facdaf4e362b43b3c28adf36098fc435aa
7
+ data.tar.gz: ce526f2e8094c38f7901ba0158a7892eeb9df64ec7882ff8c2025a052dc45f1852e676337af3d792cca40136ee2c08fc76ef074f93ea5ea1a9fe60164556cbeb
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1 @@
1
+ 2.2.3
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.3
4
+ before_install: gem install bundler -v 1.10.6
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in mortgage-buddy.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Perry Hertler
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,75 @@
1
+ https://travis-ci.org/perryqh/mortgage-buddy.svg?branch=master
2
+
3
+ # MortgageBuddy
4
+ [![Gem Version](https://badge.fury.io/rb/g5_updatable.svg)](http://badge.fury.io/rb/g5_updatable)
5
+ [![Build Status](https://travis-ci.org/perryqh/mortgage-buddy.svg?branch=master)](https://travis-ci.org/perryqh/mortgage-buddy)
6
+
7
+ This gem will calculate APR and Amoratization.
8
+
9
+ The Amoratization class can really help you if you're trying to decide on refinancing.
10
+
11
+
12
+
13
+ ## Installation
14
+
15
+ Add this line to your application's Gemfile:
16
+
17
+ ```ruby
18
+ gem 'mortgage-buddy'
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install mortgage-buddy
28
+
29
+ ## Usage
30
+ ```ruby
31
+ mortgage_cost = MortgageBuddy::MortgageCost.new(loan_amount: 550000,
32
+ interest_rate: 3.0,
33
+ period: 360,
34
+ fees: 600,
35
+ points: 0)
36
+ puts mortgage_cost.apr # 3.01% (rounded)
37
+ puts mortgage_cost.monthly_payment_with_fees # $2321.35 (rounded)
38
+
39
+ amoratizer = MortgageBuddy::Amoratizer.new(interest_rate: mortgage_cost.apr,
40
+ loan_amount: 550000,
41
+ period: 360)
42
+
43
+ puts amoratizer.total_num_payments # 360 or 30 years (no extra payment)
44
+ puts amoratizer.total_interest # $285,684.09 (disturbing)
45
+ puts amoratizer.payments # an array of openstructs with every payment amount, interest, principal, etc
46
+
47
+ # Now let's see what happens when we pay extra
48
+
49
+ amoratizer_with_extra = MortgageBuddy::Amoratizer.new(interest_rate: mortgage_cost.apr,
50
+ loan_amount: 550000,
51
+ period: 360,
52
+ extra_monthly_payment: 1000)
53
+
54
+ puts amoratizer_with_extra.total_num_payments # 215 or just under 18 years
55
+ puts amoratizer_with_extra.total_interest # $161532.46
56
+ puts amoratizer.total_interest - amoratizer_with_extra.total_interest # a savings of $124,151.63
57
+
58
+
59
+ ```
60
+
61
+ ## Development
62
+
63
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
64
+
65
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
66
+
67
+ ## Contributing
68
+
69
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/mortgage-buddy. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
70
+
71
+
72
+ ## License
73
+
74
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
75
+
@@ -0,0 +1,9 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+ require 'cucumber/rake/task'
4
+
5
+ RSpec::Core::RakeTask.new(:spec)
6
+ Cucumber::Rake::Task.new(:features)
7
+
8
+ task default: [:spec, :features]
9
+
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "mortgage/buddy"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,12 @@
1
+ require 'ostruct'
2
+ require 'active_support/core_ext/object/blank'
3
+ require 'mortgage_buddy/version'
4
+ require 'mortgage_buddy/safe_num'
5
+ require 'mortgage_buddy/monthly'
6
+ require 'mortgage_buddy/apr_calculator'
7
+ require 'mortgage_buddy/mortgage_cost'
8
+ require 'mortgage_buddy/payment_plan'
9
+ require 'mortgage_buddy/amoratizer'
10
+
11
+ module MortgageBuddy
12
+ end
@@ -0,0 +1,54 @@
1
+ module MortgageBuddy
2
+ class Amoratizer
3
+ include SafeNum, Monthly
4
+ attr_reader :interest_rate, :loan_amount, :period
5
+ attr_reader :extra_monthly_payment # optional
6
+
7
+ # == Parameters
8
+ # [:loan_amount] Loan amount. Price of home minus down payment
9
+ # [:interest_rate] The actual interest rate of the loan
10
+ # [:period] Number of months of the loan. 30 yr is 360. 15 yr is 189
11
+ # [:extra_monthly_payment] This is the extra monthly principal payment. Optional and defaults to 0
12
+ def initialize(params={})
13
+ @interest_rate = safe_float params[:interest_rate]
14
+ @loan_amount = safe_float params[:loan_amount]
15
+ @period = safe_int params[:period]
16
+ @extra_monthly_payment = safe_float(params.fetch(:extra_monthly_payment, 0))
17
+ end
18
+
19
+ def total_interest
20
+ payments.inject(0){|sum,pay| sum + pay.interest }.round(2)
21
+ end
22
+
23
+ # A = [i * P * (1 + i)^n] / [(1 + i)^n - 1]
24
+ # A = minimum_monthly_payment
25
+ # P = loan amount
26
+ # i = monthly interest rate
27
+ # n = period (number of payments)
28
+ def minimum_monthly_payment
29
+ @minimum_monthly_payment ||= calculate_minimum_monthly_payment
30
+ end
31
+
32
+ def actual_monthly_payment
33
+ minimum_monthly_payment + @extra_monthly_payment
34
+ end
35
+
36
+ def total_num_payments
37
+ payments.length
38
+ end
39
+
40
+ def payments
41
+ @payments ||= MortgageBuddy::PaymentPlan.build(loan_amount: self.loan_amount,
42
+ monthly_payment: actual_monthly_payment,
43
+ monthly_interest_rate: monthly_interest_rate)
44
+ end
45
+
46
+ private
47
+ def calculate_minimum_monthly_payment
48
+ period_rate = (1 + monthly_interest_rate)**(self.period)
49
+ numerator = monthly_interest_rate * self.loan_amount * period_rate
50
+ denominator = period_rate - 1
51
+ (numerator / denominator).round(2)
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,40 @@
1
+ module MortgageBuddy
2
+ class AprCalculator
3
+ attr_accessor :loan_amount, :monthly_payment_with_fees, :period, :monthly_interest_rate
4
+
5
+ def initialize(attributes={})
6
+ attributes.each do |name, value|
7
+ send("#{name}=", value)
8
+ end
9
+ end
10
+
11
+ # solves APR
12
+ # [a (1 + a)^N] / [(1 + a)^N - 1] - P/C = 0
13
+ # where a = APR/1200, N = period, P = monthly payment, C = loan_amount
14
+ # calculate APR uses the Newton-Raphson to find the root (the value for 'a' that makes f(a) = 0)
15
+ def apr
16
+ payment_ratio = self.monthly_payment_with_fees / self.loan_amount
17
+ f = lambda { |k| (k**(self.period + 1) - (k**self.period * (payment_ratio + 1)) + payment_ratio) }
18
+ f_deriv = lambda { |k| ((self.period + 1) * k**self.period) - (self.period * (payment_ratio + 1) * k**(self.period - 1)) }
19
+
20
+ root = newton_raphson(f, f_deriv, self.monthly_interest_rate + 1)
21
+ 100 * 12 * (root - 1).to_f
22
+ end
23
+
24
+ # if 'start' is the monthly_interest_rate, Newton Raphson will find the apr root very quickly
25
+ # k1 = k0 - f(k0)/f'(k0)
26
+ # k_plus_one = k - f(k)/f_deriv(k)
27
+ # We find the k-intercept of the tangent line at point k_plus_one and compare k to k_plus_one.
28
+ # This is repeated until a sufficiently accurate value is reached, which can be specified with the 'precision' parameter
29
+ def newton_raphson(f, f_deriv, start, precision = 5)
30
+ k_plus_one = start
31
+ k = 0.0
32
+
33
+ while ((k - 1) * 10**precision).to_f.floor != ((k_plus_one - 1) * 10**precision).to_f.floor
34
+ k = k_plus_one
35
+ k_plus_one = k - f.call(k) / f_deriv.call(k)
36
+ end
37
+ k_plus_one
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,7 @@
1
+ module MortgageBuddy
2
+ module Monthly
3
+ def monthly_interest_rate
4
+ @interest_rate / 12 / 100
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,55 @@
1
+ module MortgageBuddy
2
+ class MortgageCost
3
+ include MortgageBuddy::SafeNum, MortgageBuddy::Monthly
4
+ attr_reader :loan_amount, :interest_rate, :period, :fees, :points
5
+ DEFAULT_PERIOD = 360
6
+ DEFAULT_FEES = 0
7
+ DEFAULT_POINTS = 0
8
+
9
+ # == Parameters
10
+ # [:loan_amount] Loan amount. Price of home minus down payment
11
+ # [:interest_rate] The interest rate of the loan
12
+ # [:period] Number of months of the loan. 30 yr is 360. 15 yr is 189
13
+ # [:fees] Closing cost fees. Optional and defaults to 0
14
+ # [:points] Points. Optional and defaults to 0
15
+ def initialize(params={})
16
+ raise '[:loan_amount] required' if params[:loan_amount].blank?
17
+ raise '[:interest_rate] required' if params[:interest_rate].blank?
18
+ @loan_amount = safe_float params[:loan_amount]
19
+ @interest_rate = safe_float params[:interest_rate]
20
+ @period = safe_int params.fetch(:period, DEFAULT_PERIOD)
21
+ @fees = safe_int params.fetch(:fees, DEFAULT_FEES)
22
+ @points = safe_float params.fetch(:points, DEFAULT_POINTS)
23
+ end
24
+
25
+ def apr
26
+ @apr ||= MortgageBuddy::AprCalculator.new(loan_amount: @loan_amount,
27
+ monthly_payment_with_fees: monthly_payment_with_fees,
28
+ period: period,
29
+ monthly_interest_rate: monthly_interest_rate).apr
30
+ end
31
+
32
+ def monthly_payment
33
+ @monthly_payment ||= calculate_monthly_payment(@loan_amount, monthly_interest_rate, @period)
34
+ end
35
+
36
+ def monthly_payment_with_fees
37
+ @monthly_payment_with_fees ||= calculate_monthly_payment(@loan_amount + total_fees, monthly_interest_rate, @period)
38
+ end
39
+
40
+ def total_fees(negative_allowed = false)
41
+ #fees may not be negative (borrower is not paid)
42
+ total_fees = calculate_total_fees
43
+ !negative_allowed && total_fees < 0 ? 0 : total_fees
44
+ end
45
+
46
+ private
47
+ def calculate_monthly_payment(amount, monthly_rate, period)
48
+ amount * (monthly_rate/(1 - (1 + monthly_rate)**(-period)))
49
+ end
50
+
51
+ def calculate_total_fees
52
+ @fees + (@loan_amount * points/100)
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,53 @@
1
+ module MortgageBuddy
2
+ class PaymentPlan
3
+ class << self
4
+ def build(params)
5
+ new(params).payments
6
+ end
7
+ end
8
+
9
+ def initialize(params)
10
+ @loan_amount = params[:loan_amount]
11
+ @monthly_payment = params[:monthly_payment]
12
+ @monthly_interest_rate = params[:monthly_interest_rate]
13
+ @remaining_loan_amount = @loan_amount
14
+ end
15
+
16
+ def payments
17
+ @payments ||= build_payments
18
+ end
19
+
20
+ def build_payments
21
+ payments = []
22
+ payment_number = 1
23
+ while @remaining_loan_amount > 0
24
+ interest = next_payment_interest
25
+ principal = next_payment_principal(interest)
26
+ if principal >= @remaining_loan_amount
27
+ difference = principal - @remaining_loan_amount
28
+ principal = @remaining_loan_amount.round(2)
29
+ payment = (@monthly_payment - difference).round(2)
30
+ @remaining_loan_amount = 0
31
+ else
32
+ @remaining_loan_amount -= principal
33
+ payment = @monthly_payment
34
+ end
35
+ payments << OpenStruct.new(payment: payment,
36
+ interest: interest,
37
+ principal: principal,
38
+ number: payment_number,
39
+ balance: @remaining_loan_amount.round(2))
40
+ payment_number += 1
41
+ end
42
+ payments
43
+ end
44
+
45
+ def next_payment_principal(interest)
46
+ (@monthly_payment - interest).round(2)
47
+ end
48
+
49
+ def next_payment_interest
50
+ (@monthly_interest_rate * @remaining_loan_amount * 100).floor.to_f / 100
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,11 @@
1
+ module MortgageBuddy
2
+ module SafeNum
3
+ def safe_float(the_float)
4
+ Float(the_float.to_s)
5
+ end
6
+
7
+ def safe_int(the_int)
8
+ Integer(the_int.to_s)
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,3 @@
1
+ module MortgageBuddy
2
+ VERSION = '0.1.0'
3
+ end
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'mortgage_buddy/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "mortgage-buddy"
8
+ spec.version = MortgageBuddy::VERSION
9
+ spec.authors = ["Perry Hertler"]
10
+ spec.email = ["perry@hertler.org"]
11
+ spec.homepage = "https://github.com/perryqh/mortgage-buddy"
12
+ spec.summary = %q{Some mortgage calculation helpers}
13
+ spec.description = %q{Some mortgage calculation helpers}
14
+ spec.license = "MIT"
15
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
+ spec.bindir = "exe"
17
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
+ spec.require_paths = ["lib"]
19
+
20
+ spec.add_development_dependency "bundler", "~> 1.10"
21
+ spec.add_development_dependency "rake", "~> 10.0"
22
+ spec.add_development_dependency "rspec"
23
+ spec.add_development_dependency "rspec-its"
24
+ spec.add_development_dependency "cucumber"
25
+ spec.add_development_dependency "pry"
26
+ spec.add_dependency "activesupport"
27
+ end
metadata ADDED
@@ -0,0 +1,162 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mortgage-buddy
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Perry Hertler
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-10-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec-its
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: cucumber
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: activesupport
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: Some mortgage calculation helpers
112
+ email:
113
+ - perry@hertler.org
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".rspec"
120
+ - ".ruby-version"
121
+ - ".travis.yml"
122
+ - CODE_OF_CONDUCT.md
123
+ - Gemfile
124
+ - LICENSE.txt
125
+ - README.md
126
+ - Rakefile
127
+ - bin/console
128
+ - bin/setup
129
+ - lib/mortgage_buddy.rb
130
+ - lib/mortgage_buddy/amoratizer.rb
131
+ - lib/mortgage_buddy/apr_calculator.rb
132
+ - lib/mortgage_buddy/monthly.rb
133
+ - lib/mortgage_buddy/mortgage_cost.rb
134
+ - lib/mortgage_buddy/payment_plan.rb
135
+ - lib/mortgage_buddy/safe_num.rb
136
+ - lib/mortgage_buddy/version.rb
137
+ - mortgage-buddy.gemspec
138
+ homepage: https://github.com/perryqh/mortgage-buddy
139
+ licenses:
140
+ - MIT
141
+ metadata: {}
142
+ post_install_message:
143
+ rdoc_options: []
144
+ require_paths:
145
+ - lib
146
+ required_ruby_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ requirements: []
157
+ rubyforge_project:
158
+ rubygems_version: 2.4.5.1
159
+ signing_key:
160
+ specification_version: 4
161
+ summary: Some mortgage calculation helpers
162
+ test_files: []