{"action":"created","issue":{"url":"https://api.github.com/repos/taylorzr/verbalize/issues/6","repository_url":"https://api.github.com/repos/taylorzr/verbalize","labels_url":"https://api.github.com/repos/taylorzr/verbalize/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/taylorzr/verbalize/issues/6/comments","events_url":"https://api.github.com/repos/taylorzr/verbalize/issues/6/events","html_url":"https://github.com/taylorzr/verbalize/pull/6","id":194370482,"number":6,"title":"Add Success and Failure result classes.","user":{"login":"tmertens","id":2243386,"avatar_url":"https://avatars.githubusercontent.com/u/2243386?v=3","gravatar_id":"","url":"https://api.github.com/users/tmertens","html_url":"https://github.com/tmertens","followers_url":"https://api.github.com/users/tmertens/followers","following_url":"https://api.github.com/users/tmertens/following{/other_user}","gists_url":"https://api.github.com/users/tmertens/gists{/gist_id}","starred_url":"https://api.github.com/users/tmertens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmertens/subscriptions","organizations_url":"https://api.github.com/users/tmertens/orgs","repos_url":"https://api.github.com/users/tmertens/repos","events_url":"https://api.github.com/users/tmertens/events{/privacy}","received_events_url":"https://api.github.com/users/tmertens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-08T15:48:44Z","updated_at":"2016-12-08T15:53:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/taylorzr/verbalize/pulls/6","html_url":"https://github.com/taylorzr/verbalize/pull/6","diff_url":"https://github.com/taylorzr/verbalize/pull/6.diff","patch_url":"https://github.com/taylorzr/verbalize/pull/6.patch"},"body":"@taylorzr This adds Success and Failure result classes which make Verbalize easier to work with when testing interactors in consumers.  There is no longer any need to know anything about the internals of the Result class to produce a failed result; rather, in test you can now just create `Verbalize::Success` or `Verbalize::Failure` instances.\r\n\r\nAlso, I added `Failure#error` and deprecated the generic `Result#value` method, which is unnatural to reference when working with a failed result.\r\n\r\n - Deprecate Result#value and Failure#value in favor of Success#value and Failure#error\r\n - Refactor verbalize_spec to eliminate constant redefined warnings"},"comment":{"url":"https://api.github.com/repos/taylorzr/verbalize/issues/comments/265774576","html_url":"https://github.com/taylorzr/verbalize/pull/6#issuecomment-265774576","issue_url":"https://api.github.com/repos/taylorzr/verbalize/issues/6","id":265774576,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T15:53:02Z","updated_at":"2016-12-08T15:53:02Z","body":"\n[![Coverage Status](https://coveralls.io/builds/9189774/badge)](https://coveralls.io/builds/9189774)\n\nCoverage increased (+0.3%) to 98.956% when pulling **97b593d141799d698766b4fe0d46365409117691 on add-result-types** into **04e5ec476e02e32d15e58e1c13da1ae6aaac6cb7 on master**.\n"}}
{"actor":{"display_login":"coveralls"}}