diff --git a/README.md b/README.md index c55d016..3c5cb16 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add `tongue` to your list of dependencies in `mix.exs`: ```elixir def deps do - [{:tongue, "~> 2.0"}] + [{:tongue, "~> 2.2"}] end ``` diff --git a/lib/mix/tasks/tongue/prebuild.ex b/lib/mix/tasks/tongue/prebuild.ex index 78d1557..6a389e3 100644 --- a/lib/mix/tasks/tongue/prebuild.ex +++ b/lib/mix/tasks/tongue/prebuild.ex @@ -30,7 +30,7 @@ defmodule Mix.Tasks.Tongue.Prebuild do end end) |> Enum.reject(&is_nil/1) - |> :erlang.term_to_binary() + |> :erlang.term_to_binary([:compressed]) ) end @@ -49,7 +49,7 @@ defmodule Mix.Tasks.Tongue.Prebuild do |> String.to_charlist() } end) - |> :erlang.term_to_binary() + |> :erlang.term_to_binary([:compressed]) ) end @@ -91,7 +91,7 @@ defmodule Mix.Tasks.Tongue.Prebuild do languages: languages, ngrams_frequencies: ngrams_frequencies } - |> :erlang.term_to_binary() + |> :erlang.term_to_binary([:compressed]) ) end end diff --git a/mix.exs b/mix.exs index d0ada22..b916375 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule Tongue.MixProject do def project do [ app: :tongue, - version: "2.1.0", + version: "2.2.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), diff --git a/priv/messages.binary b/priv/messages.binary index ee033b7..d3cd61c 100644 Binary files a/priv/messages.binary and b/priv/messages.binary differ diff --git a/priv/profiles.binary b/priv/profiles.binary index 6edadc1..6336b96 100644 Binary files a/priv/profiles.binary and b/priv/profiles.binary differ diff --git a/priv/unicode_blocks.binary b/priv/unicode_blocks.binary index bd21e04..9cf6625 100644 Binary files a/priv/unicode_blocks.binary and b/priv/unicode_blocks.binary differ