{"action":"created","comment":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/comments/48279978","id":48279978,"diff_hunk":"@@ -345,7 +345,7 @@ def setup_user(operation)\n \n   test \"hostgroup name can't be too big to create lookup value matcher over 255 characters\" do\n     parent = FactoryGirl.create(:hostgroup)\n-    min_lookupvalue_length = \"hostgroup=\".length + parent.title.length + 1\n+    min_lookupvalue_length = 10 + parent.title.length + 1","path":"test/unit/hostgroup_test.rb","position":null,"original_position":5,"commit_id":"7afcbb0f32feea02317e2f07587a65f5b02b47ac","original_commit_id":"57f1a3a1bbb719e4369e593a730bf45c01b2a7d8","user":{"login":"daviddavis","id":86290,"avatar_url":"https://avatars.githubusercontent.com/u/86290?v=3","gravatar_id":"","url":"https://api.github.com/users/daviddavis","html_url":"https://github.com/daviddavis","followers_url":"https://api.github.com/users/daviddavis/followers","following_url":"https://api.github.com/users/daviddavis/following{/other_user}","gists_url":"https://api.github.com/users/daviddavis/gists{/gist_id}","starred_url":"https://api.github.com/users/daviddavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviddavis/subscriptions","organizations_url":"https://api.github.com/users/daviddavis/orgs","repos_url":"https://api.github.com/users/daviddavis/repos","events_url":"https://api.github.com/users/daviddavis/events{/privacy}","received_events_url":"https://api.github.com/users/daviddavis/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2015-12-22T18:04:29Z","updated_at":"2015-12-22T18:04:29Z","html_url":"https://github.com/theforeman/foreman/pull/2997#discussion_r48279978","pull_request_url":"https://api.github.com/repos/theforeman/foreman/pulls/2997","_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/comments/48279978"},"html":{"href":"https://github.com/theforeman/foreman/pull/2997#discussion_r48279978"},"pull_request":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/2997"}}},"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/2997","id":54363577,"html_url":"https://github.com/theforeman/foreman/pull/2997","diff_url":"https://github.com/theforeman/foreman/pull/2997.diff","patch_url":"https://github.com/theforeman/foreman/pull/2997.patch","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/2997","number":2997,"state":"open","locked":false,"title":"Fixes #12911 - Turn on rubocop 0.35.1 cops","user":{"login":"daviddavis","id":86290,"avatar_url":"https://avatars.githubusercontent.com/u/86290?v=3","gravatar_id":"","url":"https://api.github.com/users/daviddavis","html_url":"https://github.com/daviddavis","followers_url":"https://api.github.com/users/daviddavis/followers","following_url":"https://api.github.com/users/daviddavis/following{/other_user}","gists_url":"https://api.github.com/users/daviddavis/gists{/gist_id}","starred_url":"https://api.github.com/users/daviddavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviddavis/subscriptions","organizations_url":"https://api.github.com/users/daviddavis/orgs","repos_url":"https://api.github.com/users/daviddavis/repos","events_url":"https://api.github.com/users/daviddavis/events{/privacy}","received_events_url":"https://api.github.com/users/daviddavis/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-22T12:16:46Z","updated_at":"2015-12-22T18:04:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e982dad88288b8098da68c5f7c236a236ff20281","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman/pulls/2997/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman/pulls/2997/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/2997/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/7afcbb0f32feea02317e2f07587a65f5b02b47ac","head":{"label":"daviddavis:12911","ref":"12911","sha":"7afcbb0f32feea02317e2f07587a65f5b02b47ac","user":{"login":"daviddavis","id":86290,"avatar_url":"https://avatars.githubusercontent.com/u/86290?v=3","gravatar_id":"","url":"https://api.github.com/users/daviddavis","html_url":"https://github.com/daviddavis","followers_url":"https://api.github.com/users/daviddavis/followers","following_url":"https://api.github.com/users/daviddavis/following{/other_user}","gists_url":"https://api.github.com/users/daviddavis/gists{/gist_id}","starred_url":"https://api.github.com/users/daviddavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviddavis/subscriptions","organizations_url":"https://api.github.com/users/daviddavis/orgs","repos_url":"https://api.github.com/users/daviddavis/repos","events_url":"https://api.github.com/users/daviddavis/events{/privacy}","received_events_url":"https://api.github.com/users/daviddavis/received_events","type":"User","site_admin":false},"repo":{"id":14025974,"name":"foreman","full_name":"daviddavis/foreman","owner":{"login":"daviddavis","id":86290,"avatar_url":"https://avatars.githubusercontent.com/u/86290?v=3","gravatar_id":"","url":"https://api.github.com/users/daviddavis","html_url":"https://github.com/daviddavis","followers_url":"https://api.github.com/users/daviddavis/followers","following_url":"https://api.github.com/users/daviddavis/following{/other_user}","gists_url":"https://api.github.com/users/daviddavis/gists{/gist_id}","starred_url":"https://api.github.com/users/daviddavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviddavis/subscriptions","organizations_url":"https://api.github.com/users/daviddavis/orgs","repos_url":"https://api.github.com/users/daviddavis/repos","events_url":"https://api.github.com/users/daviddavis/events{/privacy}","received_events_url":"https://api.github.com/users/daviddavis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/daviddavis/foreman","description":"an application that automates the lifecycle of servers ","fork":true,"url":"https://api.github.com/repos/daviddavis/foreman","forks_url":"https://api.github.com/repos/daviddavis/foreman/forks","keys_url":"https://api.github.com/repos/daviddavis/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/daviddavis/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/daviddavis/foreman/teams","hooks_url":"https://api.github.com/repos/daviddavis/foreman/hooks","issue_events_url":"https://api.github.com/repos/daviddavis/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/daviddavis/foreman/events","assignees_url":"https://api.github.com/repos/daviddavis/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/daviddavis/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/daviddavis/foreman/tags","blobs_url":"https://api.github.com/repos/daviddavis/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/daviddavis/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/daviddavis/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/daviddavis/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/daviddavis/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/daviddavis/foreman/languages","stargazers_url":"https://api.github.com/repos/daviddavis/foreman/stargazers","contributors_url":"https://api.github.com/repos/daviddavis/foreman/contributors","subscribers_url":"https://api.github.com/repos/daviddavis/foreman/subscribers","subscription_url":"https://api.github.com/repos/daviddavis/foreman/subscription","commits_url":"https://api.github.com/repos/daviddavis/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/daviddavis/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/daviddavis/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/daviddavis/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/daviddavis/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/daviddavis/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/daviddavis/foreman/merges","archive_url":"https://api.github.com/repos/daviddavis/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/daviddavis/foreman/downloads","issues_url":"https://api.github.com/repos/daviddavis/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/daviddavis/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/daviddavis/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/daviddavis/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/daviddavis/foreman/labels{/name}","releases_url":"https://api.github.com/repos/daviddavis/foreman/releases{/id}","created_at":"2013-10-31T19:09:04Z","updated_at":"2015-02-13T13:35:38Z","pushed_at":"2015-12-22T16:50:49Z","git_url":"git://github.com/daviddavis/foreman.git","ssh_url":"git@github.com:daviddavis/foreman.git","clone_url":"https://github.com/daviddavis/foreman.git","svn_url":"https://github.com/daviddavis/foreman","homepage":"http://theforeman.org","size":27597,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"theforeman:develop","ref":"develop","sha":"6bbf50853340ac73ef37209aec8d0f3ef232ff70","user":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":258750,"name":"foreman","full_name":"theforeman/foreman","owner":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theforeman/foreman","description":"an application that automates the lifecycle of servers ","fork":false,"url":"https://api.github.com/repos/theforeman/foreman","forks_url":"https://api.github.com/repos/theforeman/foreman/forks","keys_url":"https://api.github.com/repos/theforeman/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman/events","assignees_url":"https://api.github.com/repos/theforeman/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman/merges","archive_url":"https://api.github.com/repos/theforeman/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman/releases{/id}","created_at":"2009-07-23T15:07:00Z","updated_at":"2015-12-21T22:25:44Z","pushed_at":"2015-12-22T16:50:50Z","git_url":"git://github.com/theforeman/foreman.git","ssh_url":"git@github.com:theforeman/foreman.git","clone_url":"https://github.com/theforeman/foreman.git","svn_url":"https://github.com/theforeman/foreman","homepage":"http://theforeman.org","size":54782,"stargazers_count":917,"watchers_count":917,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":457,"mirror_url":null,"open_issues_count":84,"forks":457,"open_issues":84,"watchers":917,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/2997"},"html":{"href":"https://github.com/theforeman/foreman/pull/2997"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman/issues/2997"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman/issues/2997/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/2997/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/2997/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman/statuses/7afcbb0f32feea02317e2f07587a65f5b02b47ac"}}}}