{"action":"created","issue":{"url":"https://api.github.com/repos/samwho/todo-txt-gem/issues/37","repository_url":"https://api.github.com/repos/samwho/todo-txt-gem","labels_url":"https://api.github.com/repos/samwho/todo-txt-gem/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/samwho/todo-txt-gem/issues/37/comments","events_url":"https://api.github.com/repos/samwho/todo-txt-gem/issues/37/events","html_url":"https://github.com/samwho/todo-txt-gem/issues/37","id":187218058,"number":37,"title":"Clarify relationship between files and lists","user":{"login":"lorentrogers","id":1090824,"avatar_url":"https://avatars.githubusercontent.com/u/1090824?v=3","gravatar_id":"","url":"https://api.github.com/users/lorentrogers","html_url":"https://github.com/lorentrogers","followers_url":"https://api.github.com/users/lorentrogers/followers","following_url":"https://api.github.com/users/lorentrogers/following{/other_user}","gists_url":"https://api.github.com/users/lorentrogers/gists{/gist_id}","starred_url":"https://api.github.com/users/lorentrogers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorentrogers/subscriptions","organizations_url":"https://api.github.com/users/lorentrogers/orgs","repos_url":"https://api.github.com/users/lorentrogers/repos","events_url":"https://api.github.com/users/lorentrogers/events{/privacy}","received_events_url":"https://api.github.com/users/lorentrogers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-03T23:34:50Z","updated_at":"2016-11-03T23:47:49Z","closed_at":null,"body":"I really like that the file handling has been split out from the list object, but I'm a little confused about how the two relate to each other. \r\n\r\n`List` objects have a `#save!` method, which seems to use the default ruby `File` class, rather than the `Todo::File` one. (Unless I'm mistaken, which is possible.) With the current structure, would it make more sense to pass the `List` object to `Todo::File#write`?"},"comment":{"url":"https://api.github.com/repos/samwho/todo-txt-gem/issues/comments/258307815","html_url":"https://github.com/samwho/todo-txt-gem/issues/37#issuecomment-258307815","issue_url":"https://api.github.com/repos/samwho/todo-txt-gem/issues/37","id":258307815,"user":{"login":"lorentrogers","id":1090824,"avatar_url":"https://avatars.githubusercontent.com/u/1090824?v=3","gravatar_id":"","url":"https://api.github.com/users/lorentrogers","html_url":"https://github.com/lorentrogers","followers_url":"https://api.github.com/users/lorentrogers/followers","following_url":"https://api.github.com/users/lorentrogers/following{/other_user}","gists_url":"https://api.github.com/users/lorentrogers/gists{/gist_id}","starred_url":"https://api.github.com/users/lorentrogers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorentrogers/subscriptions","organizations_url":"https://api.github.com/users/lorentrogers/orgs","repos_url":"https://api.github.com/users/lorentrogers/repos","events_url":"https://api.github.com/users/lorentrogers/events{/privacy}","received_events_url":"https://api.github.com/users/lorentrogers/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T23:47:49Z","updated_at":"2016-11-03T23:47:49Z","body":"Looking at it again, perhaps I'm just confused by how lists are initialized. Is the `when String` section still needed, if we now load files using `Todo::File#open`?\r\n\r\nhttps://github.com/lorentrogers/todo-txt-gem/blob/master/lib/todo/list.rb#L37"}}
{"actor":{"display_login":"lorentrogers"}}