From 3ad3f5f5d6052433746691ccee501ab30823acaf Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Wed, 27 Mar 2024 17:03:16 -0400 Subject: [PATCH] chore: update ash, resources and an error message --- lib/verifiers/verify_postgres_version.ex | 2 +- mix.exs | 2 +- mix.lock | 2 +- test/support/resources/post.ex | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/verifiers/verify_postgres_version.ex b/lib/verifiers/verify_postgres_version.ex index 0c7bad9..4b36dc8 100644 --- a/lib/verifiers/verify_postgres_version.ex +++ b/lib/verifiers/verify_postgres_version.ex @@ -14,7 +14,7 @@ defmodule AshPostgres.Verifiers.VerifyPostgresVersion do if Version.match?(read_version, ">= 14.0.0") && Version.match?(mutation_version, ">= 14.0.0") do :ok else - {:error, "AshPostgres now only supports versions >= 14.0."} + {:error, "AshPostgres only supports postgres versions >= 14.0."} end end diff --git a/mix.exs b/mix.exs index 7df3a32..d40895d 100644 --- a/mix.exs +++ b/mix.exs @@ -159,7 +159,7 @@ defmodule AshPostgres.MixProject do {:spark, path: "../spark", override: true}, # dev/test dependencies {:simple_sat, "~> 0.1"}, - {:ash, ash_version(github: "ash-project/ash", branch: "3.0")}, + {:ash, ash_version("~> 3.0.0-rc.0")}, {:benchee, "~> 1.1", only: [:dev, :test]}, {:git_ops, "~> 2.5", only: [:dev, :test]}, {:ex_doc, github: "elixir-lang/ex_doc", only: [:dev, :test], runtime: false}, diff --git a/mix.lock b/mix.lock index da3f1f0..64f3342 100644 --- a/mix.lock +++ b/mix.lock @@ -1,5 +1,5 @@ %{ - "ash": {:git, "https://github.com/ash-project/ash.git", "37587cbc580c30248044eea01d461f578df6cbc4", [branch: "3.0"]}, + "ash": {:hex, :ash, "3.0.0-rc.0", "5acbfff801258624320dad950b07ea20ac6d8fe06a197d96c806d0bc5567c1b1", [:mix], [{:comparable, "~> 1.0", [hex: :comparable, repo: "hexpm", optional: false]}, {:decimal, "~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:ecto, "~> 3.7", [hex: :ecto, repo: "hexpm", optional: false]}, {:ets, "~> 0.8", [hex: :ets, repo: "hexpm", optional: false]}, {:jason, ">= 1.0.0", [hex: :jason, repo: "hexpm", optional: false]}, {:picosat_elixir, "~> 0.2", [hex: :picosat_elixir, repo: "hexpm", optional: true]}, {:plug, ">= 0.0.0", [hex: :plug, repo: "hexpm", optional: true]}, {:reactor, "~> 0.8", [hex: :reactor, repo: "hexpm", optional: false]}, {:simple_sat, ">= 0.1.1 and < 1.0.0-0", [hex: :simple_sat, repo: "hexpm", optional: true]}, {:spark, ">= 2.1.7 and < 3.0.0-0", [hex: :spark, repo: "hexpm", optional: false]}, {:splode, "~> 0.2", [hex: :splode, repo: "hexpm", optional: false]}, {:stream_data, "~> 0.6", [hex: :stream_data, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.1", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "e0ff1ba71b7096480da0a1472b95de7b73b88971eeb78a20779ed2bbba532df8"}, "benchee": {:hex, :benchee, "1.3.0", "f64e3b64ad3563fa9838146ddefb2d2f94cf5b473bdfd63f5ca4d0657bf96694", [:mix], [{:deep_merge, "~> 1.0", [hex: :deep_merge, repo: "hexpm", optional: false]}, {:statistex, "~> 1.0", [hex: :statistex, repo: "hexpm", optional: false]}, {:table, "~> 0.1.0", [hex: :table, repo: "hexpm", optional: true]}], "hexpm", "34f4294068c11b2bd2ebf2c59aac9c7da26ffa0068afdf3419f1b176e16c5f81"}, "bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"}, "comparable": {:hex, :comparable, "1.0.0", "bb669e91cedd14ae9937053e5bcbc3c52bb2f22422611f43b6e38367d94a495f", [:mix], [{:typable, "~> 0.1", [hex: :typable, repo: "hexpm", optional: false]}], "hexpm", "277c11eeb1cd726e7cd41c6c199e7e52fa16ee6830b45ad4cdc62e51f62eb60c"}, diff --git a/test/support/resources/post.ex b/test/support/resources/post.ex index 6c21a51..371f849 100644 --- a/test/support/resources/post.ex +++ b/test/support/resources/post.ex @@ -175,7 +175,6 @@ defmodule AshPostgres.Test.Post do define(:get_by_id, action: :read, get_by: [:id]) define(:increment_score, args: [{:optional, :amount}]) define(:destroy) - define(:bulk_create, bulk?: true, action: :create) end relationships do