{"action":"closed","number":310,"pull_request":{"url":"https://api.github.com/repos/ruby-protobuf/protobuf/pulls/310","id":61455556,"html_url":"https://github.com/ruby-protobuf/protobuf/pull/310","diff_url":"https://github.com/ruby-protobuf/protobuf/pull/310.diff","patch_url":"https://github.com/ruby-protobuf/protobuf/pull/310.patch","issue_url":"https://api.github.com/repos/ruby-protobuf/protobuf/issues/310","number":310,"state":"closed","locked":false,"title":"Empty values should not clear a protobuf field","user":{"login":"embark","id":2575512,"avatar_url":"https://avatars.githubusercontent.com/u/2575512?v=3","gravatar_id":"","url":"https://api.github.com/users/embark","html_url":"https://github.com/embark","followers_url":"https://api.github.com/users/embark/followers","following_url":"https://api.github.com/users/embark/following{/other_user}","gists_url":"https://api.github.com/users/embark/gists{/gist_id}","starred_url":"https://api.github.com/users/embark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embark/subscriptions","organizations_url":"https://api.github.com/users/embark/orgs","repos_url":"https://api.github.com/users/embark/repos","events_url":"https://api.github.com/users/embark/events{/privacy}","received_events_url":"https://api.github.com/users/embark/received_events","type":"User","site_admin":false},"body":"Before commit #302, empty? values never cleared a proto field unless the field was a Fixnum or boolean type (which didn't make any sense, and was probably unused, anyway).","created_at":"2016-03-02T19:44:25Z","updated_at":"2016-03-23T23:14:41Z","closed_at":"2016-03-23T23:14:41Z","merged_at":"2016-03-23T23:14:41Z","merge_commit_sha":"efc8a88c31c81569bfc727935d4b8c926c55cbe3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ruby-protobuf/protobuf/pulls/310/commits","review_comments_url":"https://api.github.com/repos/ruby-protobuf/protobuf/pulls/310/comments","review_comment_url":"https://api.github.com/repos/ruby-protobuf/protobuf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ruby-protobuf/protobuf/issues/310/comments","statuses_url":"https://api.github.com/repos/ruby-protobuf/protobuf/statuses/089845d1096066dd24dc805a9515486348a41275","head":{"label":"nerdrew:empty-should-not-clear","ref":"empty-should-not-clear","sha":"089845d1096066dd24dc805a9515486348a41275","user":{"login":"nerdrew","id":10101,"avatar_url":"https://avatars.githubusercontent.com/u/10101?v=3","gravatar_id":"","url":"https://api.github.com/users/nerdrew","html_url":"https://github.com/nerdrew","followers_url":"https://api.github.com/users/nerdrew/followers","following_url":"https://api.github.com/users/nerdrew/following{/other_user}","gists_url":"https://api.github.com/users/nerdrew/gists{/gist_id}","starred_url":"https://api.github.com/users/nerdrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerdrew/subscriptions","organizations_url":"https://api.github.com/users/nerdrew/orgs","repos_url":"https://api.github.com/users/nerdrew/repos","events_url":"https://api.github.com/users/nerdrew/events{/privacy}","received_events_url":"https://api.github.com/users/nerdrew/received_events","type":"User","site_admin":false},"repo":{"id":48508173,"name":"protobuf-gem","full_name":"nerdrew/protobuf-gem","owner":{"login":"nerdrew","id":10101,"avatar_url":"https://avatars.githubusercontent.com/u/10101?v=3","gravatar_id":"","url":"https://api.github.com/users/nerdrew","html_url":"https://github.com/nerdrew","followers_url":"https://api.github.com/users/nerdrew/followers","following_url":"https://api.github.com/users/nerdrew/following{/other_user}","gists_url":"https://api.github.com/users/nerdrew/gists{/gist_id}","starred_url":"https://api.github.com/users/nerdrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerdrew/subscriptions","organizations_url":"https://api.github.com/users/nerdrew/orgs","repos_url":"https://api.github.com/users/nerdrew/repos","events_url":"https://api.github.com/users/nerdrew/events{/privacy}","received_events_url":"https://api.github.com/users/nerdrew/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nerdrew/protobuf-gem","description":"A pure ruby implementation of Google's Protocol Buffers","fork":true,"url":"https://api.github.com/repos/nerdrew/protobuf-gem","forks_url":"https://api.github.com/repos/nerdrew/protobuf-gem/forks","keys_url":"https://api.github.com/repos/nerdrew/protobuf-gem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nerdrew/protobuf-gem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nerdrew/protobuf-gem/teams","hooks_url":"https://api.github.com/repos/nerdrew/protobuf-gem/hooks","issue_events_url":"https://api.github.com/repos/nerdrew/protobuf-gem/issues/events{/number}","events_url":"https://api.github.com/repos/nerdrew/protobuf-gem/events","assignees_url":"https://api.github.com/repos/nerdrew/protobuf-gem/assignees{/user}","branches_url":"https://api.github.com/repos/nerdrew/protobuf-gem/branches{/branch}","tags_url":"https://api.github.com/repos/nerdrew/protobuf-gem/tags","blobs_url":"https://api.github.com/repos/nerdrew/protobuf-gem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nerdrew/protobuf-gem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nerdrew/protobuf-gem/git/refs{/sha}","trees_url":"https://api.github.com/repos/nerdrew/protobuf-gem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nerdrew/protobuf-gem/statuses/{sha}","languages_url":"https://api.github.com/repos/nerdrew/protobuf-gem/languages","stargazers_url":"https://api.github.com/repos/nerdrew/protobuf-gem/stargazers","contributors_url":"https://api.github.com/repos/nerdrew/protobuf-gem/contributors","subscribers_url":"https://api.github.com/repos/nerdrew/protobuf-gem/subscribers","subscription_url":"https://api.github.com/repos/nerdrew/protobuf-gem/subscription","commits_url":"https://api.github.com/repos/nerdrew/protobuf-gem/commits{/sha}","git_commits_url":"https://api.github.com/repos/nerdrew/protobuf-gem/git/commits{/sha}","comments_url":"https://api.github.com/repos/nerdrew/protobuf-gem/comments{/number}","issue_comment_url":"https://api.github.com/repos/nerdrew/protobuf-gem/issues/comments{/number}","contents_url":"https://api.github.com/repos/nerdrew/protobuf-gem/contents/{+path}","compare_url":"https://api.github.com/repos/nerdrew/protobuf-gem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nerdrew/protobuf-gem/merges","archive_url":"https://api.github.com/repos/nerdrew/protobuf-gem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nerdrew/protobuf-gem/downloads","issues_url":"https://api.github.com/repos/nerdrew/protobuf-gem/issues{/number}","pulls_url":"https://api.github.com/repos/nerdrew/protobuf-gem/pulls{/number}","milestones_url":"https://api.github.com/repos/nerdrew/protobuf-gem/milestones{/number}","notifications_url":"https://api.github.com/repos/nerdrew/protobuf-gem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nerdrew/protobuf-gem/labels{/name}","releases_url":"https://api.github.com/repos/nerdrew/protobuf-gem/releases{/id}","deployments_url":"https://api.github.com/repos/nerdrew/protobuf-gem/deployments","created_at":"2015-12-23T19:44:26Z","updated_at":"2016-01-14T23:23:28Z","pushed_at":"2016-03-23T16:09:45Z","git_url":"git://github.com/nerdrew/protobuf-gem.git","ssh_url":"git@github.com:nerdrew/protobuf-gem.git","clone_url":"https://github.com/nerdrew/protobuf-gem.git","svn_url":"https://github.com/nerdrew/protobuf-gem","homepage":"https://github.com/ruby-protobuf","size":2809,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"ruby-protobuf:master","ref":"master","sha":"88df1e7dc85ede01c87ca3deea3b5e248af51057","user":{"login":"ruby-protobuf","id":12246323,"avatar_url":"https://avatars.githubusercontent.com/u/12246323?v=3","gravatar_id":"","url":"https://api.github.com/users/ruby-protobuf","html_url":"https://github.com/ruby-protobuf","followers_url":"https://api.github.com/users/ruby-protobuf/followers","following_url":"https://api.github.com/users/ruby-protobuf/following{/other_user}","gists_url":"https://api.github.com/users/ruby-protobuf/gists{/gist_id}","starred_url":"https://api.github.com/users/ruby-protobuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruby-protobuf/subscriptions","organizations_url":"https://api.github.com/users/ruby-protobuf/orgs","repos_url":"https://api.github.com/users/ruby-protobuf/repos","events_url":"https://api.github.com/users/ruby-protobuf/events{/privacy}","received_events_url":"https://api.github.com/users/ruby-protobuf/received_events","type":"Organization","site_admin":false},"repo":{"id":2724591,"name":"protobuf","full_name":"ruby-protobuf/protobuf","owner":{"login":"ruby-protobuf","id":12246323,"avatar_url":"https://avatars.githubusercontent.com/u/12246323?v=3","gravatar_id":"","url":"https://api.github.com/users/ruby-protobuf","html_url":"https://github.com/ruby-protobuf","followers_url":"https://api.github.com/users/ruby-protobuf/followers","following_url":"https://api.github.com/users/ruby-protobuf/following{/other_user}","gists_url":"https://api.github.com/users/ruby-protobuf/gists{/gist_id}","starred_url":"https://api.github.com/users/ruby-protobuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruby-protobuf/subscriptions","organizations_url":"https://api.github.com/users/ruby-protobuf/orgs","repos_url":"https://api.github.com/users/ruby-protobuf/repos","events_url":"https://api.github.com/users/ruby-protobuf/events{/privacy}","received_events_url":"https://api.github.com/users/ruby-protobuf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ruby-protobuf/protobuf","description":"A pure ruby implementation of Google's Protocol Buffers","fork":false,"url":"https://api.github.com/repos/ruby-protobuf/protobuf","forks_url":"https://api.github.com/repos/ruby-protobuf/protobuf/forks","keys_url":"https://api.github.com/repos/ruby-protobuf/protobuf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ruby-protobuf/protobuf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ruby-protobuf/protobuf/teams","hooks_url":"https://api.github.com/repos/ruby-protobuf/protobuf/hooks","issue_events_url":"https://api.github.com/repos/ruby-protobuf/protobuf/issues/events{/number}","events_url":"https://api.github.com/repos/ruby-protobuf/protobuf/events","assignees_url":"https://api.github.com/repos/ruby-protobuf/protobuf/assignees{/user}","branches_url":"https://api.github.com/repos/ruby-protobuf/protobuf/branches{/branch}","tags_url":"https://api.github.com/repos/ruby-protobuf/protobuf/tags","blobs_url":"https://api.github.com/repos/ruby-protobuf/protobuf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ruby-protobuf/protobuf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ruby-protobuf/protobuf/git/refs{/sha}","trees_url":"https://api.github.com/repos/ruby-protobuf/protobuf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ruby-protobuf/protobuf/statuses/{sha}","languages_url":"https://api.github.com/repos/ruby-protobuf/protobuf/languages","stargazers_url":"https://api.github.com/repos/ruby-protobuf/protobuf/stargazers","contributors_url":"https://api.github.com/repos/ruby-protobuf/protobuf/contributors","subscribers_url":"https://api.github.com/repos/ruby-protobuf/protobuf/subscribers","subscription_url":"https://api.github.com/repos/ruby-protobuf/protobuf/subscription","commits_url":"https://api.github.com/repos/ruby-protobuf/protobuf/commits{/sha}","git_commits_url":"https://api.github.com/repos/ruby-protobuf/protobuf/git/commits{/sha}","comments_url":"https://api.github.com/repos/ruby-protobuf/protobuf/comments{/number}","issue_comment_url":"https://api.github.com/repos/ruby-protobuf/protobuf/issues/comments{/number}","contents_url":"https://api.github.com/repos/ruby-protobuf/protobuf/contents/{+path}","compare_url":"https://api.github.com/repos/ruby-protobuf/protobuf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ruby-protobuf/protobuf/merges","archive_url":"https://api.github.com/repos/ruby-protobuf/protobuf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ruby-protobuf/protobuf/downloads","issues_url":"https://api.github.com/repos/ruby-protobuf/protobuf/issues{/number}","pulls_url":"https://api.github.com/repos/ruby-protobuf/protobuf/pulls{/number}","milestones_url":"https://api.github.com/repos/ruby-protobuf/protobuf/milestones{/number}","notifications_url":"https://api.github.com/repos/ruby-protobuf/protobuf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ruby-protobuf/protobuf/labels{/name}","releases_url":"https://api.github.com/repos/ruby-protobuf/protobuf/releases{/id}","deployments_url":"https://api.github.com/repos/ruby-protobuf/protobuf/deployments","created_at":"2011-11-07T06:52:37Z","updated_at":"2016-03-22T21:27:32Z","pushed_at":"2016-03-23T23:14:41Z","git_url":"git://github.com/ruby-protobuf/protobuf.git","ssh_url":"git@github.com:ruby-protobuf/protobuf.git","clone_url":"https://github.com/ruby-protobuf/protobuf.git","svn_url":"https://github.com/ruby-protobuf/protobuf","homepage":"https://github.com/ruby-protobuf","size":3848,"stargazers_count":205,"watchers_count":205,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":32,"forks":56,"open_issues":32,"watchers":205,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ruby-protobuf/protobuf/pulls/310"},"html":{"href":"https://github.com/ruby-protobuf/protobuf/pull/310"},"issue":{"href":"https://api.github.com/repos/ruby-protobuf/protobuf/issues/310"},"comments":{"href":"https://api.github.com/repos/ruby-protobuf/protobuf/issues/310/comments"},"review_comments":{"href":"https://api.github.com/repos/ruby-protobuf/protobuf/pulls/310/comments"},"review_comment":{"href":"https://api.github.com/repos/ruby-protobuf/protobuf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ruby-protobuf/protobuf/pulls/310/commits"},"statuses":{"href":"https://api.github.com/repos/ruby-protobuf/protobuf/statuses/089845d1096066dd24dc805a9515486348a41275"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"film42","id":1043908,"avatar_url":"https://avatars.githubusercontent.com/u/1043908?v=3","gravatar_id":"","url":"https://api.github.com/users/film42","html_url":"https://github.com/film42","followers_url":"https://api.github.com/users/film42/followers","following_url":"https://api.github.com/users/film42/following{/other_user}","gists_url":"https://api.github.com/users/film42/gists{/gist_id}","starred_url":"https://api.github.com/users/film42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/film42/subscriptions","organizations_url":"https://api.github.com/users/film42/orgs","repos_url":"https://api.github.com/users/film42/repos","events_url":"https://api.github.com/users/film42/events{/privacy}","received_events_url":"https://api.github.com/users/film42/received_events","type":"User","site_admin":false},"comments":13,"review_comments":0,"commits":1,"additions":140,"deletions":59,"changed_files":2}}