From 8f765d20260d4ba10d34d9f04caf1cbde4bf571f Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Wed, 24 Jun 2020 05:57:31 -0500 Subject: [PATCH] Stop exporting inner modules Also switches to tilde bounds on package versions to be more restrictive. --- Project.toml | 8 ++++---- SnoopCompileAnalysis/Project.toml | 2 +- SnoopCompileBot/Project.toml | 6 +++--- SnoopCompileCore/Project.toml | 2 +- src/SnoopCompile.jl | 4 +--- test/snoopi.jl | 4 ++-- 6 files changed, 12 insertions(+), 14 deletions(-) diff --git a/Project.toml b/Project.toml index ac1946d39..f0c8c4f6f 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "SnoopCompile" uuid = "aa65fe97-06da-5843-b5b1-d5d13cad87d2" author = ["Tim Holy "] -version = "1.6.0" +version = "1.6.1" [deps] Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" @@ -11,9 +11,9 @@ SnoopCompileBot = "1d5e0e55-7d74-4714-b8d8-efa80e938cf7" SnoopCompileCore = "e2b509da-e806-4183-be48-004708413034" [compat] -SnoopCompileAnalysis = "1" -SnoopCompileBot = "1" -SnoopCompileCore = "1" +SnoopCompileAnalysis = "~1.6.1" +SnoopCompileBot = "~1.6.1" +SnoopCompileCore = "~1.6.1" julia = "1" [extras] diff --git a/SnoopCompileAnalysis/Project.toml b/SnoopCompileAnalysis/Project.toml index d5d24c289..be51fc1e9 100644 --- a/SnoopCompileAnalysis/Project.toml +++ b/SnoopCompileAnalysis/Project.toml @@ -1,7 +1,7 @@ name = "SnoopCompileAnalysis" uuid = "9ea4277c-da97-4c3a-afb0-537c066769de" author = ["Tim Holy "] -version = "1.6.0" +version = "1.6.1" [deps] OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" diff --git a/SnoopCompileBot/Project.toml b/SnoopCompileBot/Project.toml index 3f4a22fff..42030dd8d 100644 --- a/SnoopCompileBot/Project.toml +++ b/SnoopCompileBot/Project.toml @@ -1,7 +1,7 @@ name = "SnoopCompileBot" uuid = "1d5e0e55-7d74-4714-b8d8-efa80e938cf7" author = ["Amin Yahyaabadi "] -version = "1.6.0" +version = "1.6.1" [deps] FilePathsBase = "48062228-2e41-5def-b9a4-89aafe57970f" @@ -12,8 +12,8 @@ SnoopCompileCore = "e2b509da-e806-4183-be48-004708413034" [compat] FilePathsBase = "0.9" -SnoopCompileAnalysis = "1" -SnoopCompileCore = "1" +SnoopCompileAnalysis = "~1.6.1" +SnoopCompileCore = "~1.6.1" YAML = "0.4" julia = "1" diff --git a/SnoopCompileCore/Project.toml b/SnoopCompileCore/Project.toml index b92e93a30..27f4bc31b 100644 --- a/SnoopCompileCore/Project.toml +++ b/SnoopCompileCore/Project.toml @@ -1,7 +1,7 @@ name = "SnoopCompileCore" uuid = "e2b509da-e806-4183-be48-004708413034" author = ["Tim Holy "] -version = "1.6.0" +version = "1.6.1" [deps] Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b" diff --git a/src/SnoopCompile.jl b/src/SnoopCompile.jl index 232e61fee..5a10d2ae4 100644 --- a/src/SnoopCompile.jl +++ b/src/SnoopCompile.jl @@ -5,7 +5,7 @@ export @snoopc using SnoopCompileAnalysis -# needed for snoopc +# needed for processing the output of snoopc (avoids a breaking change in scoping) using SnoopCompileAnalysis: parcel, read, write, parse_call, format_userimg if isdefined(SnoopCompileCore, Symbol("@snoopi")) @@ -27,6 +27,4 @@ if isdefined(SnoopCompileBot, Symbol("@snoopiBench")) end using SnoopCompileBot: standardize_osname, JuliaVersionNumber, addtestdep -export SnoopCompileCore, SnoopCompileAnalysis, SnoopCompileBot - end # module diff --git a/test/snoopi.jl b/test/snoopi.jl index 18753811a..fba630e36 100644 --- a/test/snoopi.jl +++ b/test/snoopi.jl @@ -199,8 +199,8 @@ end @testset "@snoopi docs" begin # docstring is present (weird Docs bug) - dct = Docs.meta(SnoopCompileCore) - @test haskey(dct, Docs.Binding(SnoopCompileCore, Symbol("@snoopi"))) + dct = Docs.meta(SnoopCompile.SnoopCompileCore) + @test haskey(dct, Docs.Binding(SnoopCompile.SnoopCompileCore, Symbol("@snoopi"))) end @testset "Duplicates (#70)" begin