{"action":"created","comment":{"url":"https://api.github.com/repos/google/protobuf/pulls/comments/29541562","id":29541562,"diff_hunk":"@@ -68,13 +68,23 @@ To Build the JRuby extension, you will need:\n \n First switch to the desired platform with rbenv or RVM.\n \n-Then install the required Ruby gems:\n+Then install the required Ruby gems (MRI):\n \n     $ gem install bundler\n     $ bundle\n \n+Then install the required Ruby gems (JRuby):\n+\n+    $ jgem install bundler","path":"ruby/README.md","position":12,"original_position":12,"commit_id":"af77bbddd2d3cdeacdc37199e6335ce66a9fd6a3","original_commit_id":"af77bbddd2d3cdeacdc37199e6335ce66a9fd6a3","user":{"login":"skippy","id":3746,"avatar_url":"https://avatars.githubusercontent.com/u/3746?v=3","gravatar_id":"","url":"https://api.github.com/users/skippy","html_url":"https://github.com/skippy","followers_url":"https://api.github.com/users/skippy/followers","following_url":"https://api.github.com/users/skippy/following{/other_user}","gists_url":"https://api.github.com/users/skippy/gists{/gist_id}","starred_url":"https://api.github.com/users/skippy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skippy/subscriptions","organizations_url":"https://api.github.com/users/skippy/orgs","repos_url":"https://api.github.com/users/skippy/repos","events_url":"https://api.github.com/users/skippy/events{/privacy}","received_events_url":"https://api.github.com/users/skippy/received_events","type":"User","site_admin":false},"body":"you're right; `jgem` is no longer needed.  I'll remove (running `gem` was hanging, but there was a stuck thread; I reran and it worked fine)","created_at":"2015-05-01T23:47:05Z","updated_at":"2015-05-01T23:47:05Z","html_url":"https://github.com/google/protobuf/pull/332#discussion_r29541562","pull_request_url":"https://api.github.com/repos/google/protobuf/pulls/332","_links":{"self":{"href":"https://api.github.com/repos/google/protobuf/pulls/comments/29541562"},"html":{"href":"https://github.com/google/protobuf/pull/332#discussion_r29541562"},"pull_request":{"href":"https://api.github.com/repos/google/protobuf/pulls/332"}}},"pull_request":{"url":"https://api.github.com/repos/google/protobuf/pulls/332","id":34570639,"html_url":"https://github.com/google/protobuf/pull/332","diff_url":"https://github.com/google/protobuf/pull/332.diff","patch_url":"https://github.com/google/protobuf/pull/332.patch","issue_url":"https://api.github.com/repos/google/protobuf/issues/332","number":332,"state":"open","locked":false,"title":"ruby: return nil for out of bounds","user":{"login":"skippy","id":3746,"avatar_url":"https://avatars.githubusercontent.com/u/3746?v=3","gravatar_id":"","url":"https://api.github.com/users/skippy","html_url":"https://github.com/skippy","followers_url":"https://api.github.com/users/skippy/followers","following_url":"https://api.github.com/users/skippy/following{/other_user}","gists_url":"https://api.github.com/users/skippy/gists{/gist_id}","starred_url":"https://api.github.com/users/skippy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skippy/subscriptions","organizations_url":"https://api.github.com/users/skippy/orgs","repos_url":"https://api.github.com/users/skippy/repos","events_url":"https://api.github.com/users/skippy/events{/privacy}","received_events_url":"https://api.github.com/users/skippy/received_events","type":"User","site_admin":false},"body":"ruby returns nil if an array index is out of bounds\r\n\r\nalso allows negative indicies (again, to make it act more like a ruby lib)","created_at":"2015-05-01T21:53:40Z","updated_at":"2015-05-01T23:47:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"94c35f75cd92502c690c3f374303b1b771e6da82","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/protobuf/pulls/332/commits","review_comments_url":"https://api.github.com/repos/google/protobuf/pulls/332/comments","review_comment_url":"https://api.github.com/repos/google/protobuf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/protobuf/issues/332/comments","statuses_url":"https://api.github.com/repos/google/protobuf/statuses/af77bbddd2d3cdeacdc37199e6335ce66a9fd6a3","head":{"label":"skippy:nil-out-of-bounds","ref":"nil-out-of-bounds","sha":"af77bbddd2d3cdeacdc37199e6335ce66a9fd6a3","user":{"login":"skippy","id":3746,"avatar_url":"https://avatars.githubusercontent.com/u/3746?v=3","gravatar_id":"","url":"https://api.github.com/users/skippy","html_url":"https://github.com/skippy","followers_url":"https://api.github.com/users/skippy/followers","following_url":"https://api.github.com/users/skippy/following{/other_user}","gists_url":"https://api.github.com/users/skippy/gists{/gist_id}","starred_url":"https://api.github.com/users/skippy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skippy/subscriptions","organizations_url":"https://api.github.com/users/skippy/orgs","repos_url":"https://api.github.com/users/skippy/repos","events_url":"https://api.github.com/users/skippy/events{/privacy}","received_events_url":"https://api.github.com/users/skippy/received_events","type":"User","site_admin":false},"repo":{"id":34908314,"name":"protobuf-1","full_name":"skippy/protobuf-1","owner":{"login":"skippy","id":3746,"avatar_url":"https://avatars.githubusercontent.com/u/3746?v=3","gravatar_id":"","url":"https://api.github.com/users/skippy","html_url":"https://github.com/skippy","followers_url":"https://api.github.com/users/skippy/followers","following_url":"https://api.github.com/users/skippy/following{/other_user}","gists_url":"https://api.github.com/users/skippy/gists{/gist_id}","starred_url":"https://api.github.com/users/skippy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skippy/subscriptions","organizations_url":"https://api.github.com/users/skippy/orgs","repos_url":"https://api.github.com/users/skippy/repos","events_url":"https://api.github.com/users/skippy/events{/privacy}","received_events_url":"https://api.github.com/users/skippy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/skippy/protobuf-1","description":"Protocol Buffers - Google's data interchange format","fork":true,"url":"https://api.github.com/repos/skippy/protobuf-1","forks_url":"https://api.github.com/repos/skippy/protobuf-1/forks","keys_url":"https://api.github.com/repos/skippy/protobuf-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skippy/protobuf-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skippy/protobuf-1/teams","hooks_url":"https://api.github.com/repos/skippy/protobuf-1/hooks","issue_events_url":"https://api.github.com/repos/skippy/protobuf-1/issues/events{/number}","events_url":"https://api.github.com/repos/skippy/protobuf-1/events","assignees_url":"https://api.github.com/repos/skippy/protobuf-1/assignees{/user}","branches_url":"https://api.github.com/repos/skippy/protobuf-1/branches{/branch}","tags_url":"https://api.github.com/repos/skippy/protobuf-1/tags","blobs_url":"https://api.github.com/repos/skippy/protobuf-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skippy/protobuf-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skippy/protobuf-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/skippy/protobuf-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skippy/protobuf-1/statuses/{sha}","languages_url":"https://api.github.com/repos/skippy/protobuf-1/languages","stargazers_url":"https://api.github.com/repos/skippy/protobuf-1/stargazers","contributors_url":"https://api.github.com/repos/skippy/protobuf-1/contributors","subscribers_url":"https://api.github.com/repos/skippy/protobuf-1/subscribers","subscription_url":"https://api.github.com/repos/skippy/protobuf-1/subscription","commits_url":"https://api.github.com/repos/skippy/protobuf-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/skippy/protobuf-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/skippy/protobuf-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/skippy/protobuf-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/skippy/protobuf-1/contents/{+path}","compare_url":"https://api.github.com/repos/skippy/protobuf-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skippy/protobuf-1/merges","archive_url":"https://api.github.com/repos/skippy/protobuf-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skippy/protobuf-1/downloads","issues_url":"https://api.github.com/repos/skippy/protobuf-1/issues{/number}","pulls_url":"https://api.github.com/repos/skippy/protobuf-1/pulls{/number}","milestones_url":"https://api.github.com/repos/skippy/protobuf-1/milestones{/number}","notifications_url":"https://api.github.com/repos/skippy/protobuf-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skippy/protobuf-1/labels{/name}","releases_url":"https://api.github.com/repos/skippy/protobuf-1/releases{/id}","created_at":"2015-05-01T15:07:32Z","updated_at":"2015-05-01T21:57:27Z","pushed_at":"2015-05-01T22:04:28Z","git_url":"git://github.com/skippy/protobuf-1.git","ssh_url":"git@github.com:skippy/protobuf-1.git","clone_url":"https://github.com/skippy/protobuf-1.git","svn_url":"https://github.com/skippy/protobuf-1","homepage":"https://developers.google.com/protocol-buffers/","size":25985,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"4b2a6328bd2fe6a1d58bbe536c512c566a2673d3","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":23357588,"name":"protobuf","full_name":"google/protobuf","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/protobuf","description":"Protocol Buffers - Google's data interchange format","fork":false,"url":"https://api.github.com/repos/google/protobuf","forks_url":"https://api.github.com/repos/google/protobuf/forks","keys_url":"https://api.github.com/repos/google/protobuf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/protobuf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/protobuf/teams","hooks_url":"https://api.github.com/repos/google/protobuf/hooks","issue_events_url":"https://api.github.com/repos/google/protobuf/issues/events{/number}","events_url":"https://api.github.com/repos/google/protobuf/events","assignees_url":"https://api.github.com/repos/google/protobuf/assignees{/user}","branches_url":"https://api.github.com/repos/google/protobuf/branches{/branch}","tags_url":"https://api.github.com/repos/google/protobuf/tags","blobs_url":"https://api.github.com/repos/google/protobuf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/protobuf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/protobuf/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/protobuf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/protobuf/statuses/{sha}","languages_url":"https://api.github.com/repos/google/protobuf/languages","stargazers_url":"https://api.github.com/repos/google/protobuf/stargazers","contributors_url":"https://api.github.com/repos/google/protobuf/contributors","subscribers_url":"https://api.github.com/repos/google/protobuf/subscribers","subscription_url":"https://api.github.com/repos/google/protobuf/subscription","commits_url":"https://api.github.com/repos/google/protobuf/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/protobuf/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/protobuf/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/protobuf/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/protobuf/contents/{+path}","compare_url":"https://api.github.com/repos/google/protobuf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/protobuf/merges","archive_url":"https://api.github.com/repos/google/protobuf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/protobuf/downloads","issues_url":"https://api.github.com/repos/google/protobuf/issues{/number}","pulls_url":"https://api.github.com/repos/google/protobuf/pulls{/number}","milestones_url":"https://api.github.com/repos/google/protobuf/milestones{/number}","notifications_url":"https://api.github.com/repos/google/protobuf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/protobuf/labels{/name}","releases_url":"https://api.github.com/repos/google/protobuf/releases{/id}","created_at":"2014-08-26T15:52:15Z","updated_at":"2015-05-01T22:53:48Z","pushed_at":"2015-05-01T22:04:45Z","git_url":"git://github.com/google/protobuf.git","ssh_url":"git@github.com:google/protobuf.git","clone_url":"https://github.com/google/protobuf.git","svn_url":"https://github.com/google/protobuf","homepage":"https://developers.google.com/protocol-buffers/","size":41419,"stargazers_count":3032,"watchers_count":3032,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":742,"mirror_url":null,"open_issues_count":104,"forks":742,"open_issues":104,"watchers":3032,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/protobuf/pulls/332"},"html":{"href":"https://github.com/google/protobuf/pull/332"},"issue":{"href":"https://api.github.com/repos/google/protobuf/issues/332"},"comments":{"href":"https://api.github.com/repos/google/protobuf/issues/332/comments"},"review_comments":{"href":"https://api.github.com/repos/google/protobuf/pulls/332/comments"},"review_comment":{"href":"https://api.github.com/repos/google/protobuf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/protobuf/pulls/332/commits"},"statuses":{"href":"https://api.github.com/repos/google/protobuf/statuses/af77bbddd2d3cdeacdc37199e6335ce66a9fd6a3"}}}}