Skip to content

Commit

Permalink
relax Elixir version requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
sasa1977 committed Sep 8, 2015
1 parent 5931455 commit 05b6fb3
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion code_samples/ch07/persistable_todo_cache/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch07/todo/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps ]
end

Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch07/todo_cache/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps ]
end

Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch07/todo_cache_pooling/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch08/supervised_todo_cache/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch08/todo_links/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch09/dynamic_workers/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch09/pool_supervision/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch09/proper_registry_supervision/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch09/supervise_database/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch10/ets_registry/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch10/profile_cache/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule ProfileCache.Mixfile do
def project do
[app: :profile_cache,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps]
end

Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch11/gproc_todo_app/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch11/todo_app/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch11/todo_env/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch11/todo_web/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch11/todo_web_optimized/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch12/todo_distributed/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch13/todo_release/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/ch13/todo_runtime/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Todo.Mixfile do
def project do
[ app: :todo,
version: "0.0.1",
elixir: "~> 1.0.0",
elixir: "~> 1.0",
deps: deps
]
end
Expand Down
2 changes: 1 addition & 1 deletion code_samples/test_all.exs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule EIA.TestRunner do
defp check_elixir_version(project_root \\ ".") do
case System.cmd("elixir", ["-v"], cd: project_root, stderr_to_stdout: true) do
{elixir_version, 0} ->
if elixir_version =~ ~r/\AElixir 1\.0\.\d+/ do
if elixir_version =~ ~r/\AElixir 1\.\d\.\d+/ do
:ok
else
{:error, "Invalid Elixir version #{elixir_version}"}
Expand Down

0 comments on commit 05b6fb3

Please sign in to comment.