{"action":"created","issue":{"url":"https://api.github.com/repos/slogsdon/placid/issues/12","labels_url":"https://api.github.com/repos/slogsdon/placid/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/slogsdon/placid/issues/12/comments","events_url":"https://api.github.com/repos/slogsdon/placid/issues/12/events","html_url":"https://github.com/slogsdon/placid/pull/12","id":60593526,"number":12,"title":"Updating http-router version due to compile error","user":{"login":"diogobeda","id":1817719,"avatar_url":"https://avatars.githubusercontent.com/u/1817719?v=3","gravatar_id":"","url":"https://api.github.com/users/diogobeda","html_url":"https://github.com/diogobeda","followers_url":"https://api.github.com/users/diogobeda/followers","following_url":"https://api.github.com/users/diogobeda/following{/other_user}","gists_url":"https://api.github.com/users/diogobeda/gists{/gist_id}","starred_url":"https://api.github.com/users/diogobeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diogobeda/subscriptions","organizations_url":"https://api.github.com/users/diogobeda/orgs","repos_url":"https://api.github.com/users/diogobeda/repos","events_url":"https://api.github.com/users/diogobeda/events{/privacy}","received_events_url":"https://api.github.com/users/diogobeda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-11T00:48:47Z","updated_at":"2015-03-11T00:51:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/slogsdon/placid/pulls/12","html_url":"https://github.com/slogsdon/placid/pull/12","diff_url":"https://github.com/slogsdon/placid/pull/12.diff","patch_url":"https://github.com/slogsdon/placid/pull/12.patch"},"body":"I was trying to use `placid` for the first time based on the kitchen-sink example, but I stumbled on an error when running `mix compile`:\r\n```\r\nCompiled lib/handlers/v1/main.ex\r\n\r\n== Compilation error on file lib/router.ex ==\r\n** (CompileError) lib/router.ex:1: function send_resp/3 undefined\r\n    (stdlib) lists.erl:1336: :lists.foreach/2\r\n    (stdlib) erl_eval.erl:657: :erl_eval.do_apply/6\r\n```\r\n\r\nMy router:\r\n```elixir\r\ndefmodule Kiwi.Router do\r\n  use Placid.Router\r\n  alias Kiwi.Handlers.V1\r\n\r\n  version \"v1\" do\r\n    get \"/\", V1.Main, :index\r\n  end\r\nend\r\n```\r\nAfter some investigation I found that the latest `placid` version uses the `http-router#0.0.3`, that calls that undefined `send_resp/3`. Than when I updated to `http-router#0.0.4` and ran my project it compiled just fine."},"comment":{"url":"https://api.github.com/repos/slogsdon/placid/issues/comments/78180302","html_url":"https://github.com/slogsdon/placid/pull/12#issuecomment-78180302","issue_url":"https://api.github.com/repos/slogsdon/placid/issues/12","id":78180302,"user":{"login":"diogobeda","id":1817719,"avatar_url":"https://avatars.githubusercontent.com/u/1817719?v=3","gravatar_id":"","url":"https://api.github.com/users/diogobeda","html_url":"https://github.com/diogobeda","followers_url":"https://api.github.com/users/diogobeda/followers","following_url":"https://api.github.com/users/diogobeda/following{/other_user}","gists_url":"https://api.github.com/users/diogobeda/gists{/gist_id}","starred_url":"https://api.github.com/users/diogobeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diogobeda/subscriptions","organizations_url":"https://api.github.com/users/diogobeda/orgs","repos_url":"https://api.github.com/users/diogobeda/repos","events_url":"https://api.github.com/users/diogobeda/events{/privacy}","received_events_url":"https://api.github.com/users/diogobeda/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T00:51:26Z","updated_at":"2015-03-11T00:51:26Z","body":"@slogsdon I tried to run tests with `placid` and `http-router#0.0.3` but it passed ok. I'm an Elixir beginner so I couldn't understand pretty much why they did. Could you try to explain it to me, please?"}}