Skip to content

Commit

Permalink
yaws 2.2.0
Browse files Browse the repository at this point in the history
autobump: add yaws

Signed-off-by: Rui Chen <rui@chenrui.dev>

yaws: update homepage and test

Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 committed Jul 18, 2024
1 parent 8237ed4 commit fd8f463
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2729,6 +2729,7 @@ yamllint
yara
yara-x
yash
yaws
yaz
ydiff
ykman
Expand Down
8 changes: 4 additions & 4 deletions Formula/y/yaws.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Yaws < Formula
desc "Webserver for dynamic content (written in Erlang)"
homepage "http://yaws.hyber.org"
url "https://github.com/erlyaws/yaws/archive/refs/tags/yaws-2.1.1.tar.gz"
sha256 "aeb74f0051fe9a2925b1a1b4f13af31ec5404acfbe000ac32cda25ee9779f4bf"
homepage "https://erlyaws.github.io/"
url "https://github.com/erlyaws/yaws/archive/refs/tags/yaws-2.2.0.tar.gz"
sha256 "39318736472c165d4aec769c89ac4edfe3cab7ff7759f32de0a4e699ef6c88e8"
license "BSD-3-Clause"
head "https://github.com/erlyaws/yaws.git", branch: "master"

Expand Down Expand Up @@ -100,7 +100,7 @@ def post_install
fork do
exec bin/"yaws", "-c", testpath/"yaws.conf", "--erlarg", "-noshell"
end
sleep 3
sleep 6

output = shell_output("curl --silent localhost:#{port}/example.txt")
assert_match "401 authentication needed", output
Expand Down

0 comments on commit fd8f463

Please sign in to comment.