From 703936953e4f6ef8f4f6842da2b0fa92cf1f0ee2 Mon Sep 17 00:00:00 2001 From: David Widmann Date: Wed, 22 Feb 2023 22:38:03 +0100 Subject: [PATCH 1/4] Support IrrationalConstants 0.2 --- Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 86da7e3..750fa65 100644 --- a/Project.toml +++ b/Project.toml @@ -1,12 +1,12 @@ name = "Tau" uuid = "c544e3c2-d3e5-5802-ac44-44683f340e4a" -version = "1.0.0" +version = "1.1.0" [deps] IrrationalConstants = "92d709cd-6900-40b7-9082-c6be49f344b6" [compat] -IrrationalConstants = "0.1" +IrrationalConstants = "0.1, 0.2" julia = "1" [extras] From a2facc36d63fd5a9df8f8c0e919a533775cbe589 Mon Sep 17 00:00:00 2001 From: David Widmann Date: Wed, 22 Feb 2023 22:47:35 +0100 Subject: [PATCH 2/4] Update test and README --- README.md | 2 +- test/runtests.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a8b4965..0bc2cba 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ julia> tau === τ ≈ 2*pi true julia> typeof(tau) -Irrational{:twoπ} +IrrationalConstants.Twoπ ``` Note: to input the τ character, type `\tau` then press Tab. diff --git a/test/runtests.jl b/test/runtests.jl index 5a90675..984c411 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -2,7 +2,7 @@ using Tau using Test @testset "self-identity" begin - @test tau isa Irrational{:twoπ} + @test tau isa Tau.IrrationalConstants.Twoπ @test τ === τ @test τ === tau end From 1093cef318abb23a4e2db69e919693db636118d3 Mon Sep 17 00:00:00 2001 From: David Widmann Date: Wed, 22 Feb 2023 23:21:28 +0100 Subject: [PATCH 3/4] Update test/runtests.jl --- test/runtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 984c411..7a57884 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -2,7 +2,7 @@ using Tau using Test @testset "self-identity" begin - @test tau isa Tau.IrrationalConstants.Twoπ + @test tau === Tau.IrrationalConstants.twoπ @test τ === τ @test τ === tau end From 11580d27c6b54dd4013f8f7f3005471a413edb1a Mon Sep 17 00:00:00 2001 From: David Widmann Date: Thu, 23 Feb 2023 14:37:52 +0100 Subject: [PATCH 4/4] Update Project.toml --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 750fa65..172a18d 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "Tau" uuid = "c544e3c2-d3e5-5802-ac44-44683f340e4a" -version = "1.1.0" +version = "2.0.0" [deps] IrrationalConstants = "92d709cd-6900-40b7-9082-c6be49f344b6"