Test on 1.12.3-otp-23
This commit is contained in:
parent
b393033caf
commit
466fece8c2
3 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2.0.1
|
||||||
|
-----
|
||||||
|
|
||||||
|
* Changed ~R sigils to ~r to fix compile warning.
|
||||||
|
* Changed String.slice range to stepped to fix compile warning.
|
||||||
|
* Raised minimum supported Elixir version to 1.12.
|
||||||
|
|
||||||
2.0.0
|
2.0.0
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
|
@ -313,7 +313,7 @@ defmodule DotenvParser do
|
||||||
|
|
||||||
defp maybe_linefeed(%Continuation{start_quote: "\""}, input) do
|
defp maybe_linefeed(%Continuation{start_quote: "\""}, input) do
|
||||||
if String.ends_with?(input, "\\") do
|
if String.ends_with?(input, "\\") do
|
||||||
String.slice(input, 0..-2)
|
String.slice(input, 0..-2//1)
|
||||||
else
|
else
|
||||||
input <> "\n"
|
input <> "\n"
|
||||||
end
|
end
|
||||||
|
|
4
mix.exs
4
mix.exs
|
@ -4,8 +4,8 @@ defmodule DotenvParser.MixProject do
|
||||||
def project do
|
def project do
|
||||||
[
|
[
|
||||||
app: :dotenv_parser,
|
app: :dotenv_parser,
|
||||||
version: "2.0.0",
|
version: "2.0.1",
|
||||||
elixir: "~> 1.11",
|
elixir: "~> 1.12",
|
||||||
start_permanent: Mix.env() == :prod,
|
start_permanent: Mix.env() == :prod,
|
||||||
deps: deps(),
|
deps: deps(),
|
||||||
docs: [
|
docs: [
|
||||||
|
|
Loading…
Reference in a new issue