{"action":"opened","number":852,"pull_request":{"url":"https://api.github.com/repos/Azure/autorest/pulls/852","id":63171206,"html_url":"https://github.com/Azure/autorest/pull/852","diff_url":"https://github.com/Azure/autorest/pull/852.diff","patch_url":"https://github.com/Azure/autorest/pull/852.patch","issue_url":"https://api.github.com/repos/Azure/autorest/issues/852","number":852,"state":"open","locked":false,"title":"Ruby CG -- passing parameter constants","user":{"login":"NiklasGustafsson","id":1791495,"avatar_url":"https://avatars.githubusercontent.com/u/1791495?v=3","gravatar_id":"","url":"https://api.github.com/users/NiklasGustafsson","html_url":"https://github.com/NiklasGustafsson","followers_url":"https://api.github.com/users/NiklasGustafsson/followers","following_url":"https://api.github.com/users/NiklasGustafsson/following{/other_user}","gists_url":"https://api.github.com/users/NiklasGustafsson/gists{/gist_id}","starred_url":"https://api.github.com/users/NiklasGustafsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiklasGustafsson/subscriptions","organizations_url":"https://api.github.com/users/NiklasGustafsson/orgs","repos_url":"https://api.github.com/users/NiklasGustafsson/repos","events_url":"https://api.github.com/users/NiklasGustafsson/events{/privacy}","received_events_url":"https://api.github.com/users/NiklasGustafsson/received_events","type":"User","site_admin":false},"body":"This implements support for passing constants as operation parameters and suppressing them in the method signature corresponding to the operation. Several tests turned out to already be using constant parameters, so the feature is being tested and some tests had to be rewritten to no longer pass in values since there is no need.\r\n\r\nAlso uncovered a bug in the handling of how byte arrays were converted to strings, which was being masked by a test before the change was made.","created_at":"2016-03-17T04:12:53Z","updated_at":"2016-03-17T04:12:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Azure/autorest/pulls/852/commits","review_comments_url":"https://api.github.com/repos/Azure/autorest/pulls/852/comments","review_comment_url":"https://api.github.com/repos/Azure/autorest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/autorest/issues/852/comments","statuses_url":"https://api.github.com/repos/Azure/autorest/statuses/9d24b97e8ca88422e5f77c212806e1098b82459d","head":{"label":"NiklasGustafsson:master","ref":"master","sha":"9d24b97e8ca88422e5f77c212806e1098b82459d","user":{"login":"NiklasGustafsson","id":1791495,"avatar_url":"https://avatars.githubusercontent.com/u/1791495?v=3","gravatar_id":"","url":"https://api.github.com/users/NiklasGustafsson","html_url":"https://github.com/NiklasGustafsson","followers_url":"https://api.github.com/users/NiklasGustafsson/followers","following_url":"https://api.github.com/users/NiklasGustafsson/following{/other_user}","gists_url":"https://api.github.com/users/NiklasGustafsson/gists{/gist_id}","starred_url":"https://api.github.com/users/NiklasGustafsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiklasGustafsson/subscriptions","organizations_url":"https://api.github.com/users/NiklasGustafsson/orgs","repos_url":"https://api.github.com/users/NiklasGustafsson/repos","events_url":"https://api.github.com/users/NiklasGustafsson/events{/privacy}","received_events_url":"https://api.github.com/users/NiklasGustafsson/received_events","type":"User","site_admin":false},"repo":{"id":52650615,"name":"autorest","full_name":"NiklasGustafsson/autorest","owner":{"login":"NiklasGustafsson","id":1791495,"avatar_url":"https://avatars.githubusercontent.com/u/1791495?v=3","gravatar_id":"","url":"https://api.github.com/users/NiklasGustafsson","html_url":"https://github.com/NiklasGustafsson","followers_url":"https://api.github.com/users/NiklasGustafsson/followers","following_url":"https://api.github.com/users/NiklasGustafsson/following{/other_user}","gists_url":"https://api.github.com/users/NiklasGustafsson/gists{/gist_id}","starred_url":"https://api.github.com/users/NiklasGustafsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiklasGustafsson/subscriptions","organizations_url":"https://api.github.com/users/NiklasGustafsson/orgs","repos_url":"https://api.github.com/users/NiklasGustafsson/repos","events_url":"https://api.github.com/users/NiklasGustafsson/events{/privacy}","received_events_url":"https://api.github.com/users/NiklasGustafsson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NiklasGustafsson/autorest","description":"","fork":true,"url":"https://api.github.com/repos/NiklasGustafsson/autorest","forks_url":"https://api.github.com/repos/NiklasGustafsson/autorest/forks","keys_url":"https://api.github.com/repos/NiklasGustafsson/autorest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NiklasGustafsson/autorest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NiklasGustafsson/autorest/teams","hooks_url":"https://api.github.com/repos/NiklasGustafsson/autorest/hooks","issue_events_url":"https://api.github.com/repos/NiklasGustafsson/autorest/issues/events{/number}","events_url":"https://api.github.com/repos/NiklasGustafsson/autorest/events","assignees_url":"https://api.github.com/repos/NiklasGustafsson/autorest/assignees{/user}","branches_url":"https://api.github.com/repos/NiklasGustafsson/autorest/branches{/branch}","tags_url":"https://api.github.com/repos/NiklasGustafsson/autorest/tags","blobs_url":"https://api.github.com/repos/NiklasGustafsson/autorest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NiklasGustafsson/autorest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NiklasGustafsson/autorest/git/refs{/sha}","trees_url":"https://api.github.com/repos/NiklasGustafsson/autorest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NiklasGustafsson/autorest/statuses/{sha}","languages_url":"https://api.github.com/repos/NiklasGustafsson/autorest/languages","stargazers_url":"https://api.github.com/repos/NiklasGustafsson/autorest/stargazers","contributors_url":"https://api.github.com/repos/NiklasGustafsson/autorest/contributors","subscribers_url":"https://api.github.com/repos/NiklasGustafsson/autorest/subscribers","subscription_url":"https://api.github.com/repos/NiklasGustafsson/autorest/subscription","commits_url":"https://api.github.com/repos/NiklasGustafsson/autorest/commits{/sha}","git_commits_url":"https://api.github.com/repos/NiklasGustafsson/autorest/git/commits{/sha}","comments_url":"https://api.github.com/repos/NiklasGustafsson/autorest/comments{/number}","issue_comment_url":"https://api.github.com/repos/NiklasGustafsson/autorest/issues/comments{/number}","contents_url":"https://api.github.com/repos/NiklasGustafsson/autorest/contents/{+path}","compare_url":"https://api.github.com/repos/NiklasGustafsson/autorest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NiklasGustafsson/autorest/merges","archive_url":"https://api.github.com/repos/NiklasGustafsson/autorest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NiklasGustafsson/autorest/downloads","issues_url":"https://api.github.com/repos/NiklasGustafsson/autorest/issues{/number}","pulls_url":"https://api.github.com/repos/NiklasGustafsson/autorest/pulls{/number}","milestones_url":"https://api.github.com/repos/NiklasGustafsson/autorest/milestones{/number}","notifications_url":"https://api.github.com/repos/NiklasGustafsson/autorest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NiklasGustafsson/autorest/labels{/name}","releases_url":"https://api.github.com/repos/NiklasGustafsson/autorest/releases{/id}","deployments_url":"https://api.github.com/repos/NiklasGustafsson/autorest/deployments","created_at":"2016-02-27T04:53:13Z","updated_at":"2016-02-27T04:53:20Z","pushed_at":"2016-03-16T21:46:00Z","git_url":"git://github.com/NiklasGustafsson/autorest.git","ssh_url":"git@github.com:NiklasGustafsson/autorest.git","clone_url":"https://github.com/NiklasGustafsson/autorest.git","svn_url":"https://github.com/NiklasGustafsson/autorest","homepage":null,"size":41379,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"Azure:master","ref":"master","sha":"5fa2ff1f1a00dbbf46da34965b3ac770c4b0b8d8","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":31089461,"name":"autorest","full_name":"Azure/autorest","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/autorest","description":"","fork":false,"url":"https://api.github.com/repos/Azure/autorest","forks_url":"https://api.github.com/repos/Azure/autorest/forks","keys_url":"https://api.github.com/repos/Azure/autorest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/autorest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/autorest/teams","hooks_url":"https://api.github.com/repos/Azure/autorest/hooks","issue_events_url":"https://api.github.com/repos/Azure/autorest/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/autorest/events","assignees_url":"https://api.github.com/repos/Azure/autorest/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/autorest/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/autorest/tags","blobs_url":"https://api.github.com/repos/Azure/autorest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/autorest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/autorest/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/autorest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/autorest/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/autorest/languages","stargazers_url":"https://api.github.com/repos/Azure/autorest/stargazers","contributors_url":"https://api.github.com/repos/Azure/autorest/contributors","subscribers_url":"https://api.github.com/repos/Azure/autorest/subscribers","subscription_url":"https://api.github.com/repos/Azure/autorest/subscription","commits_url":"https://api.github.com/repos/Azure/autorest/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/autorest/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/autorest/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/autorest/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/autorest/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/autorest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/autorest/merges","archive_url":"https://api.github.com/repos/Azure/autorest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/autorest/downloads","issues_url":"https://api.github.com/repos/Azure/autorest/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/autorest/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/autorest/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/autorest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/autorest/labels{/name}","releases_url":"https://api.github.com/repos/Azure/autorest/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/autorest/deployments","created_at":"2015-02-20T23:02:54Z","updated_at":"2016-03-10T00:51:13Z","pushed_at":"2016-03-16T22:33:51Z","git_url":"git://github.com/Azure/autorest.git","ssh_url":"git@github.com:Azure/autorest.git","clone_url":"https://github.com/Azure/autorest.git","svn_url":"https://github.com/Azure/autorest","homepage":null,"size":42989,"stargazers_count":325,"watchers_count":325,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":95,"mirror_url":null,"open_issues_count":65,"forks":95,"open_issues":65,"watchers":325,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/autorest/pulls/852"},"html":{"href":"https://github.com/Azure/autorest/pull/852"},"issue":{"href":"https://api.github.com/repos/Azure/autorest/issues/852"},"comments":{"href":"https://api.github.com/repos/Azure/autorest/issues/852/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/autorest/pulls/852/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/autorest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/autorest/pulls/852/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/autorest/statuses/9d24b97e8ca88422e5f77c212806e1098b82459d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":8,"additions":172,"deletions":165,"changed_files":5}}