diff --git a/lib/posexional/row.ex b/lib/posexional/row.ex index 7c1410f..c322499 100644 --- a/lib/posexional/row.ex +++ b/lib/posexional/row.ex @@ -122,7 +122,7 @@ defmodule Posexional.Row do field_content = String.slice(content, 0, FieldSize.size(field)) {list ++ [{FieldName.name(field), FieldRead.read(field, field_content)}], - String.slice(content, (FieldSize.size(field) + String.length(separator))..-1)} + String.slice(content, (FieldSize.size(field) + String.length(separator))..-1//1)} end) |> elem(0) |> Enum.filter(fn {k, _} -> k not in [:empty_field] end) diff --git a/mix.exs b/mix.exs index cd5c68b..d128aa6 100644 --- a/mix.exs +++ b/mix.exs @@ -2,7 +2,7 @@ defmodule Posexional.Mixfile do use Mix.Project @source_url "https://github.com/primait/posexional" - @version "1.1.0-rc.0" + @version "1.1.1" def project do [ @@ -29,7 +29,9 @@ defmodule Posexional.Mixfile do defp elixirc_paths(_), do: ["lib"] def application do - [applications: [:logger], extra_applications: [:timex]] + [ + extra_applications: [:logger, :timex] + ] end defp package do