Commit bfba927a authored by Jens-Christian Fischer's avatar Jens-Christian Fischer
Browse files

Added forgotten type.ex file

parent 94a5be46
defmodule Grains.Type do
@nr_types 4
def select_type(uuid) do
{i, _} = Integer.parse(uuid, 16)
Integer.mod(i, @nr_types)
end
end
......@@ -3,7 +3,7 @@ defmodule Grains.Mixfile do
def project do
[app: :grains,
version: "0.0.63",
version: "0.0.64",
elixir: "~> 1.2",
elixirc_paths: elixirc_paths(Mix.env),
compilers: [:phoenix, :gettext] ++ Mix.compilers,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment