{"action":"opened","number":607,"pull_request":{"url":"https://api.github.com/repos/autolab/Autolab/pulls/607","id":49590008,"html_url":"https://github.com/autolab/Autolab/pull/607","diff_url":"https://github.com/autolab/Autolab/pull/607.diff","patch_url":"https://github.com/autolab/Autolab/pull/607.patch","issue_url":"https://api.github.com/repos/autolab/Autolab/issues/607","number":607,"state":"open","locked":false,"title":"Fix nested function call when setting up course","user":{"login":"cg2v","id":4680851,"avatar_url":"https://avatars.githubusercontent.com/u/4680851?v=3","gravatar_id":"","url":"https://api.github.com/users/cg2v","html_url":"https://github.com/cg2v","followers_url":"https://api.github.com/users/cg2v/followers","following_url":"https://api.github.com/users/cg2v/following{/other_user}","gists_url":"https://api.github.com/users/cg2v/gists{/gist_id}","starred_url":"https://api.github.com/users/cg2v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cg2v/subscriptions","organizations_url":"https://api.github.com/users/cg2v/orgs","repos_url":"https://api.github.com/users/cg2v/repos","events_url":"https://api.github.com/users/cg2v/events{/privacy}","received_events_url":"https://api.github.com/users/cg2v/received_events","type":"User","site_admin":false},"body":"Don't say\r\nFileUtils.mkdir_p (File.join Rails.root, \"foo\"), since that's\r\nconfusing style. Instead put parens around the File.join arguments:\r\nFileUtils.mkdir_p File.join(Rails.root, \"foo\")\r\n\r\nThis fixes some rubocup warnings:\r\napp/models/course.rb:42:22: W: (...) interpreted as grouped expression.\r\n    FileUtils.mkdir_p (File.join Rails.root, \"assessmentConfig\")\r\n","created_at":"2015-11-03T18:06:01Z","updated_at":"2015-11-03T18:06:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/autolab/Autolab/pulls/607/commits","review_comments_url":"https://api.github.com/repos/autolab/Autolab/pulls/607/comments","review_comment_url":"https://api.github.com/repos/autolab/Autolab/pulls/comments{/number}","comments_url":"https://api.github.com/repos/autolab/Autolab/issues/607/comments","statuses_url":"https://api.github.com/repos/autolab/Autolab/statuses/f6cc0bb92984a16b564fac2af517261a5a3f0272","head":{"label":"cg2v:course_mkdir_rubocop","ref":"course_mkdir_rubocop","sha":"f6cc0bb92984a16b564fac2af517261a5a3f0272","user":{"login":"cg2v","id":4680851,"avatar_url":"https://avatars.githubusercontent.com/u/4680851?v=3","gravatar_id":"","url":"https://api.github.com/users/cg2v","html_url":"https://github.com/cg2v","followers_url":"https://api.github.com/users/cg2v/followers","following_url":"https://api.github.com/users/cg2v/following{/other_user}","gists_url":"https://api.github.com/users/cg2v/gists{/gist_id}","starred_url":"https://api.github.com/users/cg2v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cg2v/subscriptions","organizations_url":"https://api.github.com/users/cg2v/orgs","repos_url":"https://api.github.com/users/cg2v/repos","events_url":"https://api.github.com/users/cg2v/events{/privacy}","received_events_url":"https://api.github.com/users/cg2v/received_events","type":"User","site_admin":false},"repo":{"id":39526064,"name":"Autolab","full_name":"cg2v/Autolab","owner":{"login":"cg2v","id":4680851,"avatar_url":"https://avatars.githubusercontent.com/u/4680851?v=3","gravatar_id":"","url":"https://api.github.com/users/cg2v","html_url":"https://github.com/cg2v","followers_url":"https://api.github.com/users/cg2v/followers","following_url":"https://api.github.com/users/cg2v/following{/other_user}","gists_url":"https://api.github.com/users/cg2v/gists{/gist_id}","starred_url":"https://api.github.com/users/cg2v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cg2v/subscriptions","organizations_url":"https://api.github.com/users/cg2v/orgs","repos_url":"https://api.github.com/users/cg2v/repos","events_url":"https://api.github.com/users/cg2v/events{/privacy}","received_events_url":"https://api.github.com/users/cg2v/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cg2v/Autolab","description":"Course management service that enables auto-graded programming assignments.","fork":true,"url":"https://api.github.com/repos/cg2v/Autolab","forks_url":"https://api.github.com/repos/cg2v/Autolab/forks","keys_url":"https://api.github.com/repos/cg2v/Autolab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cg2v/Autolab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cg2v/Autolab/teams","hooks_url":"https://api.github.com/repos/cg2v/Autolab/hooks","issue_events_url":"https://api.github.com/repos/cg2v/Autolab/issues/events{/number}","events_url":"https://api.github.com/repos/cg2v/Autolab/events","assignees_url":"https://api.github.com/repos/cg2v/Autolab/assignees{/user}","branches_url":"https://api.github.com/repos/cg2v/Autolab/branches{/branch}","tags_url":"https://api.github.com/repos/cg2v/Autolab/tags","blobs_url":"https://api.github.com/repos/cg2v/Autolab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cg2v/Autolab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cg2v/Autolab/git/refs{/sha}","trees_url":"https://api.github.com/repos/cg2v/Autolab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cg2v/Autolab/statuses/{sha}","languages_url":"https://api.github.com/repos/cg2v/Autolab/languages","stargazers_url":"https://api.github.com/repos/cg2v/Autolab/stargazers","contributors_url":"https://api.github.com/repos/cg2v/Autolab/contributors","subscribers_url":"https://api.github.com/repos/cg2v/Autolab/subscribers","subscription_url":"https://api.github.com/repos/cg2v/Autolab/subscription","commits_url":"https://api.github.com/repos/cg2v/Autolab/commits{/sha}","git_commits_url":"https://api.github.com/repos/cg2v/Autolab/git/commits{/sha}","comments_url":"https://api.github.com/repos/cg2v/Autolab/comments{/number}","issue_comment_url":"https://api.github.com/repos/cg2v/Autolab/issues/comments{/number}","contents_url":"https://api.github.com/repos/cg2v/Autolab/contents/{+path}","compare_url":"https://api.github.com/repos/cg2v/Autolab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cg2v/Autolab/merges","archive_url":"https://api.github.com/repos/cg2v/Autolab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cg2v/Autolab/downloads","issues_url":"https://api.github.com/repos/cg2v/Autolab/issues{/number}","pulls_url":"https://api.github.com/repos/cg2v/Autolab/pulls{/number}","milestones_url":"https://api.github.com/repos/cg2v/Autolab/milestones{/number}","notifications_url":"https://api.github.com/repos/cg2v/Autolab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cg2v/Autolab/labels{/name}","releases_url":"https://api.github.com/repos/cg2v/Autolab/releases{/id}","created_at":"2015-07-22T19:29:21Z","updated_at":"2015-08-25T18:22:29Z","pushed_at":"2015-11-03T18:03:30Z","git_url":"git://github.com/cg2v/Autolab.git","ssh_url":"git@github.com:cg2v/Autolab.git","clone_url":"https://github.com/cg2v/Autolab.git","svn_url":"https://github.com/cg2v/Autolab","homepage":"http://www.autolabproject.com/","size":3331,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"autolab:develop","ref":"develop","sha":"d412652e3ade84026cadb44293e2c60cad8f5d30","user":{"login":"autolab","id":2337016,"avatar_url":"https://avatars.githubusercontent.com/u/2337016?v=3","gravatar_id":"","url":"https://api.github.com/users/autolab","html_url":"https://github.com/autolab","followers_url":"https://api.github.com/users/autolab/followers","following_url":"https://api.github.com/users/autolab/following{/other_user}","gists_url":"https://api.github.com/users/autolab/gists{/gist_id}","starred_url":"https://api.github.com/users/autolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autolab/subscriptions","organizations_url":"https://api.github.com/users/autolab/orgs","repos_url":"https://api.github.com/users/autolab/repos","events_url":"https://api.github.com/users/autolab/events{/privacy}","received_events_url":"https://api.github.com/users/autolab/received_events","type":"Organization","site_admin":false},"repo":{"id":25742807,"name":"Autolab","full_name":"autolab/Autolab","owner":{"login":"autolab","id":2337016,"avatar_url":"https://avatars.githubusercontent.com/u/2337016?v=3","gravatar_id":"","url":"https://api.github.com/users/autolab","html_url":"https://github.com/autolab","followers_url":"https://api.github.com/users/autolab/followers","following_url":"https://api.github.com/users/autolab/following{/other_user}","gists_url":"https://api.github.com/users/autolab/gists{/gist_id}","starred_url":"https://api.github.com/users/autolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autolab/subscriptions","organizations_url":"https://api.github.com/users/autolab/orgs","repos_url":"https://api.github.com/users/autolab/repos","events_url":"https://api.github.com/users/autolab/events{/privacy}","received_events_url":"https://api.github.com/users/autolab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/autolab/Autolab","description":"Course management service that enables auto-graded programming assignments.","fork":false,"url":"https://api.github.com/repos/autolab/Autolab","forks_url":"https://api.github.com/repos/autolab/Autolab/forks","keys_url":"https://api.github.com/repos/autolab/Autolab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/autolab/Autolab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/autolab/Autolab/teams","hooks_url":"https://api.github.com/repos/autolab/Autolab/hooks","issue_events_url":"https://api.github.com/repos/autolab/Autolab/issues/events{/number}","events_url":"https://api.github.com/repos/autolab/Autolab/events","assignees_url":"https://api.github.com/repos/autolab/Autolab/assignees{/user}","branches_url":"https://api.github.com/repos/autolab/Autolab/branches{/branch}","tags_url":"https://api.github.com/repos/autolab/Autolab/tags","blobs_url":"https://api.github.com/repos/autolab/Autolab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/autolab/Autolab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/autolab/Autolab/git/refs{/sha}","trees_url":"https://api.github.com/repos/autolab/Autolab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/autolab/Autolab/statuses/{sha}","languages_url":"https://api.github.com/repos/autolab/Autolab/languages","stargazers_url":"https://api.github.com/repos/autolab/Autolab/stargazers","contributors_url":"https://api.github.com/repos/autolab/Autolab/contributors","subscribers_url":"https://api.github.com/repos/autolab/Autolab/subscribers","subscription_url":"https://api.github.com/repos/autolab/Autolab/subscription","commits_url":"https://api.github.com/repos/autolab/Autolab/commits{/sha}","git_commits_url":"https://api.github.com/repos/autolab/Autolab/git/commits{/sha}","comments_url":"https://api.github.com/repos/autolab/Autolab/comments{/number}","issue_comment_url":"https://api.github.com/repos/autolab/Autolab/issues/comments{/number}","contents_url":"https://api.github.com/repos/autolab/Autolab/contents/{+path}","compare_url":"https://api.github.com/repos/autolab/Autolab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/autolab/Autolab/merges","archive_url":"https://api.github.com/repos/autolab/Autolab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/autolab/Autolab/downloads","issues_url":"https://api.github.com/repos/autolab/Autolab/issues{/number}","pulls_url":"https://api.github.com/repos/autolab/Autolab/pulls{/number}","milestones_url":"https://api.github.com/repos/autolab/Autolab/milestones{/number}","notifications_url":"https://api.github.com/repos/autolab/Autolab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/autolab/Autolab/labels{/name}","releases_url":"https://api.github.com/repos/autolab/Autolab/releases{/id}","created_at":"2014-10-25T18:58:53Z","updated_at":"2015-11-03T04:07:48Z","pushed_at":"2015-11-03T17:55:52Z","git_url":"git://github.com/autolab/Autolab.git","ssh_url":"git@github.com:autolab/Autolab.git","clone_url":"https://github.com/autolab/Autolab.git","svn_url":"https://github.com/autolab/Autolab","homepage":"http://www.autolabproject.com/","size":6549,"stargazers_count":132,"watchers_count":132,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":94,"forks":41,"open_issues":94,"watchers":132,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/autolab/Autolab/pulls/607"},"html":{"href":"https://github.com/autolab/Autolab/pull/607"},"issue":{"href":"https://api.github.com/repos/autolab/Autolab/issues/607"},"comments":{"href":"https://api.github.com/repos/autolab/Autolab/issues/607/comments"},"review_comments":{"href":"https://api.github.com/repos/autolab/Autolab/pulls/607/comments"},"review_comment":{"href":"https://api.github.com/repos/autolab/Autolab/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/autolab/Autolab/pulls/607/commits"},"statuses":{"href":"https://api.github.com/repos/autolab/Autolab/statuses/f6cc0bb92984a16b564fac2af517261a5a3f0272"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":4,"changed_files":1}}