{"action":"created","issue":{"url":"https://api.github.com/repos/hanami/hanami/issues/566","repository_url":"https://api.github.com/repos/hanami/hanami","labels_url":"https://api.github.com/repos/hanami/hanami/issues/566/labels{/name}","comments_url":"https://api.github.com/repos/hanami/hanami/issues/566/comments","events_url":"https://api.github.com/repos/hanami/hanami/issues/566/events","html_url":"https://github.com/hanami/hanami/pull/566","id":152909653,"number":566,"title":"Require gems in bin/hanami file","user":{"login":"davydovanton","id":1147484,"avatar_url":"https://avatars.githubusercontent.com/u/1147484?v=3","gravatar_id":"","url":"https://api.github.com/users/davydovanton","html_url":"https://github.com/davydovanton","followers_url":"https://api.github.com/users/davydovanton/followers","following_url":"https://api.github.com/users/davydovanton/following{/other_user}","gists_url":"https://api.github.com/users/davydovanton/gists{/gist_id}","starred_url":"https://api.github.com/users/davydovanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davydovanton/subscriptions","organizations_url":"https://api.github.com/users/davydovanton/orgs","repos_url":"https://api.github.com/users/davydovanton/repos","events_url":"https://api.github.com/users/davydovanton/events{/privacy}","received_events_url":"https://api.github.com/users/davydovanton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-04T01:17:12Z","updated_at":"2016-05-04T11:30:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hanami/hanami/pulls/566","html_url":"https://github.com/hanami/hanami/pull/566","diff_url":"https://github.com/hanami/hanami/pull/566.diff","patch_url":"https://github.com/hanami/hanami/pull/566.patch"},"body":"## Why this patch is important?\r\nNow I working on integration the [rodauth][rodauth] gem and hanami application. And [I'm creating gem][gem] wrapper for this. On this gem I want to call custom `auth` generator like this:\r\n\r\n```\r\n$ bundle exec hanami generate auth\r\n```\r\n\r\nFor this I need to require my gem to `bin/hanami` file. And with this patch I'll be have a simple way to creating custom actions or generators.\r\n\r\nFor example, if you call `hanami g` with my gem you see this output:\r\n\r\n![screenshot 2016-05-04 04 01 07](https://cloud.githubusercontent.com/assets/1147484/15002899/44449dce-11b7-11e6-9ea0-190aa3462dfa.jpg)\r\n\r\n\r\n/cc @hanami/contributors and @hanami/core-team \r\n\r\n[gem]: https://github.com/davydovanton/hanami-rodauth\r\n[rodauth]: http://rodauth.jeremyevans.net\r\n"},"comment":{"url":"https://api.github.com/repos/hanami/hanami/issues/comments/216833914","html_url":"https://github.com/hanami/hanami/pull/566#issuecomment-216833914","issue_url":"https://api.github.com/repos/hanami/hanami/issues/566","id":216833914,"user":{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T11:30:59Z","updated_at":"2016-05-04T11:30:59Z","body":"@davydovanton Does the last change at https://github.com/hanami/hanami/pull/566/commits/9a8db0445fec53046c2b65e96987569a2bf1c005 work for your app?"}}