11class HelixDb < Formula
22 desc "Open-source graph-vector database built from scratch in Rust"
33 homepage "https://helix-db.com"
4- url "https://github.com/HelixDB/helix-db/archive/refs/tags/v2.2.5 .tar.gz"
5- sha256 "6229ce5c5fdf7cb056a1eb31ef5aa1553ee974fec1e2c5723a3679fdd0a1912f "
4+ url "https://github.com/HelixDB/helix-db/archive/refs/tags/v2.2.6 .tar.gz"
5+ sha256 "5b17329320920f7b962efa1d91b1dad3e4c96f6d43ff764a85b774c69516dca0 "
66 license "AGPL-3.0-only"
77
88 bottle do
9- sha256 cellar : :any_skip_relocation , arm64_tahoe : "18886cff74fddd517b51f473c45f213ba730c0d2370d3dcb132926646e79f3ba "
10- sha256 cellar : :any_skip_relocation , arm64_sequoia : "86ba4d73e859f1bb6ef6b1ca3f2c557020f38cf149d2d50f6205ccbb33f2cd23 "
11- sha256 cellar : :any_skip_relocation , arm64_sonoma : "e5da7992500b9ddd97fcfa959f0ac259951e312db9323ee21c930865b6ecc99a "
12- sha256 cellar : :any_skip_relocation , sonoma : "e29c74418c082397a64f373e1ae7c0194c431d9aec53b9384d7aa4d83a6a9cdc "
13- sha256 cellar : :any_skip_relocation , arm64_linux : "fd1286d220c748aa54b885bf89083b28db1c5db66acede4dfa132e4566d4e99e "
14- sha256 cellar : :any_skip_relocation , x86_64_linux : "217e7dbb22d59999282e4172cac0f578bb20f49fda8ec9ed6f434a69ff0f25d2 "
9+ sha256 cellar : :any_skip_relocation , arm64_tahoe : "2ebf3f713776b5af5e11e12bdd5eef9607dbad4ad9cccb9b5ddba674e3f074f7 "
10+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "ffc1f5d95d875beafdce89543ecd8abcc1a5c92d6027b2b726686beadbbaf822 "
11+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "93f550bdb15a4d35000b74faee61a4b1dd12a8e20bdc864c7c3869e248f7e2b2 "
12+ sha256 cellar : :any_skip_relocation , sonoma : "b350411b921fb785a55697b3e38d1460890bdabdd7dd8118aed0fcafefea8146 "
13+ sha256 cellar : :any_skip_relocation , arm64_linux : "a81af58e65beac38f84f1ec7e84d1e2f56fc53cfbdbe8b31b8d7f51dc4ff57c3 "
14+ sha256 cellar : :any_skip_relocation , x86_64_linux : "69f92bce922834616ee90a4431e1f942c96b5385c735265111ab6827f95ad87a "
1515 end
1616
1717 depends_on "rust"
18+
1819 on_linux do
1920 depends_on "openssl@3"
2021 end
@@ -24,13 +25,15 @@ def install
2425 end
2526
2627 test do
27- assert_match "Initializing Helix project" , shell_output ( "#{ bin } /helix init" )
28+ project = testpath . to_s . split ( "/" ) . last
29+ assert_match "Initialized '#{ project } ' successfully" , shell_output ( "#{ bin } /helix init" )
30+
2831 assert_path_exists testpath /"helix.toml"
2932 assert_path_exists testpath /"db"
3033 assert_path_exists testpath /"db/queries.hx"
3134 assert_path_exists testpath /"db/schema.hx"
3235
33- assert_match "SUCCESS " , shell_output ( "#{ bin } /helix add local 2>&1" )
36+ assert_match "Added ' #{ project } ' successfully " , shell_output ( "#{ bin } /helix add local 2>&1" )
3437 assert_match "already exists in helix.toml" , shell_output ( "#{ bin } /helix add local 2>&1" , 1 )
3538
3639 ( testpath /"db/schema.hx " ) . write "N::User { name: String }"
0 commit comments