Skip to content

Commit

Permalink
Release 1.2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
siefca committed Jul 18, 2021
1 parent 48c23fb commit ef6a811
Show file tree
Hide file tree
Showing 23 changed files with 94 additions and 90 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
APPNAME = "bankster"
VERSION = "1.2.11"
VERSION = "1.2.12"

.PHONY: watch default docs deploy test test-clj sig jar pom clean tag

Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# History of Bankster releases

## 1.2.12 (2021-07-18)

- Type hinting and assertion tests improved in money/compare and money/compare-amount.

## 1.2.10, 1.2.11 (2021-07-13)

- Fixed a bug which caused rounding mode parsing to not make use of evaluated results
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ To use Bankster in your project, add the following to dependencies section of
`project.clj` or `build.boot`:

```clojure
[io.randomseed/bankster "1.2.11"]
[io.randomseed/bankster "1.2.12"]
```

For `deps.edn` add the following as an element of a map under `:deps` or
`:extra-deps` key:

```clojure
io.randomseed/bankster {:mvn/version "1.2.11"}
io.randomseed/bankster {:mvn/version "1.2.12"}
```

Additionally, if you want to utilize specs and generators provided by the Bankster
Expand Down Expand Up @@ -553,7 +553,7 @@ Stellar Lumens are cool too:

## Why?

In one of my personal projects I needed to support both ISO-standardized and custom
In one of my personal projects I needed support for both, ISO-standardized and custom
currencies. My first try was Money (by Clojurewerkz), which is quite mature library
based on Java's Joda Money. However, I needed cryptocurrencies support, and I mean
all of them, including those having non-standard codes (like `DASH`).
Expand Down
26 changes: 13 additions & 13 deletions bankster.jar.asc
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIzBAABCAAdFiEElzhGBxSaMDOq9Z/XNjF6dNg249AFAmDtawcACgkQNjF6dNg2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o6oFfn3WHVYCPEFy
uXWPA9AUutN/gokOcp5Vos10dZluArbPbpvGJEIdx3Yzl6KLS/ZX+hXejiCJnzO5
cOT6ixucEqWfA6UZtQ+pIuh+EdAYZmVoX6z5VDncWvLi5itfr0oVrXq2o2YmFpjI
UdgLTWQmgdpKl4cUvZG5AmFAxuPwQlVUElyFnouzo9jz4ri3uOZgAxWZfCjtSvbW
Dch/ruUxo0D8ChVspyqQj0ui+wX9d7FJgCLm2d8WGnL1SkQlDPd0MQHzlFjEZTT/
xDy4Ws8EypzD15NpiSYVH6kKYVGM0I6oy8gs4lxSYGm+jxbO9oPqFDXDrhBKeY0d
LAbOSaFEghGwEJrCsCF0hcoDiBvd25Q+UEusfxKfWrfWhi8stCQ=
=vtHA
-----END PGP SIGNATURE-----
2 changes: 1 addition & 1 deletion deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
:description "Money Creation Made Easy"
:license "GNU Lesser General Public License 3.0"
:package io.randomseed/bankster
:version "1.2.11"
:version "1.2.12"
:output-path "docs"
:source-uri "https://github.com/randomseed-io/bankster/blob/{version}/{filepath}#L{line}"
:metadata {:doc/format :markdown}
Expand Down
6 changes: 3 additions & 3 deletions doc/10_introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ To use Bankster in your project, add the following to dependencies section of
`project.clj` or `build.boot`:

```clojure
[io.randomseed/bankster "1.2.11"]
[io.randomseed/bankster "1.2.12"]
```

For `deps.edn` add the following as an element of a map under `:deps` or
`:extra-deps` key:

```clojure
io.randomseed/bankster {:mvn/version "1.2.11"}
io.randomseed/bankster {:mvn/version "1.2.12"}
```

Additionally, if you want to utilize specs and generators provided by the Bankster
Expand Down Expand Up @@ -553,7 +553,7 @@ Stellar Lumens are cool too:

## Why?

In one of my personal projects I needed to support both ISO-standardized and custom
In one of my personal projects I needed support for both, ISO-standardized and custom
currencies. My first try was Money (by Clojurewerkz), which is quite mature library
based on Java's Joda Money. However, I needed cryptocurrencies support, and I mean
all of them, including those having non-standard codes (like `DASH`).
Expand Down
8 changes: 4 additions & 4 deletions docs/10_introduction.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>Introduction</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script><link rel="stylesheet" type="text/css" href="css/randomseed.css" /></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Bankster</span> <span class="project-version">1.2.11</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 current"><a href="10_introduction.html"><div class="inner"><span>Introduction</span></div></a></li><li class="depth-1 "><a href="20_data_structures.html"><div class="inner"><span>Data Structures</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>io</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>randomseed</span></div></div></li><li class="depth-3"><a href="io.randomseed.bankster.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>bankster</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.bankster.config.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>config</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.bankster.currency.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>currency</span></div></a></li><li class="depth-4"><a href="io.randomseed.bankster.money.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>money</span></div></a></li><li class="depth-5 branch"><a href="io.randomseed.bankster.money.inter-ops.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>inter-ops</span></div></a></li><li class="depth-5"><a href="io.randomseed.bankster.money.ops.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>ops</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.bankster.registry.html"><div class="inner"><span class="tree" style="top: -83px;"><span class="top" style="height: 92px;"></span><span class="bottom"></span></span><span>registry</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.bankster.scale.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>scale</span></div></a></li><li class="depth-4"><a href="io.randomseed.bankster.util.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>util</span></div></a></li><li class="depth-5 branch"><a href="io.randomseed.bankster.util.fs.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>fs</span></div></a></li><li class="depth-5 branch"><a href="io.randomseed.bankster.util.importer.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>importer</span></div></a></li><li class="depth-5"><a href="io.randomseed.bankster.util.map.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>map</span></div></a></li></ul></div><div class="document" id="content"><div class="doc"><div class="markdown"><h1><a href="#introduction" name="introduction"></a>Introduction</h1>
<html><head><meta charset="UTF-8" /><title>Introduction</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script><link rel="stylesheet" type="text/css" href="css/randomseed.css" /></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Bankster</span> <span class="project-version">1.2.12</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 current"><a href="10_introduction.html"><div class="inner"><span>Introduction</span></div></a></li><li class="depth-1 "><a href="20_data_structures.html"><div class="inner"><span>Data Structures</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>io</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>randomseed</span></div></div></li><li class="depth-3"><a href="io.randomseed.bankster.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>bankster</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.bankster.config.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>config</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.bankster.currency.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>currency</span></div></a></li><li class="depth-4"><a href="io.randomseed.bankster.money.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>money</span></div></a></li><li class="depth-5 branch"><a href="io.randomseed.bankster.money.inter-ops.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>inter-ops</span></div></a></li><li class="depth-5"><a href="io.randomseed.bankster.money.ops.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>ops</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.bankster.registry.html"><div class="inner"><span class="tree" style="top: -83px;"><span class="top" style="height: 92px;"></span><span class="bottom"></span></span><span>registry</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.bankster.scale.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>scale</span></div></a></li><li class="depth-4"><a href="io.randomseed.bankster.util.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>util</span></div></a></li><li class="depth-5 branch"><a href="io.randomseed.bankster.util.fs.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>fs</span></div></a></li><li class="depth-5 branch"><a href="io.randomseed.bankster.util.importer.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>importer</span></div></a></li><li class="depth-5"><a href="io.randomseed.bankster.util.map.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>map</span></div></a></li></ul></div><div class="document" id="content"><div class="doc"><div class="markdown"><h1><a href="#introduction" name="introduction"></a>Introduction</h1>
<p><strong>Money Creation Made Easy!</strong></p>
<p><a href="https://clojars.org/io.randomseed/bankster"><img src="https://img.shields.io/clojars/v/io.randomseed/bankster.svg" alt="Bankster on Clojars" /></a> <a href="https://cljdoc.org/d/io.randomseed/bankster/CURRENT"><img src="https://cljdoc.org/badge/io.randomseed/bankster" alt="Bankster on cljdoc" /></a> <a href="https://circleci.com/gh/randomseed-io/bankster"><img src="https://circleci.com/gh/randomseed-io/bankster.svg?style=svg" alt="CircleCI" /></a></p>
<p>Clojure library to operate on monetary units with cryptocurrencies and custom currencies support.</p>
Expand All @@ -26,10 +26,10 @@ <h2><a href="#features" name="features"></a>Features</h2>
</ul>
<h2><a href="#installation" name="installation"></a>Installation</h2>
<p>To use Bankster in your project, add the following to dependencies section of <code>project.clj</code> or <code>build.boot</code>:</p>
<pre><code class="clojure">[io.randomseed/bankster "1.2.11"]
<pre><code class="clojure">[io.randomseed/bankster "1.2.12"]
</code></pre>
<p>For <code>deps.edn</code> add the following as an element of a map under <code>:deps</code> or <code>:extra-deps</code> key:</p>
<pre><code class="clojure">io.randomseed/bankster {:mvn/version "1.2.11"}
<pre><code class="clojure">io.randomseed/bankster {:mvn/version "1.2.12"}
</code></pre>
<p>Additionally, if you want to utilize specs and generators provided by the Bankster you can use (in your development profile):</p>
<pre><code class="clojure">org.clojure/spec.alpha {:mvn/version "0.2.176"}
Expand Down Expand Up @@ -446,7 +446,7 @@ <h2><a href="#deum-ethereum" name="deum-ethereum"></a>Deum Ethereum</h2>
<p>I write Free Software for fun. If you are finding it useful and you are the Ether fan too, here it is: <code>0x2Bed4D2d9240F9fB321bC0194222A4888F62dd0d</code>.</p>
<p>Stellar Lumens are cool too: <code>GBMUQ6U6334Y5HWF3XGMCRQZKVMFDCSX4YADEVZO7ZXIBDJDXXX2BSME</code>.</p>
<h2><a href="#why-" name="why-"></a>Why?</h2>
<p>In one of my personal projects I needed to support both ISO-standardized and custom currencies. My first try was Money (by Clojurewerkz), which is quite mature library based on Java’s Joda Money. However, I needed cryptocurrencies support, and I mean all of them, including those having non-standard codes (like <code>DASH</code>).</p>
<p>In one of my personal projects I needed support for both, ISO-standardized and custom currencies. My first try was Money (by Clojurewerkz), which is quite mature library based on Java’s Joda Money. However, I needed cryptocurrencies support, and I mean all of them, including those having non-standard codes (like <code>DASH</code>).</p>
<p>First I tried to modify Money and work-around this limitation by imitating such currencies with an additional map translating custom codes into standardized ones. Then I looked at Joda Money to see that the important classes are marked as final and the support for currencies is limited to the “official” ones.</p>
<h2><a href="#license" name="license"></a>License</h2>
<p>Copyright © 2021 Paweł Wilk</p>
Expand Down
Loading

0 comments on commit ef6a811

Please sign in to comment.