Skip to content

Commit

Permalink
update to Pluto 0.17
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Dec 7, 2021
1 parent 8d532dd commit 11afc63
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PlutoPDF"
uuid = "6eb38059-8c05-41f7-8871-5e7e2697ace6"
license = "MIT"
version = "0.1.1"
version = "0.1.2"

[deps]
DefaultApplication = "3f0dd361-4fe0-5fc6-8523-80b14ec94d85"
Expand All @@ -13,8 +13,8 @@ Pluto = "c3e4b0f8-55cb-11ea-2926-15256bba5781"
[compat]
julia = "1.6"
JSON = "0.20, 0.21"
NodeJS = "1.1.1"
Pluto = "0.14.7,0.15"
NodeJS = "1.3.0"
Pluto = "0.16, 0.17"
DefaultApplication = "1"

[extras]
Expand Down
2 changes: 1 addition & 1 deletion src/PlutoPDF.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function pluto_to_pdf(notebook_path::AbstractString, output_path::Union{Abstract
s = Pluto.ServerSession(;options=c)
@info "Running notebook..."
nb = Pluto.SessionActions.open(s, notebook_path; run_async=false)
html_contents = Pluto.generate_html(nb; binder_url_js="undefined", version="cd7c123")
html_contents = Pluto.generate_html(nb; binder_url_js="undefined")
Pluto.SessionActions.shutdown(s, nb)

filename = tempname() * ".html"
Expand Down
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ using PlutoPDF
testfile = download("https://raw.githubusercontent.com/fonsp/Pluto.jl/main/sample/Tower%20of%20Hanoi.jl")


outfile = @test_nowarn pluto_to_pdf(testfile; open=false)

outfile = pluto_to_pdf(testfile; open=get(ENV, "CI", "no") == "no")

@test isfile(outfile)
@test endswith(outfile, ".pdf")

2 comments on commit 11afc63

@fonsp
Copy link
Member Author

@fonsp fonsp commented on 11afc63 Dec 7, 2021

Choose a reason for hiding this comment

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

@JuliaRegistrator register()

@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/50067

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.1.2 -m "<description of version>" 11afc633d3063ab5cb3eb68cfb522a20c5297070
git push origin v0.1.2

Please sign in to comment.