{"action":"opened","number":3062,"pull_request":{"url":"https://api.github.com/repos/mruby/mruby/pulls/3062","id":54595353,"html_url":"https://github.com/mruby/mruby/pull/3062","diff_url":"https://github.com/mruby/mruby/pull/3062.diff","patch_url":"https://github.com/mruby/mruby/pull/3062.patch","issue_url":"https://api.github.com/repos/mruby/mruby/issues/3062","number":3062,"state":"open","locked":false,"title":"Refactor Array#each","user":{"login":"suzukaze","id":1078126,"avatar_url":"https://avatars.githubusercontent.com/u/1078126?v=3","gravatar_id":"","url":"https://api.github.com/users/suzukaze","html_url":"https://github.com/suzukaze","followers_url":"https://api.github.com/users/suzukaze/followers","following_url":"https://api.github.com/users/suzukaze/following{/other_user}","gists_url":"https://api.github.com/users/suzukaze/gists{/gist_id}","starred_url":"https://api.github.com/users/suzukaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suzukaze/subscriptions","organizations_url":"https://api.github.com/users/suzukaze/orgs","repos_url":"https://api.github.com/users/suzukaze/repos","events_url":"https://api.github.com/users/suzukaze/events{/privacy}","received_events_url":"https://api.github.com/users/suzukaze/received_events","type":"User","site_admin":false},"body":"Condition length <= self.length and length = self.length-1are always true.\r\nelm.nil? and length >= self.length are always true so break is not executed.\r\n\r\n","created_at":"2015-12-26T01:17:00Z","updated_at":"2015-12-26T01:17:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mruby/mruby/pulls/3062/commits","review_comments_url":"https://api.github.com/repos/mruby/mruby/pulls/3062/comments","review_comment_url":"https://api.github.com/repos/mruby/mruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mruby/mruby/issues/3062/comments","statuses_url":"https://api.github.com/repos/mruby/mruby/statuses/88076901fda5edd312b198c89493a39e4c840ade","head":{"label":"suzukaze:refactor-array-each","ref":"refactor-array-each","sha":"88076901fda5edd312b198c89493a39e4c840ade","user":{"login":"suzukaze","id":1078126,"avatar_url":"https://avatars.githubusercontent.com/u/1078126?v=3","gravatar_id":"","url":"https://api.github.com/users/suzukaze","html_url":"https://github.com/suzukaze","followers_url":"https://api.github.com/users/suzukaze/followers","following_url":"https://api.github.com/users/suzukaze/following{/other_user}","gists_url":"https://api.github.com/users/suzukaze/gists{/gist_id}","starred_url":"https://api.github.com/users/suzukaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suzukaze/subscriptions","organizations_url":"https://api.github.com/users/suzukaze/orgs","repos_url":"https://api.github.com/users/suzukaze/repos","events_url":"https://api.github.com/users/suzukaze/events{/privacy}","received_events_url":"https://api.github.com/users/suzukaze/received_events","type":"User","site_admin":false},"repo":{"id":4843014,"name":"mruby","full_name":"suzukaze/mruby","owner":{"login":"suzukaze","id":1078126,"avatar_url":"https://avatars.githubusercontent.com/u/1078126?v=3","gravatar_id":"","url":"https://api.github.com/users/suzukaze","html_url":"https://github.com/suzukaze","followers_url":"https://api.github.com/users/suzukaze/followers","following_url":"https://api.github.com/users/suzukaze/following{/other_user}","gists_url":"https://api.github.com/users/suzukaze/gists{/gist_id}","starred_url":"https://api.github.com/users/suzukaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suzukaze/subscriptions","organizations_url":"https://api.github.com/users/suzukaze/orgs","repos_url":"https://api.github.com/users/suzukaze/repos","events_url":"https://api.github.com/users/suzukaze/events{/privacy}","received_events_url":"https://api.github.com/users/suzukaze/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/suzukaze/mruby","description":"Lightweight Ruby","fork":true,"url":"https://api.github.com/repos/suzukaze/mruby","forks_url":"https://api.github.com/repos/suzukaze/mruby/forks","keys_url":"https://api.github.com/repos/suzukaze/mruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/suzukaze/mruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/suzukaze/mruby/teams","hooks_url":"https://api.github.com/repos/suzukaze/mruby/hooks","issue_events_url":"https://api.github.com/repos/suzukaze/mruby/issues/events{/number}","events_url":"https://api.github.com/repos/suzukaze/mruby/events","assignees_url":"https://api.github.com/repos/suzukaze/mruby/assignees{/user}","branches_url":"https://api.github.com/repos/suzukaze/mruby/branches{/branch}","tags_url":"https://api.github.com/repos/suzukaze/mruby/tags","blobs_url":"https://api.github.com/repos/suzukaze/mruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/suzukaze/mruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/suzukaze/mruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/suzukaze/mruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/suzukaze/mruby/statuses/{sha}","languages_url":"https://api.github.com/repos/suzukaze/mruby/languages","stargazers_url":"https://api.github.com/repos/suzukaze/mruby/stargazers","contributors_url":"https://api.github.com/repos/suzukaze/mruby/contributors","subscribers_url":"https://api.github.com/repos/suzukaze/mruby/subscribers","subscription_url":"https://api.github.com/repos/suzukaze/mruby/subscription","commits_url":"https://api.github.com/repos/suzukaze/mruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/suzukaze/mruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/suzukaze/mruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/suzukaze/mruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/suzukaze/mruby/contents/{+path}","compare_url":"https://api.github.com/repos/suzukaze/mruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/suzukaze/mruby/merges","archive_url":"https://api.github.com/repos/suzukaze/mruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/suzukaze/mruby/downloads","issues_url":"https://api.github.com/repos/suzukaze/mruby/issues{/number}","pulls_url":"https://api.github.com/repos/suzukaze/mruby/pulls{/number}","milestones_url":"https://api.github.com/repos/suzukaze/mruby/milestones{/number}","notifications_url":"https://api.github.com/repos/suzukaze/mruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/suzukaze/mruby/labels{/name}","releases_url":"https://api.github.com/repos/suzukaze/mruby/releases{/id}","created_at":"2012-06-30T14:30:33Z","updated_at":"2015-07-08T09:25:22Z","pushed_at":"2015-12-26T01:13:19Z","git_url":"git://github.com/suzukaze/mruby.git","ssh_url":"git@github.com:suzukaze/mruby.git","clone_url":"https://github.com/suzukaze/mruby.git","svn_url":"https://github.com/suzukaze/mruby","homepage":null,"size":10079,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"mruby:master","ref":"master","sha":"76d44b1b4806a0f88bbf4bc68a1a5b049b88fe2a","user":{"login":"mruby","id":1796512,"avatar_url":"https://avatars.githubusercontent.com/u/1796512?v=3","gravatar_id":"","url":"https://api.github.com/users/mruby","html_url":"https://github.com/mruby","followers_url":"https://api.github.com/users/mruby/followers","following_url":"https://api.github.com/users/mruby/following{/other_user}","gists_url":"https://api.github.com/users/mruby/gists{/gist_id}","starred_url":"https://api.github.com/users/mruby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mruby/subscriptions","organizations_url":"https://api.github.com/users/mruby/orgs","repos_url":"https://api.github.com/users/mruby/repos","events_url":"https://api.github.com/users/mruby/events{/privacy}","received_events_url":"https://api.github.com/users/mruby/received_events","type":"Organization","site_admin":false},"repo":{"id":4073516,"name":"mruby","full_name":"mruby/mruby","owner":{"login":"mruby","id":1796512,"avatar_url":"https://avatars.githubusercontent.com/u/1796512?v=3","gravatar_id":"","url":"https://api.github.com/users/mruby","html_url":"https://github.com/mruby","followers_url":"https://api.github.com/users/mruby/followers","following_url":"https://api.github.com/users/mruby/following{/other_user}","gists_url":"https://api.github.com/users/mruby/gists{/gist_id}","starred_url":"https://api.github.com/users/mruby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mruby/subscriptions","organizations_url":"https://api.github.com/users/mruby/orgs","repos_url":"https://api.github.com/users/mruby/repos","events_url":"https://api.github.com/users/mruby/events{/privacy}","received_events_url":"https://api.github.com/users/mruby/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mruby/mruby","description":"Lightweight Ruby","fork":false,"url":"https://api.github.com/repos/mruby/mruby","forks_url":"https://api.github.com/repos/mruby/mruby/forks","keys_url":"https://api.github.com/repos/mruby/mruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mruby/mruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mruby/mruby/teams","hooks_url":"https://api.github.com/repos/mruby/mruby/hooks","issue_events_url":"https://api.github.com/repos/mruby/mruby/issues/events{/number}","events_url":"https://api.github.com/repos/mruby/mruby/events","assignees_url":"https://api.github.com/repos/mruby/mruby/assignees{/user}","branches_url":"https://api.github.com/repos/mruby/mruby/branches{/branch}","tags_url":"https://api.github.com/repos/mruby/mruby/tags","blobs_url":"https://api.github.com/repos/mruby/mruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mruby/mruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mruby/mruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/mruby/mruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mruby/mruby/statuses/{sha}","languages_url":"https://api.github.com/repos/mruby/mruby/languages","stargazers_url":"https://api.github.com/repos/mruby/mruby/stargazers","contributors_url":"https://api.github.com/repos/mruby/mruby/contributors","subscribers_url":"https://api.github.com/repos/mruby/mruby/subscribers","subscription_url":"https://api.github.com/repos/mruby/mruby/subscription","commits_url":"https://api.github.com/repos/mruby/mruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/mruby/mruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/mruby/mruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/mruby/mruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/mruby/mruby/contents/{+path}","compare_url":"https://api.github.com/repos/mruby/mruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mruby/mruby/merges","archive_url":"https://api.github.com/repos/mruby/mruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mruby/mruby/downloads","issues_url":"https://api.github.com/repos/mruby/mruby/issues{/number}","pulls_url":"https://api.github.com/repos/mruby/mruby/pulls{/number}","milestones_url":"https://api.github.com/repos/mruby/mruby/milestones{/number}","notifications_url":"https://api.github.com/repos/mruby/mruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mruby/mruby/labels{/name}","releases_url":"https://api.github.com/repos/mruby/mruby/releases{/id}","created_at":"2012-04-19T09:11:15Z","updated_at":"2015-12-25T15:31:31Z","pushed_at":"2015-12-26T01:17:00Z","git_url":"git://github.com/mruby/mruby.git","ssh_url":"git@github.com:mruby/mruby.git","clone_url":"https://github.com/mruby/mruby.git","svn_url":"https://github.com/mruby/mruby","homepage":null,"size":15910,"stargazers_count":3289,"watchers_count":3289,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":502,"mirror_url":null,"open_issues_count":139,"forks":502,"open_issues":139,"watchers":3289,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mruby/mruby/pulls/3062"},"html":{"href":"https://github.com/mruby/mruby/pull/3062"},"issue":{"href":"https://api.github.com/repos/mruby/mruby/issues/3062"},"comments":{"href":"https://api.github.com/repos/mruby/mruby/issues/3062/comments"},"review_comments":{"href":"https://api.github.com/repos/mruby/mruby/pulls/3062/comments"},"review_comment":{"href":"https://api.github.com/repos/mruby/mruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mruby/mruby/pulls/3062/commits"},"statuses":{"href":"https://api.github.com/repos/mruby/mruby/statuses/88076901fda5edd312b198c89493a39e4c840ade"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":7,"changed_files":1}}