From 24fb2b54fe01a4173d06d0f67368785724fe9e83 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 9 Oct 2024 18:36:52 +0000 Subject: [PATCH 1/2] greenmask 0.2.0 greenmask: update test Signed-off-by: Rui Chen --- Formula/g/greenmask.rb | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Formula/g/greenmask.rb b/Formula/g/greenmask.rb index 25feb73efd61d..a9395653302e1 100644 --- a/Formula/g/greenmask.rb +++ b/Formula/g/greenmask.rb @@ -1,8 +1,8 @@ class Greenmask < Formula desc "PostgreSQL dump and obfuscation tool" homepage "https://greenmask.io" - url "https://github.com/GreenmaskIO/greenmask/archive/refs/tags/v0.1.14.tar.gz" - sha256 "b5d7323d9dde7e4fcd288c461f6454b6e0e4e2b09eb62619cb967bf14971c990" + url "https://github.com/GreenmaskIO/greenmask/archive/refs/tags/v0.2.0.tar.gz" + sha256 "d16610cd2ee2f6174ccbb6158b49b5857af24680170fe72c912327d1ee87c333" license "Apache-2.0" head "https://github.com/GreenmaskIO/greenmask.git", branch: "main" @@ -39,8 +39,8 @@ def install (testpath/"config.yml").write <<~EOS common: - pg_bin_path: "/usr/lib/postgresql/16/bin" - tmp_dir: "/tmp" + pg_bin_path: "/usr/lib/postgresql/16/bin" + tmp_dir: "/tmp" storage: s3: @@ -73,7 +73,9 @@ def install jobs: 10 dbname: "host=playground-db user=postgres password=example dbname=transformed" EOS - output = shell_output(bin/"greenmask --config config.yml list-transformers") - assert_match "Generate random uuid", output + + output = shell_output("#{bin}/greenmask --config config.yml list-transformers") + assert_match "Generate UUID", output + assert_match "Generates a random word", output end end From 6ff18b60116bb9cd2740374a6b0a2b1ca022ee38 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 10 Oct 2024 00:17:35 +0000 Subject: [PATCH 2/2] greenmask: update 0.2.0 bottle. --- Formula/g/greenmask.rb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Formula/g/greenmask.rb b/Formula/g/greenmask.rb index a9395653302e1..b771a5d68fcce 100644 --- a/Formula/g/greenmask.rb +++ b/Formula/g/greenmask.rb @@ -12,14 +12,12 @@ class Greenmask < Formula end bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "28ac7a02bf1e2cb632cfbb10b50fe4852648441e9e4505f87de7a4ea9e6dc8ec" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "25bcd6ff301712eff33ede67836cca16265b96b3b3047d7b4a1580fa0b845e5c" - sha256 cellar: :any_skip_relocation, arm64_ventura: "da9353cc79191b3dfa604deb72b9e4a5b4544f43ceba0ba0657f290ecf31b80b" - sha256 cellar: :any_skip_relocation, arm64_monterey: "d0b4321544ba5d050aff079a2112b758f877bc25084253fbd233fa8ef6943f4f" - sha256 cellar: :any_skip_relocation, sonoma: "91c54d885a31b0bb023055a4d4b4adc2952d4f6be169a46daf43bf8b25fa859f" - sha256 cellar: :any_skip_relocation, ventura: "4cc11e565ab57dbab9ccd14c182630801edaceb76ed5978f516600f9cdc67e52" - sha256 cellar: :any_skip_relocation, monterey: "490accb892eaf2e620adc6a24255e6f6625d33e93485512eebb9fddd01f3b84e" - sha256 cellar: :any_skip_relocation, x86_64_linux: "85a81586265d8353a4259e5d53a74cbd7a9b458f063fa08da3fc53cb64eb1b80" + sha256 cellar: :any_skip_relocation, arm64_sequoia: "77747ab95dedda135b9cc87d91b863836a580be3848b770c03a9571ff53a1a3b" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "77747ab95dedda135b9cc87d91b863836a580be3848b770c03a9571ff53a1a3b" + sha256 cellar: :any_skip_relocation, arm64_ventura: "77747ab95dedda135b9cc87d91b863836a580be3848b770c03a9571ff53a1a3b" + sha256 cellar: :any_skip_relocation, sonoma: "6b73cb7980abab946ead28712e22fa0abeb0202302c49c648003d05250cd4cac" + sha256 cellar: :any_skip_relocation, ventura: "6b73cb7980abab946ead28712e22fa0abeb0202302c49c648003d05250cd4cac" + sha256 cellar: :any_skip_relocation, x86_64_linux: "4708d40444135cb960d9c83cd95d48681d9cd660574b1842d7b59c1459c048de" end depends_on "go" => :build