Skip to content

Commit

Permalink
algernon 0.84
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#41102.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
  • Loading branch information
xyproto authored and DomT4 committed Jun 26, 2015
1 parent d0e8bbb commit 6d1a65e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Formula/algernon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
class Algernon < Formula
desc "HTTP/2 web server with Lua support"
homepage "http://algernon.roboticoverlords.org/"
url "https://github.com/xyproto/algernon/archive/0.82.tar.gz"
sha256 "b64a6367445b707ae272ff917d971133777f62893f75a3dbaa0a19018d02a51c"
url "https://github.com/xyproto/algernon/archive/0.84.tar.gz"
sha256 "bc6c9899744ae50736dee1cea1e6c3228d89f8ccf436eb22694664b828e927fc"
head "https://github.com/xyproto/algernon.git"

bottle do
Expand All @@ -20,7 +20,6 @@ class Algernon < Formula
# List of Go dependencies and hashes.
# Generated using: https://github.com/samertm/homebrew-go-resources
%w[
github.com/bkaradzic/go-lz4 4f7c2045dbd17b802370e2e6022200468abf02ba
github.com/bobappleyard/readline a1f23ef6d7c8177f1fe3085d3bf7b40457049f0c
github.com/boltdb/bolt 5eb31d5821750fbc84284d610c0ce85261662adb
github.com/bradfitz/http2 f8202bc903bda493ebba4aa54922d78430c2c42f
Expand All @@ -32,19 +31,20 @@ class Algernon < Formula
github.com/go-fsnotify/fsnotify 6549b98005f3e4026ad9f50ef7d5011f40ba1397
github.com/go-sql-driver/mysql 66b7d5c4956096efd4c945494d64ad73f1d9ec39
github.com/juju/ratelimit faa59ce93750e747b2997635e8b7daf30024b1ac
github.com/klauspost/pgzip 49eeca5953c2a6c7be4e34e8803029e6354d9bb7
github.com/mamaar/risotto 2683127f39af835e766a70b203efc6a51dd2ebe6
github.com/mattn/go-runewidth 5890272cd41c5103531cd7b79e428d99c9e97f76
github.com/mitchellh/go-homedir 1f6da4a72e57d4e7edd4a7295a585e0a3999a2d4
github.com/mitchellh/mapstructure 2caf8efc93669b6c43e0441cdc6aed17546c96f3
github.com/natefinch/pie 0e26844fad24d1f3fc81b7d6a8f8589cac6ec64c
github.com/nsf/termbox-go 598cdb8b3c49430c1c91604805461732064bde1d
github.com/natefinch/pie 83bfd1821ee0ba96a47d98cbed424313fb60f57a
github.com/nsf/termbox-go 675ffd907b7401b8a709a5ef2249978af5616bb2
github.com/russross/blackfriday 386ef80f18233ea97960e855a54382ec446c6637
github.com/shiena/ansicolor 8368d3b31cf6f2c2464c7a91675342c9a0ac6658
github.com/shiena/ansicolor 23296fbcefa1c43b2151a2c65812b71b85cf9f9b
github.com/shurcooL/sanitized_anchor_name 11a20b799bf22a02808c862eb6ca09f7fb38f84a
github.com/sirupsen/logrus 0f2a4955b11372eec5a4b95d907eaf8379b835d0
github.com/sirupsen/logrus d3e4ea403263d5e349c43ba8309e81f820325393
github.com/tylerb/graceful ac9ebe4f1ee151ac1eeeaef32957085cba64d508
github.com/xyproto/cookie b84c85ae2aa3e21b2c7fc8c37d5a3081c0c9c83b
github.com/xyproto/jpath 7b9116746a7134fdcefd5802af406361087bb190
github.com/xyproto/jpath d9213e11ca293e9e2705217ed372f53467d079ab
github.com/xyproto/mime 58d5c367ee5b5e10f4662848579b8ccd759b280e
github.com/xyproto/permissionbolt b94c45a7f4c70603f12aa1d47a325a37036fd3ba
github.com/xyproto/permissions2 b5248dea92e87c670813edf4e68dc16eff59c05b
Expand Down Expand Up @@ -88,9 +88,9 @@ def install
tempdb = "/tmp/_brew_test.db"
cport = ":45678"

# Start the server in a fork
# Start the server in a fork and retrieve the PID
algernon_pid = fork do
exec "#{bin}/algernon", "--quiet", "--httponly", "--server", "--addr", cport
exec "#{bin}/algernon", "--quiet", "--httponly", "--server", "--boltdb", tempdb, "--addr", cport
end

# Give the server some time to start serving
Expand Down

0 comments on commit 6d1a65e

Please sign in to comment.