🍻 Default formulae for the missing package manager for macOS
Find a file
JC Wilcox 6b556225ae postgrest 0.2.12.0 (new formula)
postgrest 0.2.12.0 (new formula)

Add formula for PostgREST, which serves up a RESTful API from any
existing PostgreSQL database.

Adopt style suggestions

Replace install logic with simpler 'install_cabal_package.' Remove
formula name from description.

Improve test for postgrest formula

Test that sending a GET request to the PostgREST root route returns an
empty array for a temporary database. The test assumes that there is a
Postgres account for the current user, which is not password protected.

Remove launchctl from postgrest test

Use initdb to create a temporary database directory, with its own user.
Use pg_ctl to start a new database server on a dedicated port using the
temporary directory. Run tests against this server, instead of the
global version. This should resolve an issue when testing the package on
Mavericks, which seems to take issue with launchctl.

Fix timeout error in postgrest test

Add a log file when starting the postgres server; otherwise, when
running the test with the --verbose option, the test would hang
indefinitely after starting the server.

Closes Homebrew/homebrew#45517.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-05 14:53:29 -08:00
Aliases wolfssl: remove unneeded alias 2015-11-04 14:31:18 +00:00
Formula postgrest 0.2.12.0 (new formula) 2015-11-05 14:53:29 -08:00