Skip to content

Commit 75ed024

Browse files
BrewTestBotdaeho-ro
authored andcommitted
bookokrat 0.3.10
1 parent 8a0c763 commit 75ed024

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

Formula/b/bookokrat.rb

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Bookokrat < Formula
22
desc "Terminal EPUB Book Reader"
33
homepage "https://bugzmanov.github.io/bookokrat/index.html"
4-
url "https://github.com/bugzmanov/bookokrat/archive/refs/tags/v0.3.9.tar.gz"
5-
sha256 "c0b8a85e92e216dbfeaf111cff60d685c83db6e652b3e2282c876451b5b50e1b"
4+
url "https://github.com/bugzmanov/bookokrat/archive/refs/tags/v0.3.10.tar.gz"
5+
sha256 "86cc446dce3c0a78de462ddce3434d052a6b0cc2c66e9ee4ffd5c0977f41441e"
66
license "AGPL-3.0-or-later"
77
head "https://github.com/bugzmanov/bookokrat.git", branch: "main"
88

@@ -39,13 +39,14 @@ def install
3939
end
4040

4141
sleep 2
42-
config_prefix, log_prefix = if OS.mac?
43-
[testpath/"Library/Application Support/bookokrat", testpath/"Library/Caches/bookokrat"]
42+
43+
log_prefix = if OS.mac?
44+
testpath/"Library/Caches/bookokrat"
4445
else
45-
[testpath/".config/bookokrat", testpath/".local/state/bookokrat"]
46+
testpath/".local/state/bookokrat"
4647
end
47-
system "ls", "-alR"
48-
assert_path_exists config_prefix/"config.yaml"
48+
49+
assert_path_exists testpath/".config/bookokrat/config.yaml"
4950
assert_match "Starting Bookokrat EPUB reader", (log_prefix/"bookokrat.log").read
5051
ensure
5152
Process.kill("TERM", pid)

0 commit comments

Comments
 (0)