Skip to content

Commit

Permalink
Merge pull request #5 from jayjun/fix
Browse files Browse the repository at this point in the history
Support Ecto 3.2.0
  • Loading branch information
markusfeyh authored Mar 11, 2021
2 parents 63aa134 + 8eefeac commit d6ec30b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions lib/ecto/ulid.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d6ec30b

Please sign in to comment.