Skip to content

Commit

Permalink
Stop exporting inner modules
Browse files Browse the repository at this point in the history
Also switches to tilde bounds on package versions to be more restrictive.
  • Loading branch information
timholy committed Jun 24, 2020
1 parent aefcb3d commit 8f765d2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 14 deletions.
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SnoopCompile"
uuid = "aa65fe97-06da-5843-b5b1-d5d13cad87d2"
author = ["Tim Holy <tim.holy@gmail.com>"]
version = "1.6.0"
version = "1.6.1"

[deps]
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Expand All @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion SnoopCompileAnalysis/Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SnoopCompileAnalysis"
uuid = "9ea4277c-da97-4c3a-afb0-537c066769de"
author = ["Tim Holy <tim.holy@gmail.com>"]
version = "1.6.0"
version = "1.6.1"

[deps]
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
Expand Down
6 changes: 3 additions & 3 deletions SnoopCompileBot/Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SnoopCompileBot"
uuid = "1d5e0e55-7d74-4714-b8d8-efa80e938cf7"
author = ["Amin Yahyaabadi <aminyahyaabadi74@gmail.com>"]
version = "1.6.0"
version = "1.6.1"

[deps]
FilePathsBase = "48062228-2e41-5def-b9a4-89aafe57970f"
Expand All @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion SnoopCompileCore/Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SnoopCompileCore"
uuid = "e2b509da-e806-4183-be48-004708413034"
author = ["Tim Holy <tim.holy@gmail.com>"]
version = "1.6.0"
version = "1.6.1"

[deps]
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
Expand Down
4 changes: 1 addition & 3 deletions src/SnoopCompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand All @@ -27,6 +27,4 @@ if isdefined(SnoopCompileBot, Symbol("@snoopiBench"))
end
using SnoopCompileBot: standardize_osname, JuliaVersionNumber, addtestdep

export SnoopCompileCore, SnoopCompileAnalysis, SnoopCompileBot

end # module
4 changes: 2 additions & 2 deletions test/snoopi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f765d2

Please sign in to comment.