{"action":"created","issue":{"url":"https://api.github.com/repos/lotus/validations/issues/37","labels_url":"https://api.github.com/repos/lotus/validations/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/lotus/validations/issues/37/comments","events_url":"https://api.github.com/repos/lotus/validations/issues/37/events","html_url":"https://github.com/lotus/validations/pull/37","id":53074599,"number":37,"title":"Refactor to allow objects to be initialised independently","user":{"login":"stevehodgkiss","id":62331,"avatar_url":"https://avatars.githubusercontent.com/u/62331?v=3","gravatar_id":"","url":"https://api.github.com/users/stevehodgkiss","html_url":"https://github.com/stevehodgkiss","followers_url":"https://api.github.com/users/stevehodgkiss/followers","following_url":"https://api.github.com/users/stevehodgkiss/following{/other_user}","gists_url":"https://api.github.com/users/stevehodgkiss/gists{/gist_id}","starred_url":"https://api.github.com/users/stevehodgkiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevehodgkiss/subscriptions","organizations_url":"https://api.github.com/users/stevehodgkiss/orgs","repos_url":"https://api.github.com/users/stevehodgkiss/repos","events_url":"https://api.github.com/users/stevehodgkiss/events{/privacy}","received_events_url":"https://api.github.com/users/stevehodgkiss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2014-12-29T21:49:11Z","updated_at":"2015-01-02T12:12:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lotus/validations/pulls/37","html_url":"https://github.com/lotus/validations/pull/37","diff_url":"https://github.com/lotus/validations/pull/37.diff","patch_url":"https://github.com/lotus/validations/pull/37.patch"},"body":"A work in progress based on the discussion in https://github.com/lotus/validations/issues/36\r\n\r\n- [x] Remove attribute tracking from the Lotus::Validations provided constructor, and provide a generic accessor setter constructor that can be overwritten easily.\r\n- [x] Build the list of attributes and values to be validated lazily, rather than in the constructor\r\n- [x] Move type coercion functionality to setters (run separately from validations).\r\n- [x] Fix broken tests\r\n- [x] Extract `.validates` method\r\n- [x] Move `.attributes` to a separate module\r\n- [x] Fix validation inheritance for classes\r\n- [ ] Document new methods, update existing docs\r\n- [ ] Update readme"},"comment":{"url":"https://api.github.com/repos/lotus/validations/issues/comments/68522836","html_url":"https://github.com/lotus/validations/pull/37#issuecomment-68522836","issue_url":"https://api.github.com/repos/lotus/validations/issues/37","id":68522836,"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":"2015-01-02T12:12:39Z","updated_at":"2015-01-02T12:12:39Z","body":"\n[![Coverage Status](https://coveralls.io/builds/1682512/badge)](https://coveralls.io/builds/1682512)\n\nCoverage decreased (-1.72%) when pulling **b1979839a459385ad6d6f3eb486c51d00ab9f90f on stevehodgkiss:refactor_to_allow_constructor_ownership_and_revalidating_changed_attributes** into **969ed6829d6c5040cdbcdec2d12a5b7d1507b936 on lotus:master**.\n"}}