{"action":"closed","issue":{"url":"https://api.github.com/repos/harrim91/rails_cleaner/issues/15","repository_url":"https://api.github.com/repos/harrim91/rails_cleaner","labels_url":"https://api.github.com/repos/harrim91/rails_cleaner/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/harrim91/rails_cleaner/issues/15/comments","events_url":"https://api.github.com/repos/harrim91/rails_cleaner/issues/15/events","html_url":"https://github.com/harrim91/rails_cleaner/issues/15","id":159585372,"number":15,"title":"refactor control flow into executables","user":{"login":"harrim91","id":16052319,"avatar_url":"https://avatars.githubusercontent.com/u/16052319?v=3","gravatar_id":"","url":"https://api.github.com/users/harrim91","html_url":"https://github.com/harrim91","followers_url":"https://api.github.com/users/harrim91/followers","following_url":"https://api.github.com/users/harrim91/following{/other_user}","gists_url":"https://api.github.com/users/harrim91/gists{/gist_id}","starred_url":"https://api.github.com/users/harrim91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrim91/subscriptions","organizations_url":"https://api.github.com/users/harrim91/orgs","repos_url":"https://api.github.com/users/harrim91/repos","events_url":"https://api.github.com/users/harrim91/events{/privacy}","received_events_url":"https://api.github.com/users/harrim91/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/harrim91/rails_cleaner/labels/code%20review","name":"code review","color":"b366ff"}],"state":"closed","locked":false,"assignee":{"login":"harrim91","id":16052319,"avatar_url":"https://avatars.githubusercontent.com/u/16052319?v=3","gravatar_id":"","url":"https://api.github.com/users/harrim91","html_url":"https://github.com/harrim91","followers_url":"https://api.github.com/users/harrim91/followers","following_url":"https://api.github.com/users/harrim91/following{/other_user}","gists_url":"https://api.github.com/users/harrim91/gists{/gist_id}","starred_url":"https://api.github.com/users/harrim91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrim91/subscriptions","organizations_url":"https://api.github.com/users/harrim91/orgs","repos_url":"https://api.github.com/users/harrim91/repos","events_url":"https://api.github.com/users/harrim91/events{/privacy}","received_events_url":"https://api.github.com/users/harrim91/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-06-10T08:35:33Z","updated_at":"2016-06-10T11:49:22Z","closed_at":"2016-06-10T11:49:22Z","body":"Currently all of the work is done by the methods in the module. I think this could/should be done in the executables so we can get closer to the OOP principles that we hold so dearly.\r\n\r\n- Turn the RailsCleaner module into a class\r\n- In each executable, start by initializing a new instance of RailsCleaner\r\n- Use instance methods in the class to do stuff like reading, writing and deleting files.\r\n- Use instance variables on the class to store stuff like arrays of filenames\r\n- Make the executables responsible for controlling the flow of each command and for stuff like puts-ing to the command line"}}
{"actor":{"display_login":"jackhardy1"}}