diff --git a/Formula/d/doltgres.rb b/Formula/d/doltgres.rb index cfa30e4fbb690..e2979e54518cd 100644 --- a/Formula/d/doltgres.rb +++ b/Formula/d/doltgres.rb @@ -1,8 +1,8 @@ class Doltgres < Formula desc "Dolt for Postgres" homepage "https://github.com/dolthub/doltgresql" - url "https://github.com/dolthub/doltgresql/archive/refs/tags/v0.4.0.tar.gz" - sha256 "2a476034582e04bcccbdfa20ebb3de7817e5798db686053e760c21a7dda992c8" + url "https://github.com/dolthub/doltgresql/archive/refs/tags/v0.5.0.tar.gz" + sha256 "51f1ebdfb823b2846720d073c1f10aeb7ad503748f50002b87b8ce7a61115741" license "Apache-2.0" # Upstream creates releases that use a stable tag (e.g., `v1.2.3`) but are @@ -14,13 +14,13 @@ class Doltgres < Formula end bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "c522e5451f3f55c7995c0fe11933d83043db7ee09747a06ecb25a6d3e8f4ba17" - sha256 cellar: :any_skip_relocation, arm64_ventura: "d8cc2469865215653386f60a5ac00bb40cb05958534ff8b083fef9f5b18070b7" - sha256 cellar: :any_skip_relocation, arm64_monterey: "88a4989fd696fb24fe28e2b8fbfc490792570febf48dc899de63c852f292051e" - sha256 cellar: :any_skip_relocation, sonoma: "a76afe781ff26772189010597235e9ceb8130777f05751a589818e445cc3b22e" - sha256 cellar: :any_skip_relocation, ventura: "ba4893cd6cb0d1de127fff0991fa173d976b18aa40506fef00e3b97d6cd3cd07" - sha256 cellar: :any_skip_relocation, monterey: "ae2c6cdfff288bfdbc3820130b1b42272c421265403c8e402ef85a42e7891128" - sha256 cellar: :any_skip_relocation, x86_64_linux: "8382b0e974c7e5002029d616c5c0d159a36f75331c2d2578b6a1cc88855cadab" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "161da6245b9a87bca480755d60aa6af4542fac9d7b739e64642f7f6f6e1fd15c" + sha256 cellar: :any_skip_relocation, arm64_ventura: "5fd9a047d9f907ed32b909fb70b7847c1094044c7164e77d1c69293e4044e741" + sha256 cellar: :any_skip_relocation, arm64_monterey: "da5e39a20a701638cac934226a3b6fed854dddb9e244f573fbc4542d48436bdf" + sha256 cellar: :any_skip_relocation, sonoma: "0d29b6fdfcea0c2314a1def3be24894f266a0123bcf84160d655d9266349a7cf" + sha256 cellar: :any_skip_relocation, ventura: "95415946f9c7dcf2a29c721bc4372417015908d34d9d2303828fc9cc235ca5bb" + sha256 cellar: :any_skip_relocation, monterey: "204bf8c862be6c0d858957c1135d124ce1b694abd69ed7f2e5dac1cecd582a40" + sha256 cellar: :any_skip_relocation, x86_64_linux: "f8f43ef19ad871c5cd65ee51a1fe02e5087cb81479498466bbe3b11eadae2364" end depends_on "go" => :build @@ -36,7 +36,9 @@ def install exec bin/"doltgres" end sleep 5 - psql = "#{Formula["libpq"].opt_bin}/psql -h 127.0.0.1 -U doltgres -c 'SELECT DATABASE()'" - assert_match "doltgres", shell_output(psql) + + psql = Formula["libpq"].opt_bin/"psql" + output = shell_output("#{psql} -h 127.0.0.1 -U doltgres -c 'SELECT DATABASE()' 2>&1", 2) + assert_match "database \"doltgres\" does not exist", output end end