Skip to content

Commit d6ec30b

Browse files
authored
Merge pull request #5 from jayjun/fix
Support Ecto 3.2.0
2 parents 63aa134 + 8eefeac commit d6ec30b

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.travis.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,20 @@ cache:
55
- _build
66
matrix:
77
include:
8-
- elixir: 1.8.0
9-
otp_release: 21.2
8+
- elixir: 1.11.2
9+
otp_release: 23.0
10+
env: MIX_EXS=ci/mix-ecto-3.0.exs
11+
- elixir: 1.10.4
12+
otp_release: 22.3
13+
env: MIX_EXS=ci/mix-ecto-3.0.exs
14+
- elixir: 1.9.4
15+
otp_release: 22.3
16+
env: MIX_EXS=ci/mix-ecto-3.0.exs
17+
- elixir: 1.8.2
18+
otp_release: 22.3
1019
env: MIX_EXS=ci/mix-ecto-3.0.exs
1120
- elixir: 1.7.4
12-
otp_release: 21.0
21+
otp_release: 22.3
1322
env: MIX_EXS=ci/mix-ecto-3.0.exs
1423
- elixir: 1.6.6
1524
otp_release: 20.3

lib/ecto/ulid.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ defmodule Ecto.ULID do
33
An Ecto type for ULID strings.
44
"""
55

6+
# replace with `use Ecto.Type` after Ecto 3.2.0 is required
67
@behaviour Ecto.Type
8+
# and remove both of these functions
9+
def embed_as(_), do: :self
10+
def equal?(term1, term2), do: term1 == term2
711

812
@doc """
913
The underlying schema type.

0 commit comments

Comments
 (0)