From 44ef5949d7a28a5278e3928494431dbbc4bc638a Mon Sep 17 00:00:00 2001 From: Moritz Schmale Date: Thu, 17 Jun 2021 12:04:00 +0200 Subject: [PATCH] v0.9 --- README.md | 2 +- lib/repo/repo.ex | 5 ----- mix.exs | 6 +++--- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 2238fa6..92afd27 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Add ex_audit to your list of dependencies: ```elixir def deps do [ - {:ex_audit, "~> 0.7"} + {:ex_audit, "~> 0.9"} ] end ``` diff --git a/lib/repo/repo.ex b/lib/repo/repo.ex index fd34254..d9a6d0e 100644 --- a/lib/repo/repo.ex +++ b/lib/repo/repo.ex @@ -203,11 +203,6 @@ defmodule ExAudit.Repo do defoverridable(child_spec: 1) - def checked_out? do - {adapter, meta} = Ecto.Repo.Registry.lookup(get_dynamic_repo()) - adapter.checked_out?(meta) - end - # additional functions def history(struct, opts \\ []) do diff --git a/mix.exs b/mix.exs index 95ff050..1a14527 100644 --- a/mix.exs +++ b/mix.exs @@ -5,7 +5,7 @@ defmodule ExAudit.Mixfile do [ description: "Ecto auditing library that transparently tracks changes and can revert them", app: :ex_audit, - version: "0.8.0", + version: "0.9.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps(), @@ -49,8 +49,8 @@ defmodule ExAudit.Mixfile do # Run "mix help deps" to learn about dependencies. defp deps do [ - {:ecto, "~> 3.6"}, - {:ecto_sql, "~> 3.6"}, + {:ecto, ">= 3.6"}, + {:ecto_sql, ">= 3.6"}, {:postgrex, "~> 0.15", only: :test}, {:excoveralls, "~> 0.7", only: :test}, {:ex_doc, ">= 0.0.0", runtime: false, only: :dev},