diff --git a/lib/ecto/postgres/pg_framerate.ex b/lib/ecto/postgres/pg_framerate.ex index 2a7b338..8174717 100644 --- a/lib/ecto/postgres/pg_framerate.ex +++ b/lib/ecto/postgres/pg_framerate.ex @@ -146,7 +146,7 @@ defpgmodule Vtc.Ecto.Postgres.PgFramerate do def cast(json) when is_map(json) do schema = %{ playback: PgRational, - ntsc: {:parameterized, Ecto.Enum, Ecto.Enum.init(values: [:drop, :non_drop])} + ntsc: Ecto.ParameterizedType.init(Ecto.Enum, values: [:drop, :non_drop]) } changeset = diff --git a/mix.exs b/mix.exs index f070546..ba710c3 100644 --- a/mix.exs +++ b/mix.exs @@ -7,7 +7,7 @@ defmodule Vtc.MixProject do def project do [ app: :vtc, - version: "0.2.0", + version: "0.17.5", description: "A SMPTE timecode library for Elixir", source_url: "https://github.com/opencinemac/vtc-ex", elixir: "~> 1.12", diff --git a/pip-freeze.txt b/pip-freeze.txt new file mode 100644 index 0000000..b349eba --- /dev/null +++ b/pip-freeze.txt @@ -0,0 +1,3 @@ +packaging==24.0 +toml==0.10.2 +-e git+https://github.com/opencinemac/vtc-ex@fe650b841a63a9845865482867a9ed199fc85eca#egg=UNKNOWN diff --git a/setup.cfg b/setup.cfg index fb4f8bd..11baf67 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,7 @@ [version] target = 0.17 -release = +release = 0.17.5 [testing] coverage_required = 1.0 +