{"action":"opened","number":714,"pull_request":{"url":"https://api.github.com/repos/ctran/annotate_models/pulls/714","id":360520822,"node_id":"MDExOlB1bGxSZXF1ZXN0MzYwNTIwODIy","html_url":"https://github.com/ctran/annotate_models/pull/714","diff_url":"https://github.com/ctran/annotate_models/pull/714.diff","patch_url":"https://github.com/ctran/annotate_models/pull/714.patch","issue_url":"https://api.github.com/repos/ctran/annotate_models/issues/714","number":714,"state":"open","locked":false,"title":"Refactor AnnotateRoutes.header","user":{"login":"nard-tech","id":23148331,"node_id":"MDQ6VXNlcjIzMTQ4MzMx","avatar_url":"https://avatars2.githubusercontent.com/u/23148331?v=4","gravatar_id":"","url":"https://api.github.com/users/nard-tech","html_url":"https://github.com/nard-tech","followers_url":"https://api.github.com/users/nard-tech/followers","following_url":"https://api.github.com/users/nard-tech/following{/other_user}","gists_url":"https://api.github.com/users/nard-tech/gists{/gist_id}","starred_url":"https://api.github.com/users/nard-tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nard-tech/subscriptions","organizations_url":"https://api.github.com/users/nard-tech/orgs","repos_url":"https://api.github.com/users/nard-tech/repos","events_url":"https://api.github.com/users/nard-tech/events{/privacy}","received_events_url":"https://api.github.com/users/nard-tech/received_events","type":"User","site_admin":false},"body":"I refactored `AnnotateRoutes.header` for performance, and add `AnnotateRoutes.comment` to make code DRY.\r\n","created_at":"2020-01-08T15:40:51Z","updated_at":"2020-01-08T15:40:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ctran/annotate_models/pulls/714/commits","review_comments_url":"https://api.github.com/repos/ctran/annotate_models/pulls/714/comments","review_comment_url":"https://api.github.com/repos/ctran/annotate_models/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ctran/annotate_models/issues/714/comments","statuses_url":"https://api.github.com/repos/ctran/annotate_models/statuses/8750ef25b38d9a0e438894ed62450eb19214de2a","head":{"label":"nard-tech:feature/refactor_annotate_routes/header","ref":"feature/refactor_annotate_routes/header","sha":"8750ef25b38d9a0e438894ed62450eb19214de2a","user":{"login":"nard-tech","id":23148331,"node_id":"MDQ6VXNlcjIzMTQ4MzMx","avatar_url":"https://avatars2.githubusercontent.com/u/23148331?v=4","gravatar_id":"","url":"https://api.github.com/users/nard-tech","html_url":"https://github.com/nard-tech","followers_url":"https://api.github.com/users/nard-tech/followers","following_url":"https://api.github.com/users/nard-tech/following{/other_user}","gists_url":"https://api.github.com/users/nard-tech/gists{/gist_id}","starred_url":"https://api.github.com/users/nard-tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nard-tech/subscriptions","organizations_url":"https://api.github.com/users/nard-tech/orgs","repos_url":"https://api.github.com/users/nard-tech/repos","events_url":"https://api.github.com/users/nard-tech/events{/privacy}","received_events_url":"https://api.github.com/users/nard-tech/received_events","type":"User","site_admin":false},"repo":{"id":131434265,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE0MzQyNjU=","name":"annotate_models","full_name":"nard-tech/annotate_models","private":false,"owner":{"login":"nard-tech","id":23148331,"node_id":"MDQ6VXNlcjIzMTQ4MzMx","avatar_url":"https://avatars2.githubusercontent.com/u/23148331?v=4","gravatar_id":"","url":"https://api.github.com/users/nard-tech","html_url":"https://github.com/nard-tech","followers_url":"https://api.github.com/users/nard-tech/followers","following_url":"https://api.github.com/users/nard-tech/following{/other_user}","gists_url":"https://api.github.com/users/nard-tech/gists{/gist_id}","starred_url":"https://api.github.com/users/nard-tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nard-tech/subscriptions","organizations_url":"https://api.github.com/users/nard-tech/orgs","repos_url":"https://api.github.com/users/nard-tech/repos","events_url":"https://api.github.com/users/nard-tech/events{/privacy}","received_events_url":"https://api.github.com/users/nard-tech/received_events","type":"User","site_admin":false},"html_url":"https://github.com/nard-tech/annotate_models","description":"Annotate Rails classes with schema and routes info","fork":true,"url":"https://api.github.com/repos/nard-tech/annotate_models","forks_url":"https://api.github.com/repos/nard-tech/annotate_models/forks","keys_url":"https://api.github.com/repos/nard-tech/annotate_models/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nard-tech/annotate_models/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nard-tech/annotate_models/teams","hooks_url":"https://api.github.com/repos/nard-tech/annotate_models/hooks","issue_events_url":"https://api.github.com/repos/nard-tech/annotate_models/issues/events{/number}","events_url":"https://api.github.com/repos/nard-tech/annotate_models/events","assignees_url":"https://api.github.com/repos/nard-tech/annotate_models/assignees{/user}","branches_url":"https://api.github.com/repos/nard-tech/annotate_models/branches{/branch}","tags_url":"https://api.github.com/repos/nard-tech/annotate_models/tags","blobs_url":"https://api.github.com/repos/nard-tech/annotate_models/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nard-tech/annotate_models/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nard-tech/annotate_models/git/refs{/sha}","trees_url":"https://api.github.com/repos/nard-tech/annotate_models/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nard-tech/annotate_models/statuses/{sha}","languages_url":"https://api.github.com/repos/nard-tech/annotate_models/languages","stargazers_url":"https://api.github.com/repos/nard-tech/annotate_models/stargazers","contributors_url":"https://api.github.com/repos/nard-tech/annotate_models/contributors","subscribers_url":"https://api.github.com/repos/nard-tech/annotate_models/subscribers","subscription_url":"https://api.github.com/repos/nard-tech/annotate_models/subscription","commits_url":"https://api.github.com/repos/nard-tech/annotate_models/commits{/sha}","git_commits_url":"https://api.github.com/repos/nard-tech/annotate_models/git/commits{/sha}","comments_url":"https://api.github.com/repos/nard-tech/annotate_models/comments{/number}","issue_comment_url":"https://api.github.com/repos/nard-tech/annotate_models/issues/comments{/number}","contents_url":"https://api.github.com/repos/nard-tech/annotate_models/contents/{+path}","compare_url":"https://api.github.com/repos/nard-tech/annotate_models/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nard-tech/annotate_models/merges","archive_url":"https://api.github.com/repos/nard-tech/annotate_models/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nard-tech/annotate_models/downloads","issues_url":"https://api.github.com/repos/nard-tech/annotate_models/issues{/number}","pulls_url":"https://api.github.com/repos/nard-tech/annotate_models/pulls{/number}","milestones_url":"https://api.github.com/repos/nard-tech/annotate_models/milestones{/number}","notifications_url":"https://api.github.com/repos/nard-tech/annotate_models/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nard-tech/annotate_models/labels{/name}","releases_url":"https://api.github.com/repos/nard-tech/annotate_models/releases{/id}","deployments_url":"https://api.github.com/repos/nard-tech/annotate_models/deployments","created_at":"2018-04-28T18:29:22Z","updated_at":"2018-04-28T18:29:24Z","pushed_at":"2020-01-08T15:37:58Z","git_url":"git://github.com/nard-tech/annotate_models.git","ssh_url":"git@github.com:nard-tech/annotate_models.git","clone_url":"https://github.com/nard-tech/annotate_models.git","svn_url":"https://github.com/nard-tech/annotate_models","homepage":"","size":1422,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":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":"develop"}},"base":{"label":"ctran:develop","ref":"develop","sha":"ee88f0fdd69c21e9da841cc0467116fa180e495a","user":{"login":"ctran","id":491,"node_id":"MDQ6VXNlcjQ5MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/491?v=4","gravatar_id":"","url":"https://api.github.com/users/ctran","html_url":"https://github.com/ctran","followers_url":"https://api.github.com/users/ctran/followers","following_url":"https://api.github.com/users/ctran/following{/other_user}","gists_url":"https://api.github.com/users/ctran/gists{/gist_id}","starred_url":"https://api.github.com/users/ctran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctran/subscriptions","organizations_url":"https://api.github.com/users/ctran/orgs","repos_url":"https://api.github.com/users/ctran/repos","events_url":"https://api.github.com/users/ctran/events{/privacy}","received_events_url":"https://api.github.com/users/ctran/received_events","type":"User","site_admin":false},"repo":{"id":1462,"node_id":"MDEwOlJlcG9zaXRvcnkxNDYy","name":"annotate_models","full_name":"ctran/annotate_models","private":false,"owner":{"login":"ctran","id":491,"node_id":"MDQ6VXNlcjQ5MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/491?v=4","gravatar_id":"","url":"https://api.github.com/users/ctran","html_url":"https://github.com/ctran","followers_url":"https://api.github.com/users/ctran/followers","following_url":"https://api.github.com/users/ctran/following{/other_user}","gists_url":"https://api.github.com/users/ctran/gists{/gist_id}","starred_url":"https://api.github.com/users/ctran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctran/subscriptions","organizations_url":"https://api.github.com/users/ctran/orgs","repos_url":"https://api.github.com/users/ctran/repos","events_url":"https://api.github.com/users/ctran/events{/privacy}","received_events_url":"https://api.github.com/users/ctran/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ctran/annotate_models","description":"Annotate Rails classes with schema and routes info","fork":false,"url":"https://api.github.com/repos/ctran/annotate_models","forks_url":"https://api.github.com/repos/ctran/annotate_models/forks","keys_url":"https://api.github.com/repos/ctran/annotate_models/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ctran/annotate_models/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ctran/annotate_models/teams","hooks_url":"https://api.github.com/repos/ctran/annotate_models/hooks","issue_events_url":"https://api.github.com/repos/ctran/annotate_models/issues/events{/number}","events_url":"https://api.github.com/repos/ctran/annotate_models/events","assignees_url":"https://api.github.com/repos/ctran/annotate_models/assignees{/user}","branches_url":"https://api.github.com/repos/ctran/annotate_models/branches{/branch}","tags_url":"https://api.github.com/repos/ctran/annotate_models/tags","blobs_url":"https://api.github.com/repos/ctran/annotate_models/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ctran/annotate_models/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ctran/annotate_models/git/refs{/sha}","trees_url":"https://api.github.com/repos/ctran/annotate_models/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ctran/annotate_models/statuses/{sha}","languages_url":"https://api.github.com/repos/ctran/annotate_models/languages","stargazers_url":"https://api.github.com/repos/ctran/annotate_models/stargazers","contributors_url":"https://api.github.com/repos/ctran/annotate_models/contributors","subscribers_url":"https://api.github.com/repos/ctran/annotate_models/subscribers","subscription_url":"https://api.github.com/repos/ctran/annotate_models/subscription","commits_url":"https://api.github.com/repos/ctran/annotate_models/commits{/sha}","git_commits_url":"https://api.github.com/repos/ctran/annotate_models/git/commits{/sha}","comments_url":"https://api.github.com/repos/ctran/annotate_models/comments{/number}","issue_comment_url":"https://api.github.com/repos/ctran/annotate_models/issues/comments{/number}","contents_url":"https://api.github.com/repos/ctran/annotate_models/contents/{+path}","compare_url":"https://api.github.com/repos/ctran/annotate_models/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ctran/annotate_models/merges","archive_url":"https://api.github.com/repos/ctran/annotate_models/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ctran/annotate_models/downloads","issues_url":"https://api.github.com/repos/ctran/annotate_models/issues{/number}","pulls_url":"https://api.github.com/repos/ctran/annotate_models/pulls{/number}","milestones_url":"https://api.github.com/repos/ctran/annotate_models/milestones{/number}","notifications_url":"https://api.github.com/repos/ctran/annotate_models/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ctran/annotate_models/labels{/name}","releases_url":"https://api.github.com/repos/ctran/annotate_models/releases{/id}","deployments_url":"https://api.github.com/repos/ctran/annotate_models/deployments","created_at":"2008-02-27T18:04:38Z","updated_at":"2020-01-06T23:11:45Z","pushed_at":"2020-01-08T12:37:01Z","git_url":"git://github.com/ctran/annotate_models.git","ssh_url":"git@github.com:ctran/annotate_models.git","clone_url":"https://github.com/ctran/annotate_models.git","svn_url":"https://github.com/ctran/annotate_models","homepage":"","size":1383,"stargazers_count":3390,"watchers_count":3390,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":436,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":42,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":436,"open_issues":42,"watchers":3390,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ctran/annotate_models/pulls/714"},"html":{"href":"https://github.com/ctran/annotate_models/pull/714"},"issue":{"href":"https://api.github.com/repos/ctran/annotate_models/issues/714"},"comments":{"href":"https://api.github.com/repos/ctran/annotate_models/issues/714/comments"},"review_comments":{"href":"https://api.github.com/repos/ctran/annotate_models/pulls/714/comments"},"review_comment":{"href":"https://api.github.com/repos/ctran/annotate_models/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ctran/annotate_models/pulls/714/commits"},"statuses":{"href":"https://api.github.com/repos/ctran/annotate_models/statuses/8750ef25b38d9a0e438894ed62450eb19214de2a"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":16,"deletions":8,"changed_files":1}}
{"actor":{"display_login":"nard-tech"}}