{"action":"created","comment":{"url":"https://api.github.com/repos/projecthydra-labs/hybox/pulls/comments/59797370","id":59797370,"diff_hunk":"@@ -1,7 +1,10 @@\n-require 'rubocop/rake_task'\n+begin\n+  require 'rubocop/rake_task'\n \n-desc 'Run style checker'\n-RuboCop::RakeTask.new(:rubocop) do |task|\n-  task.requires << 'rubocop-rspec'\n-  task.fail_on_error = true\n+  desc 'Run style checker'\n+  RuboCop::RakeTask.new(:rubocop) do |task|\n+    task.requires << 'rubocop-rspec'\n+    task.fail_on_error = true\n+  end\n+rescue LoadError\n end","path":"lib/tasks/rubocop.rake","position":15,"original_position":15,"commit_id":"c92e2844916912613af049d13c2bec787f45c36d","original_commit_id":"c92e2844916912613af049d13c2bec787f45c36d","user":{"login":"jcoyne","id":92044,"avatar_url":"https://avatars.githubusercontent.com/u/92044?v=3","gravatar_id":"","url":"https://api.github.com/users/jcoyne","html_url":"https://github.com/jcoyne","followers_url":"https://api.github.com/users/jcoyne/followers","following_url":"https://api.github.com/users/jcoyne/following{/other_user}","gists_url":"https://api.github.com/users/jcoyne/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoyne/subscriptions","organizations_url":"https://api.github.com/users/jcoyne/orgs","repos_url":"https://api.github.com/users/jcoyne/repos","events_url":"https://api.github.com/users/jcoyne/events{/privacy}","received_events_url":"https://api.github.com/users/jcoyne/received_events","type":"User","site_admin":false},"body":"It would be good to log a message here. \"Unable to find rubocop\" or similar.","created_at":"2016-04-14T21:44:56Z","updated_at":"2016-04-14T21:44:56Z","html_url":"https://github.com/projecthydra-labs/hybox/pull/81#discussion_r59797370","pull_request_url":"https://api.github.com/repos/projecthydra-labs/hybox/pulls/81","_links":{"self":{"href":"https://api.github.com/repos/projecthydra-labs/hybox/pulls/comments/59797370"},"html":{"href":"https://github.com/projecthydra-labs/hybox/pull/81#discussion_r59797370"},"pull_request":{"href":"https://api.github.com/repos/projecthydra-labs/hybox/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/projecthydra-labs/hybox/pulls/81","id":66557439,"html_url":"https://github.com/projecthydra-labs/hybox/pull/81","diff_url":"https://github.com/projecthydra-labs/hybox/pull/81.diff","patch_url":"https://github.com/projecthydra-labs/hybox/pull/81.patch","issue_url":"https://api.github.com/repos/projecthydra-labs/hybox/issues/81","number":81,"state":"open","locked":false,"title":"Rescue from loading rubocop when we don't need it","user":{"login":"eefahy","id":1131894,"avatar_url":"https://avatars.githubusercontent.com/u/1131894?v=3","gravatar_id":"","url":"https://api.github.com/users/eefahy","html_url":"https://github.com/eefahy","followers_url":"https://api.github.com/users/eefahy/followers","following_url":"https://api.github.com/users/eefahy/following{/other_user}","gists_url":"https://api.github.com/users/eefahy/gists{/gist_id}","starred_url":"https://api.github.com/users/eefahy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eefahy/subscriptions","organizations_url":"https://api.github.com/users/eefahy/orgs","repos_url":"https://api.github.com/users/eefahy/repos","events_url":"https://api.github.com/users/eefahy/events{/privacy}","received_events_url":"https://api.github.com/users/eefahy/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-14T21:31:29Z","updated_at":"2016-04-14T21:44:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1a79bcf1a2e30e3ff3066831c9e70d7bebb4f66","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/projecthydra-labs/hybox/pulls/81/commits","review_comments_url":"https://api.github.com/repos/projecthydra-labs/hybox/pulls/81/comments","review_comment_url":"https://api.github.com/repos/projecthydra-labs/hybox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projecthydra-labs/hybox/issues/81/comments","statuses_url":"https://api.github.com/repos/projecthydra-labs/hybox/statuses/c92e2844916912613af049d13c2bec787f45c36d","head":{"label":"projecthydra-labs:rescue_robocop","ref":"rescue_robocop","sha":"c92e2844916912613af049d13c2bec787f45c36d","user":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":53448835,"name":"hybox","full_name":"projecthydra-labs/hybox","owner":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra-labs/hybox","description":"The Hydra-in-a-Box repository application","fork":false,"url":"https://api.github.com/repos/projecthydra-labs/hybox","forks_url":"https://api.github.com/repos/projecthydra-labs/hybox/forks","keys_url":"https://api.github.com/repos/projecthydra-labs/hybox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra-labs/hybox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra-labs/hybox/teams","hooks_url":"https://api.github.com/repos/projecthydra-labs/hybox/hooks","issue_events_url":"https://api.github.com/repos/projecthydra-labs/hybox/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra-labs/hybox/events","assignees_url":"https://api.github.com/repos/projecthydra-labs/hybox/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra-labs/hybox/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra-labs/hybox/tags","blobs_url":"https://api.github.com/repos/projecthydra-labs/hybox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra-labs/hybox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra-labs/hybox/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra-labs/hybox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra-labs/hybox/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra-labs/hybox/languages","stargazers_url":"https://api.github.com/repos/projecthydra-labs/hybox/stargazers","contributors_url":"https://api.github.com/repos/projecthydra-labs/hybox/contributors","subscribers_url":"https://api.github.com/repos/projecthydra-labs/hybox/subscribers","subscription_url":"https://api.github.com/repos/projecthydra-labs/hybox/subscription","commits_url":"https://api.github.com/repos/projecthydra-labs/hybox/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra-labs/hybox/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra-labs/hybox/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra-labs/hybox/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra-labs/hybox/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra-labs/hybox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra-labs/hybox/merges","archive_url":"https://api.github.com/repos/projecthydra-labs/hybox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra-labs/hybox/downloads","issues_url":"https://api.github.com/repos/projecthydra-labs/hybox/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra-labs/hybox/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra-labs/hybox/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra-labs/hybox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra-labs/hybox/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra-labs/hybox/releases{/id}","deployments_url":"https://api.github.com/repos/projecthydra-labs/hybox/deployments","created_at":"2016-03-08T22:08:25Z","updated_at":"2016-03-30T18:13:28Z","pushed_at":"2016-04-14T21:34:52Z","git_url":"git://github.com/projecthydra-labs/hybox.git","ssh_url":"git@github.com:projecthydra-labs/hybox.git","clone_url":"https://github.com/projecthydra-labs/hybox.git","svn_url":"https://github.com/projecthydra-labs/hybox","homepage":"http://hydrainabox.projecthydra.org/","size":173,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":24,"forks":1,"open_issues":24,"watchers":1,"default_branch":"master"}},"base":{"label":"projecthydra-labs:master","ref":"master","sha":"13dd78257566b1c78b6895f17526141508c8ff82","user":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":53448835,"name":"hybox","full_name":"projecthydra-labs/hybox","owner":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra-labs/hybox","description":"The Hydra-in-a-Box repository application","fork":false,"url":"https://api.github.com/repos/projecthydra-labs/hybox","forks_url":"https://api.github.com/repos/projecthydra-labs/hybox/forks","keys_url":"https://api.github.com/repos/projecthydra-labs/hybox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra-labs/hybox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra-labs/hybox/teams","hooks_url":"https://api.github.com/repos/projecthydra-labs/hybox/hooks","issue_events_url":"https://api.github.com/repos/projecthydra-labs/hybox/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra-labs/hybox/events","assignees_url":"https://api.github.com/repos/projecthydra-labs/hybox/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra-labs/hybox/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra-labs/hybox/tags","blobs_url":"https://api.github.com/repos/projecthydra-labs/hybox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra-labs/hybox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra-labs/hybox/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra-labs/hybox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra-labs/hybox/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra-labs/hybox/languages","stargazers_url":"https://api.github.com/repos/projecthydra-labs/hybox/stargazers","contributors_url":"https://api.github.com/repos/projecthydra-labs/hybox/contributors","subscribers_url":"https://api.github.com/repos/projecthydra-labs/hybox/subscribers","subscription_url":"https://api.github.com/repos/projecthydra-labs/hybox/subscription","commits_url":"https://api.github.com/repos/projecthydra-labs/hybox/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra-labs/hybox/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra-labs/hybox/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra-labs/hybox/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra-labs/hybox/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra-labs/hybox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra-labs/hybox/merges","archive_url":"https://api.github.com/repos/projecthydra-labs/hybox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra-labs/hybox/downloads","issues_url":"https://api.github.com/repos/projecthydra-labs/hybox/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra-labs/hybox/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra-labs/hybox/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra-labs/hybox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra-labs/hybox/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra-labs/hybox/releases{/id}","deployments_url":"https://api.github.com/repos/projecthydra-labs/hybox/deployments","created_at":"2016-03-08T22:08:25Z","updated_at":"2016-03-30T18:13:28Z","pushed_at":"2016-04-14T21:34:52Z","git_url":"git://github.com/projecthydra-labs/hybox.git","ssh_url":"git@github.com:projecthydra-labs/hybox.git","clone_url":"https://github.com/projecthydra-labs/hybox.git","svn_url":"https://github.com/projecthydra-labs/hybox","homepage":"http://hydrainabox.projecthydra.org/","size":173,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":24,"forks":1,"open_issues":24,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projecthydra-labs/hybox/pulls/81"},"html":{"href":"https://github.com/projecthydra-labs/hybox/pull/81"},"issue":{"href":"https://api.github.com/repos/projecthydra-labs/hybox/issues/81"},"comments":{"href":"https://api.github.com/repos/projecthydra-labs/hybox/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/projecthydra-labs/hybox/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/projecthydra-labs/hybox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projecthydra-labs/hybox/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/projecthydra-labs/hybox/statuses/c92e2844916912613af049d13c2bec787f45c36d"}}}}