GitHub PullRequestEvent at 2014-05-13 23:10:34
Repository: grape
Actor: jordansexton
Payload: {"action":"opened","number":642,"pull_request":{"url":"https://api.github.com/repos/intridea/grape/pulls/642","id":15853214,"html_url":"https://github.com/intridea/grape/pull/642","diff_url":"https://github.com/intridea/grape/pull/642.diff","patch_url":"https://github.com/intridea/grape/pull/642.patch","issue_url":"https://api.github.com/repos/intridea/grape/issues/642","number":642,"state":"open","title":"Added support for coercion to Set or Set[Other]","user":{"login":"jordansexton","id":1173161,"avatar_url":"https://avatars.githubusercontent.com/u/1173161?","gravatar_id":"26571b34bf0ffa31892021e51e19d397","url":"https://api.github.com/users/jordansexton","html_url":"https://github.com/jordansexton","followers_url":"https://api.github.com/users/jordansexton/followers","following_url":"https://api.github.com/users/jordansexton/following{/other_user}","gists_url":"https://api.github.com/users/jordansexton/gists{/gist_id}","starred_url":"https://api.github.com/users/jordansexton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordansexton/subscriptions","organizations_url":"https://api.github.com/users/jordansexton/orgs","repos_url":"https://api.github.com/users/jordansexton/repos","events_url":"https://api.github.com/users/jordansexton/events{/privacy}","received_events_url":"https://api.github.com/users/jordansexton/received_events","type":"User","site_admin":false},"body":"I like Virtus's support for coercion to Sets as seen here:\r\nhttps://github.com/solnic/virtus#collection-member-coercions\r\n\r\nThey can be treated the same as Arrays in the case of `nil`, and changing line 42 from `@option[0]` to `@option.first` behaves the same for either.","created_at":"2014-05-13T23:10:34Z","updated_at":"2014-05-13T23:10:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/intridea/grape/pulls/642/commits","review_comments_url":"https://api.github.com/repos/intridea/grape/pulls/642/comments","review_comment_url":"https://api.github.com/repos/intridea/grape/pulls/comments/{number}","comments_url":"https://api.github.com/repos/intridea/grape/issues/642/comments","statuses_url":"https://api.github.com/repos/intridea/grape/statuses/566d783943d21d430b9c856eeabb564c09e5d6e7","head":{"label":"jordansexton:patch-1","ref":"patch-1","sha":"566d783943d21d430b9c856eeabb564c09e5d6e7","user":{"login":"jordansexton","id":1173161,"avatar_url":"https://avatars.githubusercontent.com/u/1173161?","gravatar_id":"26571b34bf0ffa31892021e51e19d397","url":"https://api.github.com/users/jordansexton","html_url":"https://github.com/jordansexton","followers_url":"https://api.github.com/users/jordansexton/followers","following_url":"https://api.github.com/users/jordansexton/following{/other_user}","gists_url":"https://api.github.com/users/jordansexton/gists{/gist_id}","starred_url":"https://api.github.com/users/jordansexton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordansexton/subscriptions","organizations_url":"https://api.github.com/users/jordansexton/orgs","repos_url":"https://api.github.com/users/jordansexton/repos","events_url":"https://api.github.com/users/jordansexton/events{/privacy}","received_events_url":"https://api.github.com/users/jordansexton/received_events","type":"User","site_admin":false},"repo":{"id":19756499,"name":"grape","full_name":"jordansexton/grape","owner":{"login":"jordansexton","id":1173161,"avatar_url":"https://avatars.githubusercontent.com/u/1173161?","gravatar_id":"26571b34bf0ffa31892021e51e19d397","url":"https://api.github.com/users/jordansexton","html_url":"https://github.com/jordansexton","followers_url":"https://api.github.com/users/jordansexton/followers","following_url":"https://api.github.com/users/jordansexton/following{/other_user}","gists_url":"https://api.github.com/users/jordansexton/gists{/gist_id}","starred_url":"https://api.github.com/users/jordansexton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordansexton/subscriptions","organizations_url":"https://api.github.com/users/jordansexton/orgs","repos_url":"https://api.github.com/users/jordansexton/repos","events_url":"https://api.github.com/users/jordansexton/events{/privacy}","received_events_url":"https://api.github.com/users/jordansexton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jordansexton/grape","description":"An opinionated micro-framework for creating REST-like APIs in Ruby.","fork":true,"url":"https://api.github.com/repos/jordansexton/grape","forks_url":"https://api.github.com/repos/jordansexton/grape/forks","keys_url":"https://api.github.com/repos/jordansexton/grape/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jordansexton/grape/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jordansexton/grape/teams","hooks_url":"https://api.github.com/repos/jordansexton/grape/hooks","issue_events_url":"https://api.github.com/repos/jordansexton/grape/issues/events{/number}","events_url":"https://api.github.com/repos/jordansexton/grape/events","assignees_url":"https://api.github.com/repos/jordansexton/grape/assignees{/user}","branches_url":"https://api.github.com/repos/jordansexton/grape/branches{/branch}","tags_url":"https://api.github.com/repos/jordansexton/grape/tags","blobs_url":"https://api.github.com/repos/jordansexton/grape/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jordansexton/grape/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jordansexton/grape/git/refs{/sha}","trees_url":"https://api.github.com/repos/jordansexton/grape/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jordansexton/grape/statuses/{sha}","languages_url":"https://api.github.com/repos/jordansexton/grape/languages","stargazers_url":"https://api.github.com/repos/jordansexton/grape/stargazers","contributors_url":"https://api.github.com/repos/jordansexton/grape/contributors","subscribers_url":"https://api.github.com/repos/jordansexton/grape/subscribers","subscription_url":"https://api.github.com/repos/jordansexton/grape/subscription","commits_url":"https://api.github.com/repos/jordansexton/grape/commits{/sha}","git_commits_url":"https://api.github.com/repos/jordansexton/grape/git/commits{/sha}","comments_url":"https://api.github.com/repos/jordansexton/grape/comments{/number}","issue_comment_url":"https://api.github.com/repos/jordansexton/grape/issues/comments/{number}","contents_url":"https://api.github.com/repos/jordansexton/grape/contents/{+path}","compare_url":"https://api.github.com/repos/jordansexton/grape/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jordansexton/grape/merges","archive_url":"https://api.github.com/repos/jordansexton/grape/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jordansexton/grape/downloads","issues_url":"https://api.github.com/repos/jordansexton/grape/issues{/number}","pulls_url":"https://api.github.com/repos/jordansexton/grape/pulls{/number}","milestones_url":"https://api.github.com/repos/jordansexton/grape/milestones{/number}","notifications_url":"https://api.github.com/repos/jordansexton/grape/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jordansexton/grape/labels{/name}","releases_url":"https://api.github.com/repos/jordansexton/grape/releases{/id}","created_at":"2014-05-13T21:24:53Z","updated_at":"2014-05-13T23:10:34Z","pushed_at":"2014-05-13T23:08:50Z","git_url":"git://github.com/jordansexton/grape.git","ssh_url":"git@github.com:jordansexton/grape.git","clone_url":"https://github.com/jordansexton/grape.git","svn_url":"https://github.com/jordansexton/grape","homepage":"http://intridea.github.io/grape","size":10426,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"intridea:master","ref":"master","sha":"12cb4e7ad80010785e5a66165424098b46c82041","user":{"login":"intridea","id":3747,"avatar_url":"https://avatars.githubusercontent.com/u/3747?","gravatar_id":"75a54fe031ca953d44f974d1c5216a24","url":"https://api.github.com/users/intridea","html_url":"https://github.com/intridea","followers_url":"https://api.github.com/users/intridea/followers","following_url":"https://api.github.com/users/intridea/following{/other_user}","gists_url":"https://api.github.com/users/intridea/gists{/gist_id}","starred_url":"https://api.github.com/users/intridea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intridea/subscriptions","organizations_url":"https://api.github.com/users/intridea/orgs","repos_url":"https://api.github.com/users/intridea/repos","events_url":"https://api.github.com/users/intridea/events{/privacy}","received_events_url":"https://api.github.com/users/intridea/received_events","type":"Organization","site_admin":false},"repo":{"id":812393,"name":"grape","full_name":"intridea/grape","owner":{"login":"intridea","id":3747,"avatar_url":"https://avatars.githubusercontent.com/u/3747?","gravatar_id":"75a54fe031ca953d44f974d1c5216a24","url":"https://api.github.com/users/intridea","html_url":"https://github.com/intridea","followers_url":"https://api.github.com/users/intridea/followers","following_url":"https://api.github.com/users/intridea/following{/other_user}","gists_url":"https://api.github.com/users/intridea/gists{/gist_id}","starred_url":"https://api.github.com/users/intridea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intridea/subscriptions","organizations_url":"https://api.github.com/users/intridea/orgs","repos_url":"https://api.github.com/users/intridea/repos","events_url":"https://api.github.com/users/intridea/events{/privacy}","received_events_url":"https://api.github.com/users/intridea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intridea/grape","description":"An opinionated micro-framework for creating REST-like APIs in Ruby.","fork":false,"url":"https://api.github.com/repos/intridea/grape","forks_url":"https://api.github.com/repos/intridea/grape/forks","keys_url":"https://api.github.com/repos/intridea/grape/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intridea/grape/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intridea/grape/teams","hooks_url":"https://api.github.com/repos/intridea/grape/hooks","issue_events_url":"https://api.github.com/repos/intridea/grape/issues/events{/number}","events_url":"https://api.github.com/repos/intridea/grape/events","assignees_url":"https://api.github.com/repos/intridea/grape/assignees{/user}","branches_url":"https://api.github.com/repos/intridea/grape/branches{/branch}","tags_url":"https://api.github.com/repos/intridea/grape/tags","blobs_url":"https://api.github.com/repos/intridea/grape/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intridea/grape/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intridea/grape/git/refs{/sha}","trees_url":"https://api.github.com/repos/intridea/grape/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intridea/grape/statuses/{sha}","languages_url":"https://api.github.com/repos/intridea/grape/languages","stargazers_url":"https://api.github.com/repos/intridea/grape/stargazers","contributors_url":"https://api.github.com/repos/intridea/grape/contributors","subscribers_url":"https://api.github.com/repos/intridea/grape/subscribers","subscription_url":"https://api.github.com/repos/intridea/grape/subscription","commits_url":"https://api.github.com/repos/intridea/grape/commits{/sha}","git_commits_url":"https://api.github.com/repos/intridea/grape/git/commits{/sha}","comments_url":"https://api.github.com/repos/intridea/grape/comments{/number}","issue_comment_url":"https://api.github.com/repos/intridea/grape/issues/comments/{number}","contents_url":"https://api.github.com/repos/intridea/grape/contents/{+path}","compare_url":"https://api.github.com/repos/intridea/grape/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intridea/grape/merges","archive_url":"https://api.github.com/repos/intridea/grape/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intridea/grape/downloads","issues_url":"https://api.github.com/repos/intridea/grape/issues{/number}","pulls_url":"https://api.github.com/repos/intridea/grape/pulls{/number}","milestones_url":"https://api.github.com/repos/intridea/grape/milestones{/number}","notifications_url":"https://api.github.com/repos/intridea/grape/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intridea/grape/labels{/name}","releases_url":"https://api.github.com/repos/intridea/grape/releases{/id}","created_at":"2010-08-02T14:25:08Z","updated_at":"2014-05-13T19:33:14Z","pushed_at":"2014-05-13T19:33:13Z","git_url":"git://github.com/intridea/grape.git","ssh_url":"git@github.com:intridea/grape.git","clone_url":"https://github.com/intridea/grape.git","svn_url":"https://github.com/intridea/grape","homepage":"http://intridea.github.io/grape","size":10426,"stargazers_count":4346,"watchers_count":4346,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":477,"mirror_url":null,"open_issues_count":55,"forks":477,"open_issues":55,"watchers":4346,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intridea/grape/pulls/642"},"html":{"href":"https://github.com/intridea/grape/pull/642"},"issue":{"href":"https://api.github.com/repos/intridea/grape/issues/642"},"comments":{"href":"https://api.github.com/repos/intridea/grape/issues/642/comments"},"review_comments":{"href":"https://api.github.com/repos/intridea/grape/pulls/642/comments"},"review_comment":{"href":"https://api.github.com/repos/intridea/grape/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/intridea/grape/pulls/642/commits"},"statuses":{"href":"https://api.github.com/repos/intridea/grape/statuses/566d783943d21d430b9c856eeabb564c09e5d6e7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":4,"changed_files":1}}