{"action":"created","issue":{"url":"https://api.github.com/repos/rodjek/puppet-lint/issues/584","repository_url":"https://api.github.com/repos/rodjek/puppet-lint","labels_url":"https://api.github.com/repos/rodjek/puppet-lint/issues/584/labels{/name}","comments_url":"https://api.github.com/repos/rodjek/puppet-lint/issues/584/comments","events_url":"https://api.github.com/repos/rodjek/puppet-lint/issues/584/events","html_url":"https://github.com/rodjek/puppet-lint/pull/584","id":195388223,"number":584,"title":"Refactor token accessors to use custom getters/setters","user":{"login":"arrdem","id":704767,"avatar_url":"https://avatars.githubusercontent.com/u/704767?v=3","gravatar_id":"","url":"https://api.github.com/users/arrdem","html_url":"https://github.com/arrdem","followers_url":"https://api.github.com/users/arrdem/followers","following_url":"https://api.github.com/users/arrdem/following{/other_user}","gists_url":"https://api.github.com/users/arrdem/gists{/gist_id}","starred_url":"https://api.github.com/users/arrdem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arrdem/subscriptions","organizations_url":"https://api.github.com/users/arrdem/orgs","repos_url":"https://api.github.com/users/arrdem/repos","events_url":"https://api.github.com/users/arrdem/events{/privacy}","received_events_url":"https://api.github.com/users/arrdem/received_events","type":"User","site_admin":false},"labels":[{"id":399744351,"url":"https://api.github.com/repos/rodjek/puppet-lint/labels/puppethack","name":"puppethack","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/rodjek/puppet-lint/milestones/11","html_url":"https://github.com/rodjek/puppet-lint/milestone/11","labels_url":"https://api.github.com/repos/rodjek/puppet-lint/milestones/11/labels","id":1958392,"number":11,"title":"3.0.0","description":"Proposed version that will drop support for Puppet 3 and Ruby 1.8.7.","creator":{"login":"rnelson0","id":1898351,"avatar_url":"https://avatars.githubusercontent.com/u/1898351?v=3","gravatar_id":"","url":"https://api.github.com/users/rnelson0","html_url":"https://github.com/rnelson0","followers_url":"https://api.github.com/users/rnelson0/followers","following_url":"https://api.github.com/users/rnelson0/following{/other_user}","gists_url":"https://api.github.com/users/rnelson0/gists{/gist_id}","starred_url":"https://api.github.com/users/rnelson0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnelson0/subscriptions","organizations_url":"https://api.github.com/users/rnelson0/orgs","repos_url":"https://api.github.com/users/rnelson0/repos","events_url":"https://api.github.com/users/rnelson0/events{/privacy}","received_events_url":"https://api.github.com/users/rnelson0/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":2,"state":"open","created_at":"2016-08-23T16:01:08Z","updated_at":"2016-12-21T23:05:13Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-12-13T22:32:55Z","updated_at":"2016-12-29T23:14:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rodjek/puppet-lint/pulls/584","html_url":"https://github.com/rodjek/puppet-lint/pull/584","diff_url":"https://github.com/rodjek/puppet-lint/pull/584.diff","patch_url":"https://github.com/rodjek/puppet-lint/pull/584.patch"},"body":"This patch rewrites {prev,next}(_code)?_token so that they should be more repeatable and will\r\npreserve the structure invariants in the tokens linked list.\r\n\r\nBecause {prev,next}_code_token are just views on {prev,next}_token, they no longer have setters and are implemented as linked list traversals on the corresponding token link.\r\n\r\nBecause users can't be trusted to set up links in the list, the {prev,next}_token= setters now\r\nautomatically fix the prev and next links of all tokens involved. This should make splicing new\r\ntokens in easier.\r\n\r\nNote - this patch does not provide automatic propagation of changes to line and column number. Those things still need to be implemented. Probably by some push method."},"comment":{"url":"https://api.github.com/repos/rodjek/puppet-lint/issues/comments/269708444","html_url":"https://github.com/rodjek/puppet-lint/pull/584#issuecomment-269708444","issue_url":"https://api.github.com/repos/rodjek/puppet-lint/issues/584","id":269708444,"user":{"login":"rnelson0","id":1898351,"avatar_url":"https://avatars.githubusercontent.com/u/1898351?v=3","gravatar_id":"","url":"https://api.github.com/users/rnelson0","html_url":"https://github.com/rnelson0","followers_url":"https://api.github.com/users/rnelson0/followers","following_url":"https://api.github.com/users/rnelson0/following{/other_user}","gists_url":"https://api.github.com/users/rnelson0/gists{/gist_id}","starred_url":"https://api.github.com/users/rnelson0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnelson0/subscriptions","organizations_url":"https://api.github.com/users/rnelson0/orgs","repos_url":"https://api.github.com/users/rnelson0/repos","events_url":"https://api.github.com/users/rnelson0/events{/privacy}","received_events_url":"https://api.github.com/users/rnelson0/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T23:14:58Z","updated_at":"2016-12-29T23:14:58Z","body":"@arrdem Documentation for the updated token API is visible at http://puppet-lint.com/developer/tokens/ and will need updated as well."}}
{"actor":{"display_login":"rnelson0"}}