From 82beb20069c5757a7987b3d3d184dc4f2e265089 Mon Sep 17 00:00:00 2001 From: Tan Jay Jun Date: Mon, 9 Sep 2019 12:21:02 +0800 Subject: [PATCH 1/2] Support Ecto 3.2.0 --- lib/ecto/ulid.ex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ecto/ulid.ex b/lib/ecto/ulid.ex index 42d2b07..4602a29 100644 --- a/lib/ecto/ulid.ex +++ b/lib/ecto/ulid.ex @@ -3,7 +3,11 @@ defmodule Ecto.ULID do An Ecto type for ULID strings. """ + # replace with `use Ecto.Type` after Ecto 3.2.0 is required @behaviour Ecto.Type + # and remove both of these functions + def embed_as(_), do: :self + def equal?(term1, term2), do: term1 == term2 @doc """ The underlying schema type. From 8eefeac38244bbd9b22b4194fb199c9c218caab9 Mon Sep 17 00:00:00 2001 From: Tan Jay Jun Date: Fri, 20 Nov 2020 21:01:08 +0800 Subject: [PATCH 2/2] Add Elixir 1.8, 1.9, 1.10 and 1.11 to CI --- .travis.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6457673..864e481 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,20 @@ cache: - _build matrix: include: - - elixir: 1.8.0 - otp_release: 21.2 + - elixir: 1.11.2 + otp_release: 23.0 + env: MIX_EXS=ci/mix-ecto-3.0.exs + - elixir: 1.10.4 + otp_release: 22.3 + env: MIX_EXS=ci/mix-ecto-3.0.exs + - elixir: 1.9.4 + otp_release: 22.3 + env: MIX_EXS=ci/mix-ecto-3.0.exs + - elixir: 1.8.2 + otp_release: 22.3 env: MIX_EXS=ci/mix-ecto-3.0.exs - elixir: 1.7.4 - otp_release: 21.0 + otp_release: 22.3 env: MIX_EXS=ci/mix-ecto-3.0.exs - elixir: 1.6.6 otp_release: 20.3