Permalink
Browse files

Update Elixir API and a few warnings that weren't previously revealed

  • Loading branch information...
1 parent 232489e commit 40ed95664430799abbf3bd739b05c7b69c904d29 @yrashk committed Nov 22, 2012
Showing with 17 additions and 17 deletions.
  1. +1 −1 lib/package.ex
  2. +1 −1 lib/server.ex
  3. +15 −15 mix.lock
View
@@ -97,7 +97,7 @@ defrecord Expm.Package,
end
end
pkgs = lc {_, pkg} inlist pkgs, do: pkg
- pkgs = List.sort pkgs, fn(pkg1, pkg2) -> pkg1.name <= pkg2.name end
+ List.sort pkgs, fn(pkg1, pkg2) -> pkg1.name <= pkg2.name end
end
def all(repo) do
View
@@ -77,7 +77,7 @@ defmodule Expm.Server.Http do
defp page_assigns(req, _state) do
{host, req} = Req.host(req)
{port, req} = Req.port(req)
- {path, req} = Req.path(req)
+ {path, _req} = Req.path(req)
motd_file = File.join [File.dirname(__FILE__), "..", "priv", "motd"]
if File.exists?(motd_file) and path == "/" do
{:ok, motd} = File.read(motd_file)
View
@@ -1,15 +1,15 @@
-[ "bcrypt": "1f1b4114f8b96184d2fb860e7d3121aed341c3b4",
- "cowboy": "0b82eebed654bd894802acb52697a4d4187cb228",
- "edown": "35f8296a25d14c5c1e3209399a2c1856700d9d5b",
- "erlpass": "9df3643db39b5acad44643ddbcabb090437c8519",
- "exconfig": "c6401a041bac19f53d0afd1f839e19347eded209",
- "exreloader": "82e1bd157b75ed4a362f128d9d24646f36a586ba",
- "genx": "da972d408887c137a538430f0f5b65c1ff2bbf69",
- "hackney": "896fc24e8efb4a5a6966cae13e749ab7cf1f73e2",
- "lager": "9981ca0b4d7a57a421f7a6bba71e2087c0d614ed",
- "lagerex": "4152858bfb058b9e2fc91cd7df9270ecb621a019",
- "mimetypes": "e9dfab5aec98963589ecf13bdfcf0490667a730d",
- "proper": "8f09ee5252f595f32f9a8fd45b8e530b1a3fdfeb",
- "ranch": "cd099983b1b807b87fa050d1e4ff0a13aba25b49",
- "relex": "7ba055fb43c9df6ec1f84ef9b933ca5bba7ba59b",
- "validatex": "f6e1d934647388f297132edcf80bcf7036b5eb09" ]
+[ "bcrypt": {:git,"https://github.com/spawngrid/erlang-bcrypt.git","1f1b4114f8b96184d2fb860e7d3121aed341c3b4",[]},
+ "cowboy": {:git,"https://github.com/extend/cowboy.git","0b82eebed654bd894802acb52697a4d4187cb228",[]},
+ "edown": {:git,"https://github.com/esl/edown.git","35f8296a25d14c5c1e3209399a2c1856700d9d5b",[]},
+ "erlpass": {:git,"https://github.com/ferd/erlpass.git","9df3643db39b5acad44643ddbcabb090437c8519",[]},
+ "exconfig": {:git,"https://github.com/yrashk/exconfig.git","c6401a041bac19f53d0afd1f839e19347eded209",[]},
+ "exreloader": {:git,"https://github.com/yrashk/exreloader.git","82e1bd157b75ed4a362f128d9d24646f36a586ba",[]},
+ "genx": {:git,"https://github.com/yrashk/genx.git","da972d408887c137a538430f0f5b65c1ff2bbf69",[]},
+ "hackney": {:git,"https://github.com/benoitc/hackney.git","896fc24e8efb4a5a6966cae13e749ab7cf1f73e2",[]},
+ "lager": {:git,"https://github.com/basho/lager","9981ca0b4d7a57a421f7a6bba71e2087c0d614ed",[]},
+ "lagerex": {:git,"https://github.com/yrashk/lagerex.git","4152858bfb058b9e2fc91cd7df9270ecb621a019",[]},
+ "mimetypes": {:git,"https://github.com/spawngrid/mimetypes.git","e9dfab5aec98963589ecf13bdfcf0490667a730d",[]},
+ "proper": {:git,"https://github.com/manopapad/proper.git","8f09ee5252f595f32f9a8fd45b8e530b1a3fdfeb",[]},
+ "ranch": {:git,"https://github.com/extend/ranch.git","cd099983b1b807b87fa050d1e4ff0a13aba25b49",[]},
+ "relex": {:git,"https://github.com/yrashk/relex.git","a1b36d67eb163e30194dcaee2604684fd729563d",[]},
+ "validatex": {:git,"https://github.com/yrashk/validatex.git","f6e1d934647388f297132edcf80bcf7036b5eb09",[]} ]

0 comments on commit 40ed956

Please sign in to comment.