{"action":"created","comment":{"url":"https://api.github.com/repos/googleapis/toolkit/pulls/comments/63597460","id":63597460,"diff_hunk":"@@ -0,0 +1,82 @@\n+/* Copyright 2016 Google Inc\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *      http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package com.google.api.codegen.ruby;\n+\n+import com.google.auto.value.AutoValue;\n+import com.google.common.collect.ImmutableMap;\n+import com.google.common.io.Resources;\n+\n+import org.yaml.snakeyaml.Yaml;\n+\n+import java.io.IOException;\n+import java.nio.charset.StandardCharsets;\n+import java.util.Map;\n+import java.util.regex.Matcher;\n+import java.util.regex.Pattern;\n+\n+public class RubyApiaryNameMap {","path":"src/main/java/com/google/api/codegen/ruby/RubyApiaryNameMap.java","position":29,"original_position":29,"commit_id":"03b71a2011fc0186cb73e9e4a69b3334b41af829","original_commit_id":"03b71a2011fc0186cb73e9e4a69b3334b41af829","user":{"login":"pongad","id":1617025,"avatar_url":"https://avatars.githubusercontent.com/u/1617025?v=3","gravatar_id":"","url":"https://api.github.com/users/pongad","html_url":"https://github.com/pongad","followers_url":"https://api.github.com/users/pongad/followers","following_url":"https://api.github.com/users/pongad/following{/other_user}","gists_url":"https://api.github.com/users/pongad/gists{/gist_id}","starred_url":"https://api.github.com/users/pongad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pongad/subscriptions","organizations_url":"https://api.github.com/users/pongad/orgs","repos_url":"https://api.github.com/users/pongad/repos","events_url":"https://api.github.com/users/pongad/events{/privacy}","received_events_url":"https://api.github.com/users/pongad/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2016-05-17T20:28:49Z","updated_at":"2016-05-17T20:28:49Z","html_url":"https://github.com/googleapis/toolkit/pull/107#discussion_r63597460","pull_request_url":"https://api.github.com/repos/googleapis/toolkit/pulls/107","_links":{"self":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/comments/63597460"},"html":{"href":"https://github.com/googleapis/toolkit/pull/107#discussion_r63597460"},"pull_request":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/107"}}},"pull_request":{"url":"https://api.github.com/repos/googleapis/toolkit/pulls/107","id":70055877,"html_url":"https://github.com/googleapis/toolkit/pull/107","diff_url":"https://github.com/googleapis/toolkit/pull/107.diff","patch_url":"https://github.com/googleapis/toolkit/pull/107.patch","issue_url":"https://api.github.com/repos/googleapis/toolkit/issues/107","number":107,"state":"open","locked":false,"title":"Add Ruby Discovery Samples Generator","user":{"login":"pongad","id":1617025,"avatar_url":"https://avatars.githubusercontent.com/u/1617025?v=3","gravatar_id":"","url":"https://api.github.com/users/pongad","html_url":"https://github.com/pongad","followers_url":"https://api.github.com/users/pongad/followers","following_url":"https://api.github.com/users/pongad/following{/other_user}","gists_url":"https://api.github.com/users/pongad/gists{/gist_id}","starred_url":"https://api.github.com/users/pongad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pongad/subscriptions","organizations_url":"https://api.github.com/users/pongad/orgs","repos_url":"https://api.github.com/users/pongad/repos","events_url":"https://api.github.com/users/pongad/events{/privacy}","received_events_url":"https://api.github.com/users/pongad/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-13T20:47:06Z","updated_at":"2016-05-17T20:28:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c58ed86b7b264120a056b64158b4cba63fbdcaee","assignee":{"login":"jmuk","id":816093,"avatar_url":"https://avatars.githubusercontent.com/u/816093?v=3","gravatar_id":"","url":"https://api.github.com/users/jmuk","html_url":"https://github.com/jmuk","followers_url":"https://api.github.com/users/jmuk/followers","following_url":"https://api.github.com/users/jmuk/following{/other_user}","gists_url":"https://api.github.com/users/jmuk/gists{/gist_id}","starred_url":"https://api.github.com/users/jmuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmuk/subscriptions","organizations_url":"https://api.github.com/users/jmuk/orgs","repos_url":"https://api.github.com/users/jmuk/repos","events_url":"https://api.github.com/users/jmuk/events{/privacy}","received_events_url":"https://api.github.com/users/jmuk/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/googleapis/toolkit/pulls/107/commits","review_comments_url":"https://api.github.com/repos/googleapis/toolkit/pulls/107/comments","review_comment_url":"https://api.github.com/repos/googleapis/toolkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/googleapis/toolkit/issues/107/comments","statuses_url":"https://api.github.com/repos/googleapis/toolkit/statuses/03b71a2011fc0186cb73e9e4a69b3334b41af829","head":{"label":"pongad:ruby-samples","ref":"ruby-samples","sha":"03b71a2011fc0186cb73e9e4a69b3334b41af829","user":{"login":"pongad","id":1617025,"avatar_url":"https://avatars.githubusercontent.com/u/1617025?v=3","gravatar_id":"","url":"https://api.github.com/users/pongad","html_url":"https://github.com/pongad","followers_url":"https://api.github.com/users/pongad/followers","following_url":"https://api.github.com/users/pongad/following{/other_user}","gists_url":"https://api.github.com/users/pongad/gists{/gist_id}","starred_url":"https://api.github.com/users/pongad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pongad/subscriptions","organizations_url":"https://api.github.com/users/pongad/orgs","repos_url":"https://api.github.com/users/pongad/repos","events_url":"https://api.github.com/users/pongad/events{/privacy}","received_events_url":"https://api.github.com/users/pongad/received_events","type":"User","site_admin":false},"repo":{"id":56806415,"name":"toolkit","full_name":"pongad/toolkit","owner":{"login":"pongad","id":1617025,"avatar_url":"https://avatars.githubusercontent.com/u/1617025?v=3","gravatar_id":"","url":"https://api.github.com/users/pongad","html_url":"https://github.com/pongad","followers_url":"https://api.github.com/users/pongad/followers","following_url":"https://api.github.com/users/pongad/following{/other_user}","gists_url":"https://api.github.com/users/pongad/gists{/gist_id}","starred_url":"https://api.github.com/users/pongad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pongad/subscriptions","organizations_url":"https://api.github.com/users/pongad/orgs","repos_url":"https://api.github.com/users/pongad/repos","events_url":"https://api.github.com/users/pongad/events{/privacy}","received_events_url":"https://api.github.com/users/pongad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pongad/toolkit","description":"","fork":true,"url":"https://api.github.com/repos/pongad/toolkit","forks_url":"https://api.github.com/repos/pongad/toolkit/forks","keys_url":"https://api.github.com/repos/pongad/toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pongad/toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pongad/toolkit/teams","hooks_url":"https://api.github.com/repos/pongad/toolkit/hooks","issue_events_url":"https://api.github.com/repos/pongad/toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/pongad/toolkit/events","assignees_url":"https://api.github.com/repos/pongad/toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/pongad/toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/pongad/toolkit/tags","blobs_url":"https://api.github.com/repos/pongad/toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pongad/toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pongad/toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/pongad/toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pongad/toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/pongad/toolkit/languages","stargazers_url":"https://api.github.com/repos/pongad/toolkit/stargazers","contributors_url":"https://api.github.com/repos/pongad/toolkit/contributors","subscribers_url":"https://api.github.com/repos/pongad/toolkit/subscribers","subscription_url":"https://api.github.com/repos/pongad/toolkit/subscription","commits_url":"https://api.github.com/repos/pongad/toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/pongad/toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/pongad/toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/pongad/toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/pongad/toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/pongad/toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pongad/toolkit/merges","archive_url":"https://api.github.com/repos/pongad/toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pongad/toolkit/downloads","issues_url":"https://api.github.com/repos/pongad/toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/pongad/toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/pongad/toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/pongad/toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pongad/toolkit/labels{/name}","releases_url":"https://api.github.com/repos/pongad/toolkit/releases{/id}","deployments_url":"https://api.github.com/repos/pongad/toolkit/deployments","created_at":"2016-04-21T21:22:02Z","updated_at":"2016-04-21T21:22:04Z","pushed_at":"2016-05-17T01:34:12Z","git_url":"git://github.com/pongad/toolkit.git","ssh_url":"git@github.com:pongad/toolkit.git","clone_url":"https://github.com/pongad/toolkit.git","svn_url":"https://github.com/pongad/toolkit","homepage":null,"size":2761,"stargazers_count":0,"watchers_count":0,"language":"Java","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":0,"default_branch":"master"}},"base":{"label":"googleapis:master","ref":"master","sha":"4ce241ea1184eaab5532ab2d3dd1c8b55f457ccd","user":{"login":"googleapis","id":16785467,"avatar_url":"https://avatars.githubusercontent.com/u/16785467?v=3","gravatar_id":"","url":"https://api.github.com/users/googleapis","html_url":"https://github.com/googleapis","followers_url":"https://api.github.com/users/googleapis/followers","following_url":"https://api.github.com/users/googleapis/following{/other_user}","gists_url":"https://api.github.com/users/googleapis/gists{/gist_id}","starred_url":"https://api.github.com/users/googleapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googleapis/subscriptions","organizations_url":"https://api.github.com/users/googleapis/orgs","repos_url":"https://api.github.com/users/googleapis/repos","events_url":"https://api.github.com/users/googleapis/events{/privacy}","received_events_url":"https://api.github.com/users/googleapis/received_events","type":"Organization","site_admin":false},"repo":{"id":56533838,"name":"toolkit","full_name":"googleapis/toolkit","owner":{"login":"googleapis","id":16785467,"avatar_url":"https://avatars.githubusercontent.com/u/16785467?v=3","gravatar_id":"","url":"https://api.github.com/users/googleapis","html_url":"https://github.com/googleapis","followers_url":"https://api.github.com/users/googleapis/followers","following_url":"https://api.github.com/users/googleapis/following{/other_user}","gists_url":"https://api.github.com/users/googleapis/gists{/gist_id}","starred_url":"https://api.github.com/users/googleapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googleapis/subscriptions","organizations_url":"https://api.github.com/users/googleapis/orgs","repos_url":"https://api.github.com/users/googleapis/repos","events_url":"https://api.github.com/users/googleapis/events{/privacy}","received_events_url":"https://api.github.com/users/googleapis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/googleapis/toolkit","description":"","fork":false,"url":"https://api.github.com/repos/googleapis/toolkit","forks_url":"https://api.github.com/repos/googleapis/toolkit/forks","keys_url":"https://api.github.com/repos/googleapis/toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googleapis/toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googleapis/toolkit/teams","hooks_url":"https://api.github.com/repos/googleapis/toolkit/hooks","issue_events_url":"https://api.github.com/repos/googleapis/toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/googleapis/toolkit/events","assignees_url":"https://api.github.com/repos/googleapis/toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/googleapis/toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/googleapis/toolkit/tags","blobs_url":"https://api.github.com/repos/googleapis/toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googleapis/toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googleapis/toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/googleapis/toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googleapis/toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/googleapis/toolkit/languages","stargazers_url":"https://api.github.com/repos/googleapis/toolkit/stargazers","contributors_url":"https://api.github.com/repos/googleapis/toolkit/contributors","subscribers_url":"https://api.github.com/repos/googleapis/toolkit/subscribers","subscription_url":"https://api.github.com/repos/googleapis/toolkit/subscription","commits_url":"https://api.github.com/repos/googleapis/toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/googleapis/toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/googleapis/toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/googleapis/toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/googleapis/toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/googleapis/toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googleapis/toolkit/merges","archive_url":"https://api.github.com/repos/googleapis/toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googleapis/toolkit/downloads","issues_url":"https://api.github.com/repos/googleapis/toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/googleapis/toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/googleapis/toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/googleapis/toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googleapis/toolkit/labels{/name}","releases_url":"https://api.github.com/repos/googleapis/toolkit/releases{/id}","deployments_url":"https://api.github.com/repos/googleapis/toolkit/deployments","created_at":"2016-04-18T18:58:04Z","updated_at":"2016-05-03T00:46:26Z","pushed_at":"2016-05-17T18:48:11Z","git_url":"git://github.com/googleapis/toolkit.git","ssh_url":"git@github.com:googleapis/toolkit.git","clone_url":"https://github.com/googleapis/toolkit.git","svn_url":"https://github.com/googleapis/toolkit","homepage":null,"size":3104,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":34,"forks":13,"open_issues":34,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/107"},"html":{"href":"https://github.com/googleapis/toolkit/pull/107"},"issue":{"href":"https://api.github.com/repos/googleapis/toolkit/issues/107"},"comments":{"href":"https://api.github.com/repos/googleapis/toolkit/issues/107/comments"},"review_comments":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/107/comments"},"review_comment":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/107/commits"},"statuses":{"href":"https://api.github.com/repos/googleapis/toolkit/statuses/03b71a2011fc0186cb73e9e4a69b3334b41af829"}}}}