Skip to content

Commit

Permalink
update DG to 0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Oct 1, 2021
1 parent be415ad commit 0e5acdb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DynamicGridsInteract"
uuid = "3ccff026-9a20-11e9-1704-43e1c6ed0af5"
authors = ["Rafael Schouten <[email protected]>"]
version = "0.6.1"
version = "0.6.2"

[deps]
Blink = "ad839575-38b3-5650-b840-f874b8c74a25"
Expand All @@ -16,7 +16,7 @@ WebSockets = "104b5d7c-a370-577a-8038-80a2059c5097"

[compat]
Blink = "0.12"
DynamicGrids = "^0.18.4, 0.19"
DynamicGrids = "^0.18.4, 0.19, 0.20"
ImageShow = "0.2.3, 0.3"
Interact = "0.10"
InteractBase = "0.10"
Expand Down
10 changes: 5 additions & 5 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test5 = [0 0 0 0 0 0
0 0 0 0 0 1
0 0 0 0 0 0]

imagegen = Image(
renderer = Image(
scheme=ColorSchemes.leonardo, zerocolor=nothing, maskcolor=nothing,
)

Expand All @@ -51,7 +51,7 @@ imagegen = Image(

ruleset = Ruleset(Life(); boundary=Wrap())
output = InteractOutput(init;
tspan=1:2, ruleset=ruleset, store=true, text=nothing, imagegen=imagegen
tspan=1:2, ruleset=ruleset, store=true, text=nothing, renderer=renderer
)
sim!(output, ruleset)
sleep(10)
Expand All @@ -68,7 +68,7 @@ imagegen = Image(

@testset "output works with store=false" begin
output = InteractOutput(init;
ruleset=ruleset, tspan=1:3, store=false, text=nothing, imagegen=imagegen
ruleset=ruleset, tspan=1:3, store=false, text=nothing, renderer=renderer
)
sim!(output, ruleset)
output.graphicconfig.stoppedframe
Expand All @@ -85,7 +85,7 @@ if !Sys.islinux() # No graphic head loaded in CI: TODO add this
@testset "ElectronOutput" begin
ruleset = Ruleset(Life(); boundary=Wrap())
output = ElectronOutput(init;
ruleset=ruleset, tspan=1:300, store=true, text=nothing, imagegen=imagegen
ruleset=ruleset, tspan=1:300, store=true, text=nothing, renderer=renderer
)
DynamicGrids.setrunning!(output, false)
sim!(output.interface, ruleset)
Expand All @@ -101,6 +101,6 @@ end

@testset "ServerOutput" begin
ruleset = Ruleset(Life(); boundary=Wrap())
ServerOutput(init; ruleset=ruleset, port=8080, imagegen=imagegen)
ServerOutput(init; ruleset=ruleset, port=8080, renderer=renderer)
# TODO: test the server somehow
end

2 comments on commit 0e5acdb

@rafaqz
Copy link
Member Author

@rafaqz rafaqz commented on 0e5acdb Oct 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/45908

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.6.2 -m "<description of version>" 0e5acdb00a51792478b9c9f55950e66ce057793f
git push origin v0.6.2

Please sign in to comment.