{"action":"created","comment":{"url":"https://api.github.com/repos/umts/jobapps/pulls/comments/49693046","id":49693046,"diff_hunk":"@@ -0,0 +1,36 @@\n+module RuboCop\n+  module Cop\n+    module CustomCops\n+      class BeForSingleton < Cop","path":"lib/custom_cops/be_for_singleton.rb","position":4,"original_position":4,"commit_id":"4787db76f769c17d9d3e6fa3febffaf77b89e9ba","original_commit_id":"4787db76f769c17d9d3e6fa3febffaf77b89e9ba","user":{"login":"dfaulken","id":3988134,"avatar_url":"https://avatars.githubusercontent.com/u/3988134?v=3","gravatar_id":"","url":"https://api.github.com/users/dfaulken","html_url":"https://github.com/dfaulken","followers_url":"https://api.github.com/users/dfaulken/followers","following_url":"https://api.github.com/users/dfaulken/following{/other_user}","gists_url":"https://api.github.com/users/dfaulken/gists{/gist_id}","starred_url":"https://api.github.com/users/dfaulken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfaulken/subscriptions","organizations_url":"https://api.github.com/users/dfaulken/orgs","repos_url":"https://api.github.com/users/dfaulken/repos","events_url":"https://api.github.com/users/dfaulken/events{/privacy}","received_events_url":"https://api.github.com/users/dfaulken/received_events","type":"User","site_admin":false},"body":"Fully open to suggestions for better names.","created_at":"2016-01-14T06:56:17Z","updated_at":"2016-01-14T06:56:17Z","html_url":"https://github.com/umts/jobapps/pull/165#discussion_r49693046","pull_request_url":"https://api.github.com/repos/umts/jobapps/pulls/165","_links":{"self":{"href":"https://api.github.com/repos/umts/jobapps/pulls/comments/49693046"},"html":{"href":"https://github.com/umts/jobapps/pull/165#discussion_r49693046"},"pull_request":{"href":"https://api.github.com/repos/umts/jobapps/pulls/165"}}},"pull_request":{"url":"https://api.github.com/repos/umts/jobapps/pulls/165","id":55994747,"html_url":"https://github.com/umts/jobapps/pull/165","diff_url":"https://github.com/umts/jobapps/pull/165.diff","patch_url":"https://github.com/umts/jobapps/pull/165.patch","issue_url":"https://api.github.com/repos/umts/jobapps/issues/165","number":165,"state":"open","locked":false,"title":"Add custom cop","user":{"login":"dfaulken","id":3988134,"avatar_url":"https://avatars.githubusercontent.com/u/3988134?v=3","gravatar_id":"","url":"https://api.github.com/users/dfaulken","html_url":"https://github.com/dfaulken","followers_url":"https://api.github.com/users/dfaulken/followers","following_url":"https://api.github.com/users/dfaulken/following{/other_user}","gists_url":"https://api.github.com/users/dfaulken/gists{/gist_id}","starred_url":"https://api.github.com/users/dfaulken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfaulken/subscriptions","organizations_url":"https://api.github.com/users/dfaulken/orgs","repos_url":"https://api.github.com/users/dfaulken/repos","events_url":"https://api.github.com/users/dfaulken/events{/privacy}","received_events_url":"https://api.github.com/users/dfaulken/received_events","type":"User","site_admin":false},"body":"Use `be` matcher rather than `eq` or `eql` for singleton types\n(boolean, fixnum, etc).\n\nHas support for autocorrect, which I used to correct files.","created_at":"2016-01-14T05:39:47Z","updated_at":"2016-01-14T06:56:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"582f7ecdb4157405fc1b843291528a2a6a40e4f3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/umts/jobapps/pulls/165/commits","review_comments_url":"https://api.github.com/repos/umts/jobapps/pulls/165/comments","review_comment_url":"https://api.github.com/repos/umts/jobapps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/umts/jobapps/issues/165/comments","statuses_url":"https://api.github.com/repos/umts/jobapps/statuses/4787db76f769c17d9d3e6fa3febffaf77b89e9ba","head":{"label":"umts:custom-rspec-cop","ref":"custom-rspec-cop","sha":"4787db76f769c17d9d3e6fa3febffaf77b89e9ba","user":{"login":"umts","id":398175,"avatar_url":"https://avatars.githubusercontent.com/u/398175?v=3","gravatar_id":"","url":"https://api.github.com/users/umts","html_url":"https://github.com/umts","followers_url":"https://api.github.com/users/umts/followers","following_url":"https://api.github.com/users/umts/following{/other_user}","gists_url":"https://api.github.com/users/umts/gists{/gist_id}","starred_url":"https://api.github.com/users/umts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umts/subscriptions","organizations_url":"https://api.github.com/users/umts/orgs","repos_url":"https://api.github.com/users/umts/repos","events_url":"https://api.github.com/users/umts/events{/privacy}","received_events_url":"https://api.github.com/users/umts/received_events","type":"Organization","site_admin":false},"repo":{"id":35909798,"name":"jobapps","full_name":"umts/jobapps","owner":{"login":"umts","id":398175,"avatar_url":"https://avatars.githubusercontent.com/u/398175?v=3","gravatar_id":"","url":"https://api.github.com/users/umts","html_url":"https://github.com/umts","followers_url":"https://api.github.com/users/umts/followers","following_url":"https://api.github.com/users/umts/following{/other_user}","gists_url":"https://api.github.com/users/umts/gists{/gist_id}","starred_url":"https://api.github.com/users/umts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umts/subscriptions","organizations_url":"https://api.github.com/users/umts/orgs","repos_url":"https://api.github.com/users/umts/repos","events_url":"https://api.github.com/users/umts/events{/privacy}","received_events_url":"https://api.github.com/users/umts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/umts/jobapps","description":"Barebones Rails 4 app for job application, interview scheduling, demographic reporting, and application resource configuration.","fork":false,"url":"https://api.github.com/repos/umts/jobapps","forks_url":"https://api.github.com/repos/umts/jobapps/forks","keys_url":"https://api.github.com/repos/umts/jobapps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/umts/jobapps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/umts/jobapps/teams","hooks_url":"https://api.github.com/repos/umts/jobapps/hooks","issue_events_url":"https://api.github.com/repos/umts/jobapps/issues/events{/number}","events_url":"https://api.github.com/repos/umts/jobapps/events","assignees_url":"https://api.github.com/repos/umts/jobapps/assignees{/user}","branches_url":"https://api.github.com/repos/umts/jobapps/branches{/branch}","tags_url":"https://api.github.com/repos/umts/jobapps/tags","blobs_url":"https://api.github.com/repos/umts/jobapps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/umts/jobapps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/umts/jobapps/git/refs{/sha}","trees_url":"https://api.github.com/repos/umts/jobapps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/umts/jobapps/statuses/{sha}","languages_url":"https://api.github.com/repos/umts/jobapps/languages","stargazers_url":"https://api.github.com/repos/umts/jobapps/stargazers","contributors_url":"https://api.github.com/repos/umts/jobapps/contributors","subscribers_url":"https://api.github.com/repos/umts/jobapps/subscribers","subscription_url":"https://api.github.com/repos/umts/jobapps/subscription","commits_url":"https://api.github.com/repos/umts/jobapps/commits{/sha}","git_commits_url":"https://api.github.com/repos/umts/jobapps/git/commits{/sha}","comments_url":"https://api.github.com/repos/umts/jobapps/comments{/number}","issue_comment_url":"https://api.github.com/repos/umts/jobapps/issues/comments{/number}","contents_url":"https://api.github.com/repos/umts/jobapps/contents/{+path}","compare_url":"https://api.github.com/repos/umts/jobapps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/umts/jobapps/merges","archive_url":"https://api.github.com/repos/umts/jobapps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/umts/jobapps/downloads","issues_url":"https://api.github.com/repos/umts/jobapps/issues{/number}","pulls_url":"https://api.github.com/repos/umts/jobapps/pulls{/number}","milestones_url":"https://api.github.com/repos/umts/jobapps/milestones{/number}","notifications_url":"https://api.github.com/repos/umts/jobapps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/umts/jobapps/labels{/name}","releases_url":"https://api.github.com/repos/umts/jobapps/releases{/id}","created_at":"2015-05-19T21:34:57Z","updated_at":"2016-01-12T18:28:24Z","pushed_at":"2016-01-14T05:58:41Z","git_url":"git://github.com/umts/jobapps.git","ssh_url":"git@github.com:umts/jobapps.git","clone_url":"https://github.com/umts/jobapps.git","svn_url":"https://github.com/umts/jobapps","homepage":"https://transit-jobapps.admin.umass.edu","size":1018,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":26,"forks":3,"open_issues":26,"watchers":0,"default_branch":"master"}},"base":{"label":"umts:master","ref":"master","sha":"20b528b5968e50d159e586dcf333a85ba60b5350","user":{"login":"umts","id":398175,"avatar_url":"https://avatars.githubusercontent.com/u/398175?v=3","gravatar_id":"","url":"https://api.github.com/users/umts","html_url":"https://github.com/umts","followers_url":"https://api.github.com/users/umts/followers","following_url":"https://api.github.com/users/umts/following{/other_user}","gists_url":"https://api.github.com/users/umts/gists{/gist_id}","starred_url":"https://api.github.com/users/umts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umts/subscriptions","organizations_url":"https://api.github.com/users/umts/orgs","repos_url":"https://api.github.com/users/umts/repos","events_url":"https://api.github.com/users/umts/events{/privacy}","received_events_url":"https://api.github.com/users/umts/received_events","type":"Organization","site_admin":false},"repo":{"id":35909798,"name":"jobapps","full_name":"umts/jobapps","owner":{"login":"umts","id":398175,"avatar_url":"https://avatars.githubusercontent.com/u/398175?v=3","gravatar_id":"","url":"https://api.github.com/users/umts","html_url":"https://github.com/umts","followers_url":"https://api.github.com/users/umts/followers","following_url":"https://api.github.com/users/umts/following{/other_user}","gists_url":"https://api.github.com/users/umts/gists{/gist_id}","starred_url":"https://api.github.com/users/umts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umts/subscriptions","organizations_url":"https://api.github.com/users/umts/orgs","repos_url":"https://api.github.com/users/umts/repos","events_url":"https://api.github.com/users/umts/events{/privacy}","received_events_url":"https://api.github.com/users/umts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/umts/jobapps","description":"Barebones Rails 4 app for job application, interview scheduling, demographic reporting, and application resource configuration.","fork":false,"url":"https://api.github.com/repos/umts/jobapps","forks_url":"https://api.github.com/repos/umts/jobapps/forks","keys_url":"https://api.github.com/repos/umts/jobapps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/umts/jobapps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/umts/jobapps/teams","hooks_url":"https://api.github.com/repos/umts/jobapps/hooks","issue_events_url":"https://api.github.com/repos/umts/jobapps/issues/events{/number}","events_url":"https://api.github.com/repos/umts/jobapps/events","assignees_url":"https://api.github.com/repos/umts/jobapps/assignees{/user}","branches_url":"https://api.github.com/repos/umts/jobapps/branches{/branch}","tags_url":"https://api.github.com/repos/umts/jobapps/tags","blobs_url":"https://api.github.com/repos/umts/jobapps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/umts/jobapps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/umts/jobapps/git/refs{/sha}","trees_url":"https://api.github.com/repos/umts/jobapps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/umts/jobapps/statuses/{sha}","languages_url":"https://api.github.com/repos/umts/jobapps/languages","stargazers_url":"https://api.github.com/repos/umts/jobapps/stargazers","contributors_url":"https://api.github.com/repos/umts/jobapps/contributors","subscribers_url":"https://api.github.com/repos/umts/jobapps/subscribers","subscription_url":"https://api.github.com/repos/umts/jobapps/subscription","commits_url":"https://api.github.com/repos/umts/jobapps/commits{/sha}","git_commits_url":"https://api.github.com/repos/umts/jobapps/git/commits{/sha}","comments_url":"https://api.github.com/repos/umts/jobapps/comments{/number}","issue_comment_url":"https://api.github.com/repos/umts/jobapps/issues/comments{/number}","contents_url":"https://api.github.com/repos/umts/jobapps/contents/{+path}","compare_url":"https://api.github.com/repos/umts/jobapps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/umts/jobapps/merges","archive_url":"https://api.github.com/repos/umts/jobapps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/umts/jobapps/downloads","issues_url":"https://api.github.com/repos/umts/jobapps/issues{/number}","pulls_url":"https://api.github.com/repos/umts/jobapps/pulls{/number}","milestones_url":"https://api.github.com/repos/umts/jobapps/milestones{/number}","notifications_url":"https://api.github.com/repos/umts/jobapps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/umts/jobapps/labels{/name}","releases_url":"https://api.github.com/repos/umts/jobapps/releases{/id}","created_at":"2015-05-19T21:34:57Z","updated_at":"2016-01-12T18:28:24Z","pushed_at":"2016-01-14T05:58:41Z","git_url":"git://github.com/umts/jobapps.git","ssh_url":"git@github.com:umts/jobapps.git","clone_url":"https://github.com/umts/jobapps.git","svn_url":"https://github.com/umts/jobapps","homepage":"https://transit-jobapps.admin.umass.edu","size":1018,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":26,"forks":3,"open_issues":26,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/umts/jobapps/pulls/165"},"html":{"href":"https://github.com/umts/jobapps/pull/165"},"issue":{"href":"https://api.github.com/repos/umts/jobapps/issues/165"},"comments":{"href":"https://api.github.com/repos/umts/jobapps/issues/165/comments"},"review_comments":{"href":"https://api.github.com/repos/umts/jobapps/pulls/165/comments"},"review_comment":{"href":"https://api.github.com/repos/umts/jobapps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/umts/jobapps/pulls/165/commits"},"statuses":{"href":"https://api.github.com/repos/umts/jobapps/statuses/4787db76f769c17d9d3e6fa3febffaf77b89e9ba"}}}}