{"action":"opened","number":1051,"pull_request":{"url":"https://api.github.com/repos/ninja-build/ninja/pulls/1051","id":50734540,"html_url":"https://github.com/ninja-build/ninja/pull/1051","diff_url":"https://github.com/ninja-build/ninja/pull/1051.diff","patch_url":"https://github.com/ninja-build/ninja/pull/1051.patch","issue_url":"https://api.github.com/repos/ninja-build/ninja/issues/1051","number":1051,"state":"open","locked":false,"title":"Change struct to namespace","user":{"login":"compnerd","id":63311,"avatar_url":"https://avatars.githubusercontent.com/u/63311?v=3","gravatar_id":"","url":"https://api.github.com/users/compnerd","html_url":"https://github.com/compnerd","followers_url":"https://api.github.com/users/compnerd/followers","following_url":"https://api.github.com/users/compnerd/following{/other_user}","gists_url":"https://api.github.com/users/compnerd/gists{/gist_id}","starred_url":"https://api.github.com/users/compnerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compnerd/subscriptions","organizations_url":"https://api.github.com/users/compnerd/orgs","repos_url":"https://api.github.com/users/compnerd/repos","events_url":"https://api.github.com/users/compnerd/events{/privacy}","received_events_url":"https://api.github.com/users/compnerd/received_events","type":"User","site_admin":false},"body":"The struct contained only static members.  Convert the functions to freestanding\r\nfunctions in a namespace.  This provides identical functionality in a more\r\nidiomatic manner.","created_at":"2015-11-14T22:55:01Z","updated_at":"2015-11-14T22:55:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ninja-build/ninja/pulls/1051/commits","review_comments_url":"https://api.github.com/repos/ninja-build/ninja/pulls/1051/comments","review_comment_url":"https://api.github.com/repos/ninja-build/ninja/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ninja-build/ninja/issues/1051/comments","statuses_url":"https://api.github.com/repos/ninja-build/ninja/statuses/75f6a02fee8c64d6206214d248d458c6e15ccde9","head":{"label":"compnerd:struct-namespace","ref":"struct-namespace","sha":"75f6a02fee8c64d6206214d248d458c6e15ccde9","user":{"login":"compnerd","id":63311,"avatar_url":"https://avatars.githubusercontent.com/u/63311?v=3","gravatar_id":"","url":"https://api.github.com/users/compnerd","html_url":"https://github.com/compnerd","followers_url":"https://api.github.com/users/compnerd/followers","following_url":"https://api.github.com/users/compnerd/following{/other_user}","gists_url":"https://api.github.com/users/compnerd/gists{/gist_id}","starred_url":"https://api.github.com/users/compnerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compnerd/subscriptions","organizations_url":"https://api.github.com/users/compnerd/orgs","repos_url":"https://api.github.com/users/compnerd/repos","events_url":"https://api.github.com/users/compnerd/events{/privacy}","received_events_url":"https://api.github.com/users/compnerd/received_events","type":"User","site_admin":false},"repo":{"id":46195003,"name":"ninja","full_name":"compnerd/ninja","owner":{"login":"compnerd","id":63311,"avatar_url":"https://avatars.githubusercontent.com/u/63311?v=3","gravatar_id":"","url":"https://api.github.com/users/compnerd","html_url":"https://github.com/compnerd","followers_url":"https://api.github.com/users/compnerd/followers","following_url":"https://api.github.com/users/compnerd/following{/other_user}","gists_url":"https://api.github.com/users/compnerd/gists{/gist_id}","starred_url":"https://api.github.com/users/compnerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compnerd/subscriptions","organizations_url":"https://api.github.com/users/compnerd/orgs","repos_url":"https://api.github.com/users/compnerd/repos","events_url":"https://api.github.com/users/compnerd/events{/privacy}","received_events_url":"https://api.github.com/users/compnerd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/compnerd/ninja","description":"a small build system with a focus on speed","fork":true,"url":"https://api.github.com/repos/compnerd/ninja","forks_url":"https://api.github.com/repos/compnerd/ninja/forks","keys_url":"https://api.github.com/repos/compnerd/ninja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/compnerd/ninja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/compnerd/ninja/teams","hooks_url":"https://api.github.com/repos/compnerd/ninja/hooks","issue_events_url":"https://api.github.com/repos/compnerd/ninja/issues/events{/number}","events_url":"https://api.github.com/repos/compnerd/ninja/events","assignees_url":"https://api.github.com/repos/compnerd/ninja/assignees{/user}","branches_url":"https://api.github.com/repos/compnerd/ninja/branches{/branch}","tags_url":"https://api.github.com/repos/compnerd/ninja/tags","blobs_url":"https://api.github.com/repos/compnerd/ninja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/compnerd/ninja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/compnerd/ninja/git/refs{/sha}","trees_url":"https://api.github.com/repos/compnerd/ninja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/compnerd/ninja/statuses/{sha}","languages_url":"https://api.github.com/repos/compnerd/ninja/languages","stargazers_url":"https://api.github.com/repos/compnerd/ninja/stargazers","contributors_url":"https://api.github.com/repos/compnerd/ninja/contributors","subscribers_url":"https://api.github.com/repos/compnerd/ninja/subscribers","subscription_url":"https://api.github.com/repos/compnerd/ninja/subscription","commits_url":"https://api.github.com/repos/compnerd/ninja/commits{/sha}","git_commits_url":"https://api.github.com/repos/compnerd/ninja/git/commits{/sha}","comments_url":"https://api.github.com/repos/compnerd/ninja/comments{/number}","issue_comment_url":"https://api.github.com/repos/compnerd/ninja/issues/comments{/number}","contents_url":"https://api.github.com/repos/compnerd/ninja/contents/{+path}","compare_url":"https://api.github.com/repos/compnerd/ninja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/compnerd/ninja/merges","archive_url":"https://api.github.com/repos/compnerd/ninja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/compnerd/ninja/downloads","issues_url":"https://api.github.com/repos/compnerd/ninja/issues{/number}","pulls_url":"https://api.github.com/repos/compnerd/ninja/pulls{/number}","milestones_url":"https://api.github.com/repos/compnerd/ninja/milestones{/number}","notifications_url":"https://api.github.com/repos/compnerd/ninja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/compnerd/ninja/labels{/name}","releases_url":"https://api.github.com/repos/compnerd/ninja/releases{/id}","created_at":"2015-11-14T22:41:27Z","updated_at":"2015-11-14T22:41:28Z","pushed_at":"2015-11-14T22:43:06Z","git_url":"git://github.com/compnerd/ninja.git","ssh_url":"git@github.com:compnerd/ninja.git","clone_url":"https://github.com/compnerd/ninja.git","svn_url":"https://github.com/compnerd/ninja","homepage":"http://ninja-build.org/","size":10884,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"ninja-build:master","ref":"master","sha":"207ff58e44294a8ce7df044b9b01f96799a972ac","user":{"login":"ninja-build","id":11653218,"avatar_url":"https://avatars.githubusercontent.com/u/11653218?v=3","gravatar_id":"","url":"https://api.github.com/users/ninja-build","html_url":"https://github.com/ninja-build","followers_url":"https://api.github.com/users/ninja-build/followers","following_url":"https://api.github.com/users/ninja-build/following{/other_user}","gists_url":"https://api.github.com/users/ninja-build/gists{/gist_id}","starred_url":"https://api.github.com/users/ninja-build/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninja-build/subscriptions","organizations_url":"https://api.github.com/users/ninja-build/orgs","repos_url":"https://api.github.com/users/ninja-build/repos","events_url":"https://api.github.com/users/ninja-build/events{/privacy}","received_events_url":"https://api.github.com/users/ninja-build/received_events","type":"Organization","site_admin":false},"repo":{"id":1335132,"name":"ninja","full_name":"ninja-build/ninja","owner":{"login":"ninja-build","id":11653218,"avatar_url":"https://avatars.githubusercontent.com/u/11653218?v=3","gravatar_id":"","url":"https://api.github.com/users/ninja-build","html_url":"https://github.com/ninja-build","followers_url":"https://api.github.com/users/ninja-build/followers","following_url":"https://api.github.com/users/ninja-build/following{/other_user}","gists_url":"https://api.github.com/users/ninja-build/gists{/gist_id}","starred_url":"https://api.github.com/users/ninja-build/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninja-build/subscriptions","organizations_url":"https://api.github.com/users/ninja-build/orgs","repos_url":"https://api.github.com/users/ninja-build/repos","events_url":"https://api.github.com/users/ninja-build/events{/privacy}","received_events_url":"https://api.github.com/users/ninja-build/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ninja-build/ninja","description":"a small build system with a focus on speed","fork":false,"url":"https://api.github.com/repos/ninja-build/ninja","forks_url":"https://api.github.com/repos/ninja-build/ninja/forks","keys_url":"https://api.github.com/repos/ninja-build/ninja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ninja-build/ninja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ninja-build/ninja/teams","hooks_url":"https://api.github.com/repos/ninja-build/ninja/hooks","issue_events_url":"https://api.github.com/repos/ninja-build/ninja/issues/events{/number}","events_url":"https://api.github.com/repos/ninja-build/ninja/events","assignees_url":"https://api.github.com/repos/ninja-build/ninja/assignees{/user}","branches_url":"https://api.github.com/repos/ninja-build/ninja/branches{/branch}","tags_url":"https://api.github.com/repos/ninja-build/ninja/tags","blobs_url":"https://api.github.com/repos/ninja-build/ninja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ninja-build/ninja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ninja-build/ninja/git/refs{/sha}","trees_url":"https://api.github.com/repos/ninja-build/ninja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ninja-build/ninja/statuses/{sha}","languages_url":"https://api.github.com/repos/ninja-build/ninja/languages","stargazers_url":"https://api.github.com/repos/ninja-build/ninja/stargazers","contributors_url":"https://api.github.com/repos/ninja-build/ninja/contributors","subscribers_url":"https://api.github.com/repos/ninja-build/ninja/subscribers","subscription_url":"https://api.github.com/repos/ninja-build/ninja/subscription","commits_url":"https://api.github.com/repos/ninja-build/ninja/commits{/sha}","git_commits_url":"https://api.github.com/repos/ninja-build/ninja/git/commits{/sha}","comments_url":"https://api.github.com/repos/ninja-build/ninja/comments{/number}","issue_comment_url":"https://api.github.com/repos/ninja-build/ninja/issues/comments{/number}","contents_url":"https://api.github.com/repos/ninja-build/ninja/contents/{+path}","compare_url":"https://api.github.com/repos/ninja-build/ninja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ninja-build/ninja/merges","archive_url":"https://api.github.com/repos/ninja-build/ninja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ninja-build/ninja/downloads","issues_url":"https://api.github.com/repos/ninja-build/ninja/issues{/number}","pulls_url":"https://api.github.com/repos/ninja-build/ninja/pulls{/number}","milestones_url":"https://api.github.com/repos/ninja-build/ninja/milestones{/number}","notifications_url":"https://api.github.com/repos/ninja-build/ninja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ninja-build/ninja/labels{/name}","releases_url":"https://api.github.com/repos/ninja-build/ninja/releases{/id}","created_at":"2011-02-06T19:07:12Z","updated_at":"2015-11-14T08:26:26Z","pushed_at":"2015-11-14T22:55:01Z","git_url":"git://github.com/ninja-build/ninja.git","ssh_url":"git@github.com:ninja-build/ninja.git","clone_url":"https://github.com/ninja-build/ninja.git","svn_url":"https://github.com/ninja-build/ninja","homepage":"http://ninja-build.org/","size":10884,"stargazers_count":1640,"watchers_count":1640,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":293,"mirror_url":null,"open_issues_count":156,"forks":293,"open_issues":156,"watchers":1640,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ninja-build/ninja/pulls/1051"},"html":{"href":"https://github.com/ninja-build/ninja/pull/1051"},"issue":{"href":"https://api.github.com/repos/ninja-build/ninja/issues/1051"},"comments":{"href":"https://api.github.com/repos/ninja-build/ninja/issues/1051/comments"},"review_comments":{"href":"https://api.github.com/repos/ninja-build/ninja/pulls/1051/comments"},"review_comment":{"href":"https://api.github.com/repos/ninja-build/ninja/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ninja-build/ninja/pulls/1051/commits"},"statuses":{"href":"https://api.github.com/repos/ninja-build/ninja/statuses/75f6a02fee8c64d6206214d248d458c6e15ccde9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":17,"deletions":15,"changed_files":2}}