GitHub PullRequestEvent at 2014-01-08 20:14:25
Repository: candlepin
Actor: awood
Payload: {"action":"closed","number":477,"pull_request":{"url":"https://api.github.com/repos/candlepin/candlepin/pulls/477","id":11217650,"html_url":"https://github.com/candlepin/candlepin/pull/477","diff_url":"https://github.com/candlepin/candlepin/pull/477.diff","patch_url":"https://github.com/candlepin/candlepin/pull/477.patch","issue_url":"https://github.com/candlepin/candlepin/pull/477","number":477,"state":"closed","title":"Use Ruby's require_relative to load project specific libraries.","user":{"login":"awood","id":17975,"avatar_url":"https://gravatar.com/avatar/d38311328dc991dc2094415dbf8ff3f4?d=https%3A%2F%2Fidenticons.github.com%2F27bc180c3de1916f7b9834792801f003.png&r=x","gravatar_id":"d38311328dc991dc2094415dbf8ff3f4","url":"https://api.github.com/users/awood","html_url":"https://github.com/awood","followers_url":"https://api.github.com/users/awood/followers","following_url":"https://api.github.com/users/awood/following{/other_user}","gists_url":"https://api.github.com/users/awood/gists{/gist_id}","starred_url":"https://api.github.com/users/awood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awood/subscriptions","organizations_url":"https://api.github.com/users/awood/orgs","repos_url":"https://api.github.com/users/awood/repos","events_url":"https://api.github.com/users/awood/events{/privacy}","received_events_url":"https://api.github.com/users/awood/received_events","type":"User","site_admin":false},"body":"By using require_relative, we can run cpc and spec tests without\r\nhaving to be in a certain directory.  The require_relative method\r\nwas added in Ruby 1.9.2.\r\n\r\nSee https://practicingruby.com/articles/ways-to-load-code?u=dc2ab0f9bb\r\nand http://extensions.rubyforge.org/rdoc/classes/Kernel.html","created_at":"2014-01-03T20:16:11Z","updated_at":"2014-01-08T20:14:24Z","closed_at":"2014-01-08T20:14:24Z","merged_at":null,"merge_commit_sha":"b420da6108a4ac1b2c0f2c20fff54ae538a4723c","assignee":{"login":"wottop","id":1753002,"avatar_url":"https://gravatar.com/avatar/e5964335f8c0009534692afdb141a8e6?d=https%3A%2F%2Fidenticons.github.com%2F952d3378fa19b0926eace1c0670c8201.png&r=x","gravatar_id":"e5964335f8c0009534692afdb141a8e6","url":"https://api.github.com/users/wottop","html_url":"https://github.com/wottop","followers_url":"https://api.github.com/users/wottop/followers","following_url":"https://api.github.com/users/wottop/following{/other_user}","gists_url":"https://api.github.com/users/wottop/gists{/gist_id}","starred_url":"https://api.github.com/users/wottop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wottop/subscriptions","organizations_url":"https://api.github.com/users/wottop/orgs","repos_url":"https://api.github.com/users/wottop/repos","events_url":"https://api.github.com/users/wottop/events{/privacy}","received_events_url":"https://api.github.com/users/wottop/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://github.com/candlepin/candlepin/pull/477/commits","review_comments_url":"https://github.com/candlepin/candlepin/pull/477/comments","review_comment_url":"/repos/candlepin/candlepin/pulls/comments/{number}","comments_url":"https://api.github.com/repos/candlepin/candlepin/issues/477/comments","statuses_url":"https://api.github.com/repos/candlepin/candlepin/statuses/c4a67ac7381dcf74b7cbe43a9d2c2b16be1de962","head":{"label":"candlepin:awood/cpc_require_relative","ref":"awood/cpc_require_relative","sha":"c4a67ac7381dcf74b7cbe43a9d2c2b16be1de962","user":{"login":"candlepin","id":1749632,"avatar_url":"https://gravatar.com/avatar/8210547cb1a421e2100459c7690915c2?d=https%3A%2F%2Fidenticons.github.com%2F80b1487e7c7a6f02c34a5c700e51b9cf.png&r=x","gravatar_id":"8210547cb1a421e2100459c7690915c2","url":"https://api.github.com/users/candlepin","html_url":"https://github.com/candlepin","followers_url":"https://api.github.com/users/candlepin/followers","following_url":"https://api.github.com/users/candlepin/following{/other_user}","gists_url":"https://api.github.com/users/candlepin/gists{/gist_id}","starred_url":"https://api.github.com/users/candlepin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/candlepin/subscriptions","organizations_url":"https://api.github.com/users/candlepin/orgs","repos_url":"https://api.github.com/users/candlepin/repos","events_url":"https://api.github.com/users/candlepin/events{/privacy}","received_events_url":"https://api.github.com/users/candlepin/received_events","type":"Organization","site_admin":false},"repo":{"id":4586516,"name":"candlepin","full_name":"candlepin/candlepin","owner":{"login":"candlepin","id":1749632,"avatar_url":"https://gravatar.com/avatar/8210547cb1a421e2100459c7690915c2?d=https%3A%2F%2Fidenticons.github.com%2F80b1487e7c7a6f02c34a5c700e51b9cf.png&r=x","gravatar_id":"8210547cb1a421e2100459c7690915c2","url":"https://api.github.com/users/candlepin","html_url":"https://github.com/candlepin","followers_url":"https://api.github.com/users/candlepin/followers","following_url":"https://api.github.com/users/candlepin/following{/other_user}","gists_url":"https://api.github.com/users/candlepin/gists{/gist_id}","starred_url":"https://api.github.com/users/candlepin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/candlepin/subscriptions","organizations_url":"https://api.github.com/users/candlepin/orgs","repos_url":"https://api.github.com/users/candlepin/repos","events_url":"https://api.github.com/users/candlepin/events{/privacy}","received_events_url":"https://api.github.com/users/candlepin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/candlepin/candlepin","description":"The Candlepin entitlement engine","fork":false,"url":"https://api.github.com/repos/candlepin/candlepin","forks_url":"https://api.github.com/repos/candlepin/candlepin/forks","keys_url":"https://api.github.com/repos/candlepin/candlepin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/candlepin/candlepin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/candlepin/candlepin/teams","hooks_url":"https://api.github.com/repos/candlepin/candlepin/hooks","issue_events_url":"https://api.github.com/repos/candlepin/candlepin/issues/events{/number}","events_url":"https://api.github.com/repos/candlepin/candlepin/events","assignees_url":"https://api.github.com/repos/candlepin/candlepin/assignees{/user}","branches_url":"https://api.github.com/repos/candlepin/candlepin/branches{/branch}","tags_url":"https://api.github.com/repos/candlepin/candlepin/tags","blobs_url":"https://api.github.com/repos/candlepin/candlepin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/candlepin/candlepin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/candlepin/candlepin/git/refs{/sha}","trees_url":"https://api.github.com/repos/candlepin/candlepin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/candlepin/candlepin/statuses/{sha}","languages_url":"https://api.github.com/repos/candlepin/candlepin/languages","stargazers_url":"https://api.github.com/repos/candlepin/candlepin/stargazers","contributors_url":"https://api.github.com/repos/candlepin/candlepin/contributors","subscribers_url":"https://api.github.com/repos/candlepin/candlepin/subscribers","subscription_url":"https://api.github.com/repos/candlepin/candlepin/subscription","commits_url":"https://api.github.com/repos/candlepin/candlepin/commits{/sha}","git_commits_url":"https://api.github.com/repos/candlepin/candlepin/git/commits{/sha}","comments_url":"https://api.github.com/repos/candlepin/candlepin/comments{/number}","issue_comment_url":"https://api.github.com/repos/candlepin/candlepin/issues/comments/{number}","contents_url":"https://api.github.com/repos/candlepin/candlepin/contents/{+path}","compare_url":"https://api.github.com/repos/candlepin/candlepin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/candlepin/candlepin/merges","archive_url":"https://api.github.com/repos/candlepin/candlepin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/candlepin/candlepin/downloads","issues_url":"https://api.github.com/repos/candlepin/candlepin/issues{/number}","pulls_url":"https://api.github.com/repos/candlepin/candlepin/pulls{/number}","milestones_url":"https://api.github.com/repos/candlepin/candlepin/milestones{/number}","notifications_url":"https://api.github.com/repos/candlepin/candlepin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/candlepin/candlepin/labels{/name}","releases_url":"https://api.github.com/repos/candlepin/candlepin/releases{/id}","created_at":"2012-06-07T14:58:35Z","updated_at":"2014-01-08T20:14:24Z","pushed_at":"2014-01-08T19:55:44Z","git_url":"git://github.com/candlepin/candlepin.git","ssh_url":"git@github.com:candlepin/candlepin.git","clone_url":"https://github.com/candlepin/candlepin.git","svn_url":"https://github.com/candlepin/candlepin","homepage":"http://candlepinproject.org","size":37227,"stargazers_count":16,"watchers_count":16,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":13,"mirror_url":null,"open_issues_count":4,"forks":13,"open_issues":4,"watchers":16,"default_branch":"master","master_branch":"master"}},"base":{"label":"candlepin:master","ref":"master","sha":"9c20b5f2b2de50073c0c68d9432066ab6ef4c4a5","user":{"login":"candlepin","id":1749632,"avatar_url":"https://gravatar.com/avatar/8210547cb1a421e2100459c7690915c2?d=https%3A%2F%2Fidenticons.github.com%2F80b1487e7c7a6f02c34a5c700e51b9cf.png&r=x","gravatar_id":"8210547cb1a421e2100459c7690915c2","url":"https://api.github.com/users/candlepin","html_url":"https://github.com/candlepin","followers_url":"https://api.github.com/users/candlepin/followers","following_url":"https://api.github.com/users/candlepin/following{/other_user}","gists_url":"https://api.github.com/users/candlepin/gists{/gist_id}","starred_url":"https://api.github.com/users/candlepin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/candlepin/subscriptions","organizations_url":"https://api.github.com/users/candlepin/orgs","repos_url":"https://api.github.com/users/candlepin/repos","events_url":"https://api.github.com/users/candlepin/events{/privacy}","received_events_url":"https://api.github.com/users/candlepin/received_events","type":"Organization","site_admin":false},"repo":{"id":4586516,"name":"candlepin","full_name":"candlepin/candlepin","owner":{"login":"candlepin","id":1749632,"avatar_url":"https://gravatar.com/avatar/8210547cb1a421e2100459c7690915c2?d=https%3A%2F%2Fidenticons.github.com%2F80b1487e7c7a6f02c34a5c700e51b9cf.png&r=x","gravatar_id":"8210547cb1a421e2100459c7690915c2","url":"https://api.github.com/users/candlepin","html_url":"https://github.com/candlepin","followers_url":"https://api.github.com/users/candlepin/followers","following_url":"https://api.github.com/users/candlepin/following{/other_user}","gists_url":"https://api.github.com/users/candlepin/gists{/gist_id}","starred_url":"https://api.github.com/users/candlepin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/candlepin/subscriptions","organizations_url":"https://api.github.com/users/candlepin/orgs","repos_url":"https://api.github.com/users/candlepin/repos","events_url":"https://api.github.com/users/candlepin/events{/privacy}","received_events_url":"https://api.github.com/users/candlepin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/candlepin/candlepin","description":"The Candlepin entitlement engine","fork":false,"url":"https://api.github.com/repos/candlepin/candlepin","forks_url":"https://api.github.com/repos/candlepin/candlepin/forks","keys_url":"https://api.github.com/repos/candlepin/candlepin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/candlepin/candlepin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/candlepin/candlepin/teams","hooks_url":"https://api.github.com/repos/candlepin/candlepin/hooks","issue_events_url":"https://api.github.com/repos/candlepin/candlepin/issues/events{/number}","events_url":"https://api.github.com/repos/candlepin/candlepin/events","assignees_url":"https://api.github.com/repos/candlepin/candlepin/assignees{/user}","branches_url":"https://api.github.com/repos/candlepin/candlepin/branches{/branch}","tags_url":"https://api.github.com/repos/candlepin/candlepin/tags","blobs_url":"https://api.github.com/repos/candlepin/candlepin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/candlepin/candlepin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/candlepin/candlepin/git/refs{/sha}","trees_url":"https://api.github.com/repos/candlepin/candlepin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/candlepin/candlepin/statuses/{sha}","languages_url":"https://api.github.com/repos/candlepin/candlepin/languages","stargazers_url":"https://api.github.com/repos/candlepin/candlepin/stargazers","contributors_url":"https://api.github.com/repos/candlepin/candlepin/contributors","subscribers_url":"https://api.github.com/repos/candlepin/candlepin/subscribers","subscription_url":"https://api.github.com/repos/candlepin/candlepin/subscription","commits_url":"https://api.github.com/repos/candlepin/candlepin/commits{/sha}","git_commits_url":"https://api.github.com/repos/candlepin/candlepin/git/commits{/sha}","comments_url":"https://api.github.com/repos/candlepin/candlepin/comments{/number}","issue_comment_url":"https://api.github.com/repos/candlepin/candlepin/issues/comments/{number}","contents_url":"https://api.github.com/repos/candlepin/candlepin/contents/{+path}","compare_url":"https://api.github.com/repos/candlepin/candlepin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/candlepin/candlepin/merges","archive_url":"https://api.github.com/repos/candlepin/candlepin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/candlepin/candlepin/downloads","issues_url":"https://api.github.com/repos/candlepin/candlepin/issues{/number}","pulls_url":"https://api.github.com/repos/candlepin/candlepin/pulls{/number}","milestones_url":"https://api.github.com/repos/candlepin/candlepin/milestones{/number}","notifications_url":"https://api.github.com/repos/candlepin/candlepin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/candlepin/candlepin/labels{/name}","releases_url":"https://api.github.com/repos/candlepin/candlepin/releases{/id}","created_at":"2012-06-07T14:58:35Z","updated_at":"2014-01-08T20:14:24Z","pushed_at":"2014-01-08T19:55:44Z","git_url":"git://github.com/candlepin/candlepin.git","ssh_url":"git@github.com:candlepin/candlepin.git","clone_url":"https://github.com/candlepin/candlepin.git","svn_url":"https://github.com/candlepin/candlepin","homepage":"http://candlepinproject.org","size":37227,"stargazers_count":16,"watchers_count":16,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":13,"mirror_url":null,"open_issues_count":4,"forks":13,"open_issues":4,"watchers":16,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/candlepin/candlepin/pulls/477"},"html":{"href":"https://github.com/candlepin/candlepin/pull/477"},"issue":{"href":"https://api.github.com/repos/candlepin/candlepin/issues/477"},"comments":{"href":"https://api.github.com/repos/candlepin/candlepin/issues/477/comments"},"review_comments":{"href":"https://api.github.com/repos/candlepin/candlepin/pulls/477/comments"},"statuses":{"href":"https://api.github.com/repos/candlepin/candlepin/statuses/c4a67ac7381dcf74b7cbe43a9d2c2b16be1de962"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":83,"deletions":18,"changed_files":15}}