Skip to content

Commit 68633fc

Browse files
committed
Release v2.0.0
1 parent 6a0a083 commit 68633fc

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# CHANGELOG
22

3-
## v2.0.0-rc.0 (2020-01-21)
3+
## v2.0.0 (2020-09-08)
44

55
Decimal v2.0 requires Elixir v1.2+.
66

7+
### Enhancements
8+
9+
* Add `Decimal.integer?/1`
10+
711
### Breaking changes
812

913
* Change `Decimal.compare/2` to return `:lt | :eq | :gt`
@@ -24,7 +28,7 @@ Decimal v2.0 requires Elixir v1.2+.
2428

2529
* Deprecate `Decimal.cmp/2`
2630

27-
## v1.9.0-rc.0 (2020-01-07)
31+
## v1.9.0 (2020-09-08)
2832

2933
### Enhancements
3034

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@
44

55
Arbitrary precision decimal arithmetic.
66

7-
Documentation: https://hexdocs.pm/decimal/
8-
97
## Usage
108

119
Add Decimal as a dependency in your `mix.exs` file.
1210

1311
```elixir
1412
def deps do
15-
[{:decimal, "~> 1.0"}]
13+
[{:decimal, "~> 2.0"}]
1614
end
1715
```
1816

mix.exs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
defmodule Decimal.Mixfile do
22
use Mix.Project
33

4-
@version "2.0.0-rc.0"
4+
@version "2.0.0"
5+
@source_url "https://github.com/ericmj/decimal"
56

67
def project() do
78
[
@@ -10,7 +11,7 @@ defmodule Decimal.Mixfile do
1011
elixir: "~> 1.2",
1112
deps: deps(),
1213
name: "Decimal",
13-
source_url: "https://github.com/ericmj/decimal",
14+
source_url: @source_url,
1415
docs: [source_ref: "v#{@version}", main: "readme", extras: ["README.md"]],
1516
description: description(),
1617
package: package()
@@ -35,7 +36,7 @@ defmodule Decimal.Mixfile do
3536
[
3637
maintainers: ["Eric Meadows-Jönsson"],
3738
licenses: ["Apache-2.0"],
38-
links: %{"GitHub" => "https://github.com/ericmj/decimal"}
39+
links: %{"GitHub" => @source_url}
3940
]
4041
end
4142
end

0 commit comments

Comments
 (0)