Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecation warning on Formatting.jl package #57

Merged
merged 3 commits into from
Sep 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name = "SpelledOut"
uuid = "4728c690-e668-4265-bc0d-51a8c0f93067"
authors = ["Jake W. Ireland <jakewilliami@icloud.com> and contributors"]
version = "1.2.0"
version = "1.2.1"

[deps]
DecFP = "55939f99-70c6-5e9b-8bb0-5071ed7d61fd"
Formatting = "59287772-0a20-5a39-b81b-1366585eb4c0"
Format = "1fa38f19-a742-5d3f-a2b9-30dd87b9d5f8"

[compat]
DecFP = "1.1"
Formatting = "0.4"
Format = "1.3"
julia = "1"

[extras]
Expand Down
7 changes: 6 additions & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
[deps]
DecFP = "55939f99-70c6-5e9b-8bb0-5071ed7d61fd"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Formatting = "59287772-0a20-5a39-b81b-1366585eb4c0"
Format = "1fa38f19-a742-5d3f-a2b9-30dd87b9d5f8"

[compat]
DecFP = "1.1"
Format = "1.3"
julia = "1"
6 changes: 3 additions & 3 deletions src/SpelledOut.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module SpelledOut

using DecFP: Dec64, Dec128
using Formatting: format
using Format: format

export spelled_out, Spelled_out, Spelled_Out, SPELLED_OUT

Expand Down Expand Up @@ -64,9 +64,9 @@ function spelled_out(
elseif lang ∈ (:pt,)
return spelled_out_pt(number; portugal = true, dict = dict)
end

throw(error("We do not support $lang yet. Please make an issue and someone might be able to help you, or feel free to contribute."))

return nothing
end

Expand Down
Loading