Permalink
Browse files

Merge branch 'fix-elixir-0.12.4-deprecation-warning' of github.com:my…

…ers/relex into myers-fix-elixir-0.12.4-deprecation-warning

Conflicts:
	lib/release.ex
  • Loading branch information...
2 parents b59dab5 + 9f9fcd7 commit 28629f0cee1ef881bdd4ecad26a1ed4a31ef912f @yrashk committed Feb 25, 2014
Showing with 5 additions and 5 deletions.
  1. +4 −4 lib/release.ex
  2. +1 −1 mix.exs
View
@@ -54,10 +54,10 @@ defmodule Relex.Release do
def name(config), do: config[:release_name]
"""
- def write_script!(apps, opts // []), do: write_script!(__MODULE__, apps, opts)
- def bundle!(kind, opts // []), do: bundle!(kind, __MODULE__, opts)
+ def write_script!(apps, opts \\ []), do: write_script!(__MODULE__, apps, opts)
+ def bundle!(kind, opts \\ []), do: bundle!(kind, __MODULE__, opts)
def write_start_clean!(opts), do: write_start_clean!(__MODULE__, opts)
- def make_default_release(name // nil, opts), do: make_default_release(__MODULE__, name, opts)
+ def make_default_release(name \\ nil, opts), do: make_default_release(__MODULE__, name, opts)
@doc """
Assembles a release.
@@ -66,7 +66,7 @@ defmodule Relex.Release do
* path: path where the repository will be created, by default File.cwd!
"""
- def assemble!(opts // []) do
+ def assemble!(opts \\ []) do
:ets.new(Relex.App, [:public, :named_table, :ordered_set])
apps = bundle!(:applications, opts)
write_script!(apps, opts)
View
@@ -4,7 +4,7 @@ defmodule Relex.Mixfile do
def project do
[ app: :relex,
version: "0.0.1",
- elixir: ">= 0.9.4-dev",
+ elixir: ">= 0.12.4",
deps: deps ]
end

0 comments on commit 28629f0

Please sign in to comment.