{"action":"created","issue":{"url":"https://api.github.com/repos/lotus/lotus/issues/357","labels_url":"https://api.github.com/repos/lotus/lotus/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/lotus/lotus/issues/357/comments","events_url":"https://api.github.com/repos/lotus/lotus/issues/357/events","html_url":"https://github.com/lotus/lotus/pull/357","id":109776438,"number":357,"title":"Add destroy command","user":{"login":"t4deu","id":1649955,"avatar_url":"https://avatars.githubusercontent.com/u/1649955?v=3","gravatar_id":"","url":"https://api.github.com/users/t4deu","html_url":"https://github.com/t4deu","followers_url":"https://api.github.com/users/t4deu/followers","following_url":"https://api.github.com/users/t4deu/following{/other_user}","gists_url":"https://api.github.com/users/t4deu/gists{/gist_id}","starred_url":"https://api.github.com/users/t4deu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t4deu/subscriptions","organizations_url":"https://api.github.com/users/t4deu/orgs","repos_url":"https://api.github.com/users/t4deu/repos","events_url":"https://api.github.com/users/t4deu/events{/privacy}","received_events_url":"https://api.github.com/users/t4deu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-05T11:21:19Z","updated_at":"2015-10-14T10:00:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lotus/lotus/pulls/357","html_url":"https://github.com/lotus/lotus/pull/357","diff_url":"https://github.com/lotus/lotus/pull/357.diff","patch_url":"https://github.com/lotus/lotus/pull/357.patch"},"body":"Add destroy command to allow remove generated files and settings from\r\naction, model, migrate and mailers generators.\r\n\r\nThe destroy is done by changing the behavior(Thor) of the generators\r\nbefore they started to generate.\r\n\r\nAlso refactor cli generators and tests:\r\n* Clean generators and tests.\r\n* Removes some duplicated code.\r\n* Applies `Generatable` role in generators to avoid code duplication and\r\nmake the code more consistent between generators.\r\n* Add more file assertions to be used in the tests."},"comment":{"url":"https://api.github.com/repos/lotus/lotus/issues/comments/147997555","html_url":"https://github.com/lotus/lotus/pull/357#issuecomment-147997555","issue_url":"https://api.github.com/repos/lotus/lotus/issues/357","id":147997555,"user":{"login":"joneslee85","id":135605,"avatar_url":"https://avatars.githubusercontent.com/u/135605?v=3","gravatar_id":"","url":"https://api.github.com/users/joneslee85","html_url":"https://github.com/joneslee85","followers_url":"https://api.github.com/users/joneslee85/followers","following_url":"https://api.github.com/users/joneslee85/following{/other_user}","gists_url":"https://api.github.com/users/joneslee85/gists{/gist_id}","starred_url":"https://api.github.com/users/joneslee85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joneslee85/subscriptions","organizations_url":"https://api.github.com/users/joneslee85/orgs","repos_url":"https://api.github.com/users/joneslee85/repos","events_url":"https://api.github.com/users/joneslee85/events{/privacy}","received_events_url":"https://api.github.com/users/joneslee85/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T10:00:08Z","updated_at":"2015-10-14T10:00:08Z","body":"it's good to me"}}