finrb 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +117 -63
- data/lib/finrb/amortization.rb +33 -33
- data/lib/finrb/cashflows.rb +51 -46
- data/lib/finrb/config.rb +2 -2
- data/lib/finrb/decimal.rb +8 -9
- data/lib/finrb/rates.rb +52 -51
- data/lib/finrb/transaction.rb +5 -5
- data/lib/finrb/utils.rb +388 -462
- data/lib/finrb.rb +9 -9
- metadata +18 -42
- data/.dockerignore +0 -2
- data/.gitattributes +0 -83
- data/.github/dependabot.yml +0 -7
- data/.github/issue_template.md +0 -15
- data/.github/pull_request_template.md +0 -17
- data/.github/workflows/ci.yml +0 -21
- data/.github/workflows/codeql.yml +0 -72
- data/.github/workflows/rubocop.yml +0 -24
- data/.gitignore +0 -114
- data/.rubocop.yml +0 -284
- data/.ruby-version +0 -1
- data/.semver +0 -5
- data/.yardopts +0 -1
- data/Dockerfile +0 -35
- data/Gemfile +0 -5
- data/Gemfile.lock +0 -119
- data/Rakefile +0 -33
- data/docs/.gitkeep +0 -0
- data/docs/api.md +0 -1086
- data/finrb.gemspec +0 -42
data/finrb.gemspec
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
SPEC =
|
4
|
-
Gem::Specification.new do |s|
|
5
|
-
s.name = "finrb"
|
6
|
-
s.version = "0.1.0"
|
7
|
-
s.authors = ["Nadir Cohen", "Martin Bjeldbak Madsen", "Bill Kranec"]
|
8
|
-
s.license = "LGPL-3.0"
|
9
|
-
s.email = ["nadircs11@gmail.com", "me@martinbjeldbak.com", "wkranec@gmail.com"]
|
10
|
-
s.platform = Gem::Platform::RUBY
|
11
|
-
s.summary = "Ruby gem for financial calculations/modeling"
|
12
|
-
|
13
|
-
s.description = <<~EOF
|
14
|
-
The finrb library (forked from the finance gem) provides a Ruby interface for financial calculations/modeling. Working with interest rates, Mortgage amortization, Cashflows (NPV, IRR, etc.) and other basic utilities.
|
15
|
-
|
16
|
-
EOF
|
17
|
-
|
18
|
-
s.homepage = "https://rubygems.org/gems/finrb"
|
19
|
-
|
20
|
-
s.required_ruby_version = ">= 3.0"
|
21
|
-
|
22
|
-
s.add_dependency("activesupport")
|
23
|
-
s.add_dependency("business_time")
|
24
|
-
s.add_dependency("flt")
|
25
|
-
|
26
|
-
s.add_development_dependency("minitest")
|
27
|
-
s.add_development_dependency("pry")
|
28
|
-
s.add_development_dependency("rake")
|
29
|
-
s.add_development_dependency("rubocop")
|
30
|
-
s.add_development_dependency("rubocop-minitest")
|
31
|
-
s.add_development_dependency("rubocop-performance")
|
32
|
-
s.add_development_dependency("rubocop-packaging")
|
33
|
-
s.add_development_dependency("rubocop-rake")
|
34
|
-
s.add_development_dependency("semver")
|
35
|
-
s.add_development_dependency("solargraph")
|
36
|
-
|
37
|
-
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
38
|
-
|
39
|
-
s.extra_rdoc_files = ["README.md", "COPYING", "COPYING.LESSER", "CHANGELOG.md"]
|
40
|
-
|
41
|
-
s.metadata["rubygems_mfa_required"] = "true"
|
42
|
-
end
|