Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

greenmask 0.2.0 #193379

Merged
merged 2 commits into from
Oct 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions Formula/g/greenmask.rb
Original file line number Diff line number Diff line change
@@ -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"

Expand All @@ -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
Expand All @@ -39,8 +37,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:
Expand Down Expand Up @@ -73,7 +71,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
Loading