{"action":"created","comment":{"url":"https://api.github.com/repos/merit-gem/merit/pulls/comments/61824655","id":61824655,"diff_hunk":"@@ -90,7 +90,8 @@ class Engine < Rails::Engine\n           include Merit::ControllerExtensions\n         rescue NameError => e\n           # Trap NameError if installing/generating files\n-          raise e unless e.to_s =~ /uninitialized constant Merit::BadgeRules/\n+          raise e unless e.to_s =~\n+            /uninitialized constant Merit::(BadgeRules|PointRules)/","path":"lib/merit.rb","position":6,"original_position":6,"commit_id":"4811a563fa6aac5a369950d4b64bf12a07d0d6fd","original_commit_id":"4811a563fa6aac5a369950d4b64bf12a07d0d6fd","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Align the operands of a condition in an `unless` statement spanning multiple lines.","created_at":"2016-05-03T00:02:41Z","updated_at":"2016-05-03T00:02:41Z","html_url":"https://github.com/merit-gem/merit/pull/253#discussion_r61824655","pull_request_url":"https://api.github.com/repos/merit-gem/merit/pulls/253","_links":{"self":{"href":"https://api.github.com/repos/merit-gem/merit/pulls/comments/61824655"},"html":{"href":"https://github.com/merit-gem/merit/pull/253#discussion_r61824655"},"pull_request":{"href":"https://api.github.com/repos/merit-gem/merit/pulls/253"}}},"pull_request":{"url":"https://api.github.com/repos/merit-gem/merit/pulls/253","id":68640736,"html_url":"https://github.com/merit-gem/merit/pull/253","diff_url":"https://github.com/merit-gem/merit/pull/253.diff","patch_url":"https://github.com/merit-gem/merit/pull/253.patch","issue_url":"https://api.github.com/repos/merit-gem/merit/issues/253","number":253,"state":"open","locked":false,"title":"NameError to include PointRules","user":{"login":"bluciam","id":1175444,"avatar_url":"https://avatars.githubusercontent.com/u/1175444?v=3","gravatar_id":"","url":"https://api.github.com/users/bluciam","html_url":"https://github.com/bluciam","followers_url":"https://api.github.com/users/bluciam/followers","following_url":"https://api.github.com/users/bluciam/following{/other_user}","gists_url":"https://api.github.com/users/bluciam/gists{/gist_id}","starred_url":"https://api.github.com/users/bluciam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluciam/subscriptions","organizations_url":"https://api.github.com/users/bluciam/orgs","repos_url":"https://api.github.com/users/bluciam/repos","events_url":"https://api.github.com/users/bluciam/events{/privacy}","received_events_url":"https://api.github.com/users/bluciam/received_events","type":"User","site_admin":false},"body":"modified:   `lib/merit.rb`\r\n\r\nAdd a check in case there is a `NameError` in `PointRules` as well. The check already exists for `BadgeRules`.","created_at":"2016-05-02T23:57:58Z","updated_at":"2016-05-03T00:02:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1072f18e860fc69bd2a49f2e3b147416a02d8c1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/merit-gem/merit/pulls/253/commits","review_comments_url":"https://api.github.com/repos/merit-gem/merit/pulls/253/comments","review_comment_url":"https://api.github.com/repos/merit-gem/merit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/merit-gem/merit/issues/253/comments","statuses_url":"https://api.github.com/repos/merit-gem/merit/statuses/4811a563fa6aac5a369950d4b64bf12a07d0d6fd","head":{"label":"bluciam:master","ref":"master","sha":"4811a563fa6aac5a369950d4b64bf12a07d0d6fd","user":{"login":"bluciam","id":1175444,"avatar_url":"https://avatars.githubusercontent.com/u/1175444?v=3","gravatar_id":"","url":"https://api.github.com/users/bluciam","html_url":"https://github.com/bluciam","followers_url":"https://api.github.com/users/bluciam/followers","following_url":"https://api.github.com/users/bluciam/following{/other_user}","gists_url":"https://api.github.com/users/bluciam/gists{/gist_id}","starred_url":"https://api.github.com/users/bluciam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluciam/subscriptions","organizations_url":"https://api.github.com/users/bluciam/orgs","repos_url":"https://api.github.com/users/bluciam/repos","events_url":"https://api.github.com/users/bluciam/events{/privacy}","received_events_url":"https://api.github.com/users/bluciam/received_events","type":"User","site_admin":false},"repo":{"id":57853847,"name":"merit","full_name":"bluciam/merit","owner":{"login":"bluciam","id":1175444,"avatar_url":"https://avatars.githubusercontent.com/u/1175444?v=3","gravatar_id":"","url":"https://api.github.com/users/bluciam","html_url":"https://github.com/bluciam","followers_url":"https://api.github.com/users/bluciam/followers","following_url":"https://api.github.com/users/bluciam/following{/other_user}","gists_url":"https://api.github.com/users/bluciam/gists{/gist_id}","starred_url":"https://api.github.com/users/bluciam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluciam/subscriptions","organizations_url":"https://api.github.com/users/bluciam/orgs","repos_url":"https://api.github.com/users/bluciam/repos","events_url":"https://api.github.com/users/bluciam/events{/privacy}","received_events_url":"https://api.github.com/users/bluciam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bluciam/merit","description":"Reputation engine for Rails apps","fork":true,"url":"https://api.github.com/repos/bluciam/merit","forks_url":"https://api.github.com/repos/bluciam/merit/forks","keys_url":"https://api.github.com/repos/bluciam/merit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bluciam/merit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bluciam/merit/teams","hooks_url":"https://api.github.com/repos/bluciam/merit/hooks","issue_events_url":"https://api.github.com/repos/bluciam/merit/issues/events{/number}","events_url":"https://api.github.com/repos/bluciam/merit/events","assignees_url":"https://api.github.com/repos/bluciam/merit/assignees{/user}","branches_url":"https://api.github.com/repos/bluciam/merit/branches{/branch}","tags_url":"https://api.github.com/repos/bluciam/merit/tags","blobs_url":"https://api.github.com/repos/bluciam/merit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bluciam/merit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bluciam/merit/git/refs{/sha}","trees_url":"https://api.github.com/repos/bluciam/merit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bluciam/merit/statuses/{sha}","languages_url":"https://api.github.com/repos/bluciam/merit/languages","stargazers_url":"https://api.github.com/repos/bluciam/merit/stargazers","contributors_url":"https://api.github.com/repos/bluciam/merit/contributors","subscribers_url":"https://api.github.com/repos/bluciam/merit/subscribers","subscription_url":"https://api.github.com/repos/bluciam/merit/subscription","commits_url":"https://api.github.com/repos/bluciam/merit/commits{/sha}","git_commits_url":"https://api.github.com/repos/bluciam/merit/git/commits{/sha}","comments_url":"https://api.github.com/repos/bluciam/merit/comments{/number}","issue_comment_url":"https://api.github.com/repos/bluciam/merit/issues/comments{/number}","contents_url":"https://api.github.com/repos/bluciam/merit/contents/{+path}","compare_url":"https://api.github.com/repos/bluciam/merit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bluciam/merit/merges","archive_url":"https://api.github.com/repos/bluciam/merit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bluciam/merit/downloads","issues_url":"https://api.github.com/repos/bluciam/merit/issues{/number}","pulls_url":"https://api.github.com/repos/bluciam/merit/pulls{/number}","milestones_url":"https://api.github.com/repos/bluciam/merit/milestones{/number}","notifications_url":"https://api.github.com/repos/bluciam/merit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bluciam/merit/labels{/name}","releases_url":"https://api.github.com/repos/bluciam/merit/releases{/id}","deployments_url":"https://api.github.com/repos/bluciam/merit/deployments","created_at":"2016-05-01T22:10:33Z","updated_at":"2016-05-01T22:10:34Z","pushed_at":"2016-05-03T00:02:39Z","git_url":"git://github.com/bluciam/merit.git","ssh_url":"git@github.com:bluciam/merit.git","clone_url":"https://github.com/bluciam/merit.git","svn_url":"https://github.com/bluciam/merit","homepage":"","size":833,"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":"merit-gem:master","ref":"master","sha":"c7ff46c52d58409a2946b85206511bb269a9ea18","user":{"login":"merit-gem","id":11846411,"avatar_url":"https://avatars.githubusercontent.com/u/11846411?v=3","gravatar_id":"","url":"https://api.github.com/users/merit-gem","html_url":"https://github.com/merit-gem","followers_url":"https://api.github.com/users/merit-gem/followers","following_url":"https://api.github.com/users/merit-gem/following{/other_user}","gists_url":"https://api.github.com/users/merit-gem/gists{/gist_id}","starred_url":"https://api.github.com/users/merit-gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merit-gem/subscriptions","organizations_url":"https://api.github.com/users/merit-gem/orgs","repos_url":"https://api.github.com/users/merit-gem/repos","events_url":"https://api.github.com/users/merit-gem/events{/privacy}","received_events_url":"https://api.github.com/users/merit-gem/received_events","type":"Organization","site_admin":false},"repo":{"id":2851574,"name":"merit","full_name":"merit-gem/merit","owner":{"login":"merit-gem","id":11846411,"avatar_url":"https://avatars.githubusercontent.com/u/11846411?v=3","gravatar_id":"","url":"https://api.github.com/users/merit-gem","html_url":"https://github.com/merit-gem","followers_url":"https://api.github.com/users/merit-gem/followers","following_url":"https://api.github.com/users/merit-gem/following{/other_user}","gists_url":"https://api.github.com/users/merit-gem/gists{/gist_id}","starred_url":"https://api.github.com/users/merit-gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merit-gem/subscriptions","organizations_url":"https://api.github.com/users/merit-gem/orgs","repos_url":"https://api.github.com/users/merit-gem/repos","events_url":"https://api.github.com/users/merit-gem/events{/privacy}","received_events_url":"https://api.github.com/users/merit-gem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/merit-gem/merit","description":"Reputation engine for Rails apps","fork":false,"url":"https://api.github.com/repos/merit-gem/merit","forks_url":"https://api.github.com/repos/merit-gem/merit/forks","keys_url":"https://api.github.com/repos/merit-gem/merit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/merit-gem/merit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/merit-gem/merit/teams","hooks_url":"https://api.github.com/repos/merit-gem/merit/hooks","issue_events_url":"https://api.github.com/repos/merit-gem/merit/issues/events{/number}","events_url":"https://api.github.com/repos/merit-gem/merit/events","assignees_url":"https://api.github.com/repos/merit-gem/merit/assignees{/user}","branches_url":"https://api.github.com/repos/merit-gem/merit/branches{/branch}","tags_url":"https://api.github.com/repos/merit-gem/merit/tags","blobs_url":"https://api.github.com/repos/merit-gem/merit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/merit-gem/merit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/merit-gem/merit/git/refs{/sha}","trees_url":"https://api.github.com/repos/merit-gem/merit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/merit-gem/merit/statuses/{sha}","languages_url":"https://api.github.com/repos/merit-gem/merit/languages","stargazers_url":"https://api.github.com/repos/merit-gem/merit/stargazers","contributors_url":"https://api.github.com/repos/merit-gem/merit/contributors","subscribers_url":"https://api.github.com/repos/merit-gem/merit/subscribers","subscription_url":"https://api.github.com/repos/merit-gem/merit/subscription","commits_url":"https://api.github.com/repos/merit-gem/merit/commits{/sha}","git_commits_url":"https://api.github.com/repos/merit-gem/merit/git/commits{/sha}","comments_url":"https://api.github.com/repos/merit-gem/merit/comments{/number}","issue_comment_url":"https://api.github.com/repos/merit-gem/merit/issues/comments{/number}","contents_url":"https://api.github.com/repos/merit-gem/merit/contents/{+path}","compare_url":"https://api.github.com/repos/merit-gem/merit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/merit-gem/merit/merges","archive_url":"https://api.github.com/repos/merit-gem/merit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/merit-gem/merit/downloads","issues_url":"https://api.github.com/repos/merit-gem/merit/issues{/number}","pulls_url":"https://api.github.com/repos/merit-gem/merit/pulls{/number}","milestones_url":"https://api.github.com/repos/merit-gem/merit/milestones{/number}","notifications_url":"https://api.github.com/repos/merit-gem/merit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/merit-gem/merit/labels{/name}","releases_url":"https://api.github.com/repos/merit-gem/merit/releases{/id}","deployments_url":"https://api.github.com/repos/merit-gem/merit/deployments","created_at":"2011-11-25T18:46:40Z","updated_at":"2016-05-01T15:54:12Z","pushed_at":"2016-05-03T00:02:40Z","git_url":"git://github.com/merit-gem/merit.git","ssh_url":"git@github.com:merit-gem/merit.git","clone_url":"https://github.com/merit-gem/merit.git","svn_url":"https://github.com/merit-gem/merit","homepage":"","size":931,"stargazers_count":953,"watchers_count":953,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":145,"mirror_url":null,"open_issues_count":4,"forks":145,"open_issues":4,"watchers":953,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/merit-gem/merit/pulls/253"},"html":{"href":"https://github.com/merit-gem/merit/pull/253"},"issue":{"href":"https://api.github.com/repos/merit-gem/merit/issues/253"},"comments":{"href":"https://api.github.com/repos/merit-gem/merit/issues/253/comments"},"review_comments":{"href":"https://api.github.com/repos/merit-gem/merit/pulls/253/comments"},"review_comment":{"href":"https://api.github.com/repos/merit-gem/merit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/merit-gem/merit/pulls/253/commits"},"statuses":{"href":"https://api.github.com/repos/merit-gem/merit/statuses/4811a563fa6aac5a369950d4b64bf12a07d0d6fd"}}}}