{"action":"closed","number":57,"pull_request":{"url":"https://api.github.com/repos/testdouble/standard/pulls/57","id":241567398,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxNTY3Mzk4","html_url":"https://github.com/testdouble/standard/pull/57","diff_url":"https://github.com/testdouble/standard/pull/57.diff","patch_url":"https://github.com/testdouble/standard/pull/57.patch","issue_url":"https://api.github.com/repos/testdouble/standard/issues/57","number":57,"state":"closed","locked":false,"title":"Define header_printed_already ivar to remove warnings","user":{"login":"edwardloveall","id":49549,"node_id":"MDQ6VXNlcjQ5NTQ5","avatar_url":"https://avatars1.githubusercontent.com/u/49549?v=4","gravatar_id":"","url":"https://api.github.com/users/edwardloveall","html_url":"https://github.com/edwardloveall","followers_url":"https://api.github.com/users/edwardloveall/followers","following_url":"https://api.github.com/users/edwardloveall/following{/other_user}","gists_url":"https://api.github.com/users/edwardloveall/gists{/gist_id}","starred_url":"https://api.github.com/users/edwardloveall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edwardloveall/subscriptions","organizations_url":"https://api.github.com/users/edwardloveall/orgs","repos_url":"https://api.github.com/users/edwardloveall/repos","events_url":"https://api.github.com/users/edwardloveall/events{/privacy}","received_events_url":"https://api.github.com/users/edwardloveall/received_events","type":"User","site_admin":false},"body":"When running tests I got a failure because stderr printed a message:\r\n\r\n```\r\nwarning: instance variable @header_printed_already not initialized\r\n```\r\n\r\nTurns out, lib/standard/formatter.rb uses the header_printed_already\r\ninstance variable but doesn't define it until late in execution. I\r\nrecreated the initialize method from RuboCop::Formatter::BaseFormatter\r\nand defined header_printed_already to false to remove this\r\nwarning/error and fixed the test.","created_at":"2018-12-31T14:05:40Z","updated_at":"2018-12-31T15:43:33Z","closed_at":"2018-12-31T15:43:33Z","merged_at":null,"merge_commit_sha":"0d6939002834d5700150a42a0727b55418db0df3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/testdouble/standard/pulls/57/commits","review_comments_url":"https://api.github.com/repos/testdouble/standard/pulls/57/comments","review_comment_url":"https://api.github.com/repos/testdouble/standard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/testdouble/standard/issues/57/comments","statuses_url":"https://api.github.com/repos/testdouble/standard/statuses/38e4daf8bab7365ebbfbf283fa78dac7cebfd9b1","head":{"label":"edwardloveall:el-define-ivars","ref":"el-define-ivars","sha":"38e4daf8bab7365ebbfbf283fa78dac7cebfd9b1","user":{"login":"edwardloveall","id":49549,"node_id":"MDQ6VXNlcjQ5NTQ5","avatar_url":"https://avatars1.githubusercontent.com/u/49549?v=4","gravatar_id":"","url":"https://api.github.com/users/edwardloveall","html_url":"https://github.com/edwardloveall","followers_url":"https://api.github.com/users/edwardloveall/followers","following_url":"https://api.github.com/users/edwardloveall/following{/other_user}","gists_url":"https://api.github.com/users/edwardloveall/gists{/gist_id}","starred_url":"https://api.github.com/users/edwardloveall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edwardloveall/subscriptions","organizations_url":"https://api.github.com/users/edwardloveall/orgs","repos_url":"https://api.github.com/users/edwardloveall/repos","events_url":"https://api.github.com/users/edwardloveall/events{/privacy}","received_events_url":"https://api.github.com/users/edwardloveall/received_events","type":"User","site_admin":false},"repo":{"id":163673565,"node_id":"MDEwOlJlcG9zaXRvcnkxNjM2NzM1NjU=","name":"standard","full_name":"edwardloveall/standard","private":false,"owner":{"login":"edwardloveall","id":49549,"node_id":"MDQ6VXNlcjQ5NTQ5","avatar_url":"https://avatars1.githubusercontent.com/u/49549?v=4","gravatar_id":"","url":"https://api.github.com/users/edwardloveall","html_url":"https://github.com/edwardloveall","followers_url":"https://api.github.com/users/edwardloveall/followers","following_url":"https://api.github.com/users/edwardloveall/following{/other_user}","gists_url":"https://api.github.com/users/edwardloveall/gists{/gist_id}","starred_url":"https://api.github.com/users/edwardloveall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edwardloveall/subscriptions","organizations_url":"https://api.github.com/users/edwardloveall/orgs","repos_url":"https://api.github.com/users/edwardloveall/repos","events_url":"https://api.github.com/users/edwardloveall/events{/privacy}","received_events_url":"https://api.github.com/users/edwardloveall/received_events","type":"User","site_admin":false},"html_url":"https://github.com/edwardloveall/standard","description":"🌟 Ruby Style Guide, with linter & automatic code fixer","fork":true,"url":"https://api.github.com/repos/edwardloveall/standard","forks_url":"https://api.github.com/repos/edwardloveall/standard/forks","keys_url":"https://api.github.com/repos/edwardloveall/standard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edwardloveall/standard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edwardloveall/standard/teams","hooks_url":"https://api.github.com/repos/edwardloveall/standard/hooks","issue_events_url":"https://api.github.com/repos/edwardloveall/standard/issues/events{/number}","events_url":"https://api.github.com/repos/edwardloveall/standard/events","assignees_url":"https://api.github.com/repos/edwardloveall/standard/assignees{/user}","branches_url":"https://api.github.com/repos/edwardloveall/standard/branches{/branch}","tags_url":"https://api.github.com/repos/edwardloveall/standard/tags","blobs_url":"https://api.github.com/repos/edwardloveall/standard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edwardloveall/standard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edwardloveall/standard/git/refs{/sha}","trees_url":"https://api.github.com/repos/edwardloveall/standard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edwardloveall/standard/statuses/{sha}","languages_url":"https://api.github.com/repos/edwardloveall/standard/languages","stargazers_url":"https://api.github.com/repos/edwardloveall/standard/stargazers","contributors_url":"https://api.github.com/repos/edwardloveall/standard/contributors","subscribers_url":"https://api.github.com/repos/edwardloveall/standard/subscribers","subscription_url":"https://api.github.com/repos/edwardloveall/standard/subscription","commits_url":"https://api.github.com/repos/edwardloveall/standard/commits{/sha}","git_commits_url":"https://api.github.com/repos/edwardloveall/standard/git/commits{/sha}","comments_url":"https://api.github.com/repos/edwardloveall/standard/comments{/number}","issue_comment_url":"https://api.github.com/repos/edwardloveall/standard/issues/comments{/number}","contents_url":"https://api.github.com/repos/edwardloveall/standard/contents/{+path}","compare_url":"https://api.github.com/repos/edwardloveall/standard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edwardloveall/standard/merges","archive_url":"https://api.github.com/repos/edwardloveall/standard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edwardloveall/standard/downloads","issues_url":"https://api.github.com/repos/edwardloveall/standard/issues{/number}","pulls_url":"https://api.github.com/repos/edwardloveall/standard/pulls{/number}","milestones_url":"https://api.github.com/repos/edwardloveall/standard/milestones{/number}","notifications_url":"https://api.github.com/repos/edwardloveall/standard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edwardloveall/standard/labels{/name}","releases_url":"https://api.github.com/repos/edwardloveall/standard/releases{/id}","deployments_url":"https://api.github.com/repos/edwardloveall/standard/deployments","created_at":"2018-12-31T14:03:31Z","updated_at":"2018-12-31T14:03:33Z","pushed_at":"2018-12-31T15:43:32Z","git_url":"git://github.com/edwardloveall/standard.git","ssh_url":"git@github.com:edwardloveall/standard.git","clone_url":"https://github.com/edwardloveall/standard.git","svn_url":"https://github.com/edwardloveall/standard","homepage":null,"size":135,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"testdouble:master","ref":"master","sha":"38e4daf8bab7365ebbfbf283fa78dac7cebfd9b1","user":{"login":"testdouble","id":1139195,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMzkxOTU=","avatar_url":"https://avatars3.githubusercontent.com/u/1139195?v=4","gravatar_id":"","url":"https://api.github.com/users/testdouble","html_url":"https://github.com/testdouble","followers_url":"https://api.github.com/users/testdouble/followers","following_url":"https://api.github.com/users/testdouble/following{/other_user}","gists_url":"https://api.github.com/users/testdouble/gists{/gist_id}","starred_url":"https://api.github.com/users/testdouble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/testdouble/subscriptions","organizations_url":"https://api.github.com/users/testdouble/orgs","repos_url":"https://api.github.com/users/testdouble/repos","events_url":"https://api.github.com/users/testdouble/events{/privacy}","received_events_url":"https://api.github.com/users/testdouble/received_events","type":"Organization","site_admin":false},"repo":{"id":156555906,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY1NTU5MDY=","name":"standard","full_name":"testdouble/standard","private":false,"owner":{"login":"testdouble","id":1139195,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMzkxOTU=","avatar_url":"https://avatars3.githubusercontent.com/u/1139195?v=4","gravatar_id":"","url":"https://api.github.com/users/testdouble","html_url":"https://github.com/testdouble","followers_url":"https://api.github.com/users/testdouble/followers","following_url":"https://api.github.com/users/testdouble/following{/other_user}","gists_url":"https://api.github.com/users/testdouble/gists{/gist_id}","starred_url":"https://api.github.com/users/testdouble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/testdouble/subscriptions","organizations_url":"https://api.github.com/users/testdouble/orgs","repos_url":"https://api.github.com/users/testdouble/repos","events_url":"https://api.github.com/users/testdouble/events{/privacy}","received_events_url":"https://api.github.com/users/testdouble/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/testdouble/standard","description":"🌟 Ruby Style Guide, with linter & automatic code fixer","fork":false,"url":"https://api.github.com/repos/testdouble/standard","forks_url":"https://api.github.com/repos/testdouble/standard/forks","keys_url":"https://api.github.com/repos/testdouble/standard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/testdouble/standard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/testdouble/standard/teams","hooks_url":"https://api.github.com/repos/testdouble/standard/hooks","issue_events_url":"https://api.github.com/repos/testdouble/standard/issues/events{/number}","events_url":"https://api.github.com/repos/testdouble/standard/events","assignees_url":"https://api.github.com/repos/testdouble/standard/assignees{/user}","branches_url":"https://api.github.com/repos/testdouble/standard/branches{/branch}","tags_url":"https://api.github.com/repos/testdouble/standard/tags","blobs_url":"https://api.github.com/repos/testdouble/standard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/testdouble/standard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/testdouble/standard/git/refs{/sha}","trees_url":"https://api.github.com/repos/testdouble/standard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/testdouble/standard/statuses/{sha}","languages_url":"https://api.github.com/repos/testdouble/standard/languages","stargazers_url":"https://api.github.com/repos/testdouble/standard/stargazers","contributors_url":"https://api.github.com/repos/testdouble/standard/contributors","subscribers_url":"https://api.github.com/repos/testdouble/standard/subscribers","subscription_url":"https://api.github.com/repos/testdouble/standard/subscription","commits_url":"https://api.github.com/repos/testdouble/standard/commits{/sha}","git_commits_url":"https://api.github.com/repos/testdouble/standard/git/commits{/sha}","comments_url":"https://api.github.com/repos/testdouble/standard/comments{/number}","issue_comment_url":"https://api.github.com/repos/testdouble/standard/issues/comments{/number}","contents_url":"https://api.github.com/repos/testdouble/standard/contents/{+path}","compare_url":"https://api.github.com/repos/testdouble/standard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/testdouble/standard/merges","archive_url":"https://api.github.com/repos/testdouble/standard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/testdouble/standard/downloads","issues_url":"https://api.github.com/repos/testdouble/standard/issues{/number}","pulls_url":"https://api.github.com/repos/testdouble/standard/pulls{/number}","milestones_url":"https://api.github.com/repos/testdouble/standard/milestones{/number}","notifications_url":"https://api.github.com/repos/testdouble/standard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/testdouble/standard/labels{/name}","releases_url":"https://api.github.com/repos/testdouble/standard/releases{/id}","deployments_url":"https://api.github.com/repos/testdouble/standard/deployments","created_at":"2018-11-07T14:08:51Z","updated_at":"2018-12-31T15:18:34Z","pushed_at":"2018-12-31T15:18:35Z","git_url":"git://github.com/testdouble/standard.git","ssh_url":"git@github.com:testdouble/standard.git","clone_url":"https://github.com/testdouble/standard.git","svn_url":"https://github.com/testdouble/standard","homepage":null,"size":134,"stargazers_count":364,"watchers_count":364,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":17,"open_issues":16,"watchers":364,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/testdouble/standard/pulls/57"},"html":{"href":"https://github.com/testdouble/standard/pull/57"},"issue":{"href":"https://api.github.com/repos/testdouble/standard/issues/57"},"comments":{"href":"https://api.github.com/repos/testdouble/standard/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/testdouble/standard/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/testdouble/standard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/testdouble/standard/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/testdouble/standard/statuses/38e4daf8bab7365ebbfbf283fa78dac7cebfd9b1"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":0,"additions":0,"deletions":0,"changed_files":0}}
{"actor":{"display_login":"edwardloveall"}}