From 7a0b1e05612a4e9c7733b8df905a79ec973922e4 Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Mon, 23 Dec 2024 15:52:36 +0100 Subject: [PATCH] Add Postgres 17 to default versions --- Formula/h3-pg.rb | 2 +- Formula/hypopg.rb | 2 +- Formula/ip4r.rb | 2 +- Formula/neon-extension.rb | 2 +- Formula/neon-postgres.rb | 6 +++--- Formula/pg_cron.rb | 2 +- Formula/pg_graphql.rb | 2 +- Formula/pg_hashids.rb | 2 +- Formula/pg_jsonschema.rb | 2 +- Formula/pg_tiktoken.rb | 2 +- Formula/pgjwt.rb | 2 +- Formula/pgtap.rb | 2 +- Formula/pgvector.rb | 2 +- Formula/plpgsql_check.rb | 2 +- Formula/plv8.rb | 2 +- Formula/postgresql-hll.rb | 2 +- Formula/postgresql-unit.rb | 2 +- Formula/prefix.rb | 2 +- Formula/rum.rb | 2 +- Formula/timescaledb.rb | 2 +- 20 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Formula/h3-pg.rb b/Formula/h3-pg.rb index 0fa4bdf..556d325 100644 --- a/Formula/h3-pg.rb +++ b/Formula/h3-pg.rb @@ -29,7 +29,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/hypopg.rb b/Formula/hypopg.rb index 827cb04..9d80019 100644 --- a/Formula/hypopg.rb +++ b/Formula/hypopg.rb @@ -26,7 +26,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/ip4r.rb b/Formula/ip4r.rb index 027931b..cdcbfac 100644 --- a/Formula/ip4r.rb +++ b/Formula/ip4r.rb @@ -21,7 +21,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/neon-extension.rb b/Formula/neon-extension.rb index 6b85b8e..e06b7ee 100644 --- a/Formula/neon-extension.rb +++ b/Formula/neon-extension.rb @@ -32,7 +32,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/neon-postgres.rb b/Formula/neon-postgres.rb index a06b709..36373e4 100644 --- a/Formula/neon-postgres.rb +++ b/Formula/neon-postgres.rb @@ -40,7 +40,7 @@ class NeonPostgres < Formula end def pg_versions(with: nil, without: nil) - versions = Set.new(%w[v14 v15 v16]) + versions = Set.new(%w[v14 v15 v16 v17]) versions.merge(Array(with)) versions.subtract(Array(without)) versions.to_a.sort @@ -63,7 +63,7 @@ def install ENV["XML_CATALOG_FILES"] = etc/"xml/catalog" deps = %w[openssl@3 readline] - pg_versions(with: "v17").each do |v| + pg_versions.each do |v| cd "vendor/postgres-#{v}" do args = %W[ --prefix=#{libexec}/#{v} @@ -108,7 +108,7 @@ def install end test do - pg_versions(with: "v17").each do |v| + pg_versions.each do |v| system "#{pg_bin_for(v)}/initdb", testpath/"test-#{v}" pg_config = pg_bin_for(v)/"pg_config" diff --git a/Formula/pg_cron.rb b/Formula/pg_cron.rb index fe05735..e6c0e5b 100644 --- a/Formula/pg_cron.rb +++ b/Formula/pg_cron.rb @@ -20,7 +20,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/pg_graphql.rb b/Formula/pg_graphql.rb index d7749ba..784f3e7 100644 --- a/Formula/pg_graphql.rb +++ b/Formula/pg_graphql.rb @@ -29,7 +29,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/pg_hashids.rb b/Formula/pg_hashids.rb index c5e90b2..cdb25ce 100644 --- a/Formula/pg_hashids.rb +++ b/Formula/pg_hashids.rb @@ -21,7 +21,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/pg_jsonschema.rb b/Formula/pg_jsonschema.rb index 035366b..8506ed4 100644 --- a/Formula/pg_jsonschema.rb +++ b/Formula/pg_jsonschema.rb @@ -29,7 +29,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/pg_tiktoken.rb b/Formula/pg_tiktoken.rb index f1c6485..886c1f7 100644 --- a/Formula/pg_tiktoken.rb +++ b/Formula/pg_tiktoken.rb @@ -29,7 +29,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/pgjwt.rb b/Formula/pgjwt.rb index 3af4ac8..1deeed1 100644 --- a/Formula/pgjwt.rb +++ b/Formula/pgjwt.rb @@ -22,7 +22,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/pgtap.rb b/Formula/pgtap.rb index fe59c2f..ab91c6a 100644 --- a/Formula/pgtap.rb +++ b/Formula/pgtap.rb @@ -21,7 +21,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/pgvector.rb b/Formula/pgvector.rb index 34be6d8..0a7d9f6 100644 --- a/Formula/pgvector.rb +++ b/Formula/pgvector.rb @@ -22,7 +22,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/plpgsql_check.rb b/Formula/plpgsql_check.rb index 0e0dfbf..de14e97 100644 --- a/Formula/plpgsql_check.rb +++ b/Formula/plpgsql_check.rb @@ -20,7 +20,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/plv8.rb b/Formula/plv8.rb index 215a1e5..0d8a211 100644 --- a/Formula/plv8.rb +++ b/Formula/plv8.rb @@ -23,7 +23,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/postgresql-hll.rb b/Formula/postgresql-hll.rb index c77a7e4..5078038 100644 --- a/Formula/postgresql-hll.rb +++ b/Formula/postgresql-hll.rb @@ -21,7 +21,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/postgresql-unit.rb b/Formula/postgresql-unit.rb index fc1734f..7df6bb1 100644 --- a/Formula/postgresql-unit.rb +++ b/Formula/postgresql-unit.rb @@ -20,7 +20,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/prefix.rb b/Formula/prefix.rb index 212e0b5..8548e24 100644 --- a/Formula/prefix.rb +++ b/Formula/prefix.rb @@ -26,7 +26,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/rum.rb b/Formula/rum.rb index ce7a36b..b8afc9e 100644 --- a/Formula/rum.rb +++ b/Formula/rum.rb @@ -20,7 +20,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install diff --git a/Formula/timescaledb.rb b/Formula/timescaledb.rb index 50822f3..fb49d16 100644 --- a/Formula/timescaledb.rb +++ b/Formula/timescaledb.rb @@ -21,7 +21,7 @@ def neon_postgres end def pg_versions - neon_postgres.pg_versions(with: "v17") + neon_postgres.pg_versions end def install