{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/ftms/pulls/comments/92741321","pull_request_review_id":13262298,"id":92741321,"diff_hunk":"@@ -15,11 +15,11 @@ def user_courses\n   end\n \n   def finished_courses\n-    @finished_courses ||= user_courses.finish\n+    @finished_courses ||= user_courses.select {|user_course| user_course.finish?}","path":"app/models/supports/user_support.rb","position":5,"original_position":5,"commit_id":"5132453ea87aabb7882823744011f791b3a8f710","original_commit_id":"5132453ea87aabb7882823744011f791b3a8f710","user":{"login":"ci-edu","id":20417335,"avatar_url":"https://avatars.githubusercontent.com/u/20417335?v=3","gravatar_id":"","url":"https://api.github.com/users/ci-edu","html_url":"https://github.com/ci-edu","followers_url":"https://api.github.com/users/ci-edu/followers","following_url":"https://api.github.com/users/ci-edu/following{/other_user}","gists_url":"https://api.github.com/users/ci-edu/gists{/gist_id}","starred_url":"https://api.github.com/users/ci-edu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ci-edu/subscriptions","organizations_url":"https://api.github.com/users/ci-edu/orgs","repos_url":"https://api.github.com/users/ci-edu/repos","events_url":"https://api.github.com/users/ci-edu/events{/privacy}","received_events_url":"https://api.github.com/users/ci-edu/received_events","type":"User","site_admin":false},"body":"**Reporter**: CHECKSTYLE\n**Rule**: com.puppycrawl.tools.checkstyle.Style/SpaceInsideBlockBraces\n**Severity**: INFO\n**File**: app/models/supports/user_support.rb L18\n\nSpace between { and | missing.\n\n*<this is a auto generated comment from violation-comments-lib F7F8ASD8123FSDF>*\n","created_at":"2016-12-16T02:29:03Z","updated_at":"2016-12-16T02:29:03Z","html_url":"https://github.com/framgia/ftms/pull/912#discussion_r92741321","pull_request_url":"https://api.github.com/repos/framgia/ftms/pulls/912","_links":{"self":{"href":"https://api.github.com/repos/framgia/ftms/pulls/comments/92741321"},"html":{"href":"https://github.com/framgia/ftms/pull/912#discussion_r92741321"},"pull_request":{"href":"https://api.github.com/repos/framgia/ftms/pulls/912"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/ftms/pulls/912","id":98262123,"html_url":"https://github.com/framgia/ftms/pull/912","diff_url":"https://github.com/framgia/ftms/pull/912.diff","patch_url":"https://github.com/framgia/ftms/pull/912.patch","issue_url":"https://api.github.com/repos/framgia/ftms/issues/912","number":912,"state":"open","locked":false,"title":"Refactor user course model","user":{"login":"hellovietnam93","id":8023606,"avatar_url":"https://avatars.githubusercontent.com/u/8023606?v=3","gravatar_id":"","url":"https://api.github.com/users/hellovietnam93","html_url":"https://github.com/hellovietnam93","followers_url":"https://api.github.com/users/hellovietnam93/followers","following_url":"https://api.github.com/users/hellovietnam93/following{/other_user}","gists_url":"https://api.github.com/users/hellovietnam93/gists{/gist_id}","starred_url":"https://api.github.com/users/hellovietnam93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellovietnam93/subscriptions","organizations_url":"https://api.github.com/users/hellovietnam93/orgs","repos_url":"https://api.github.com/users/hellovietnam93/repos","events_url":"https://api.github.com/users/hellovietnam93/events{/privacy}","received_events_url":"https://api.github.com/users/hellovietnam93/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-16T01:08:53Z","updated_at":"2016-12-16T02:29:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d0755109fbab0f93157947896838badb59f3c4a8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/ftms/pulls/912/commits","review_comments_url":"https://api.github.com/repos/framgia/ftms/pulls/912/comments","review_comment_url":"https://api.github.com/repos/framgia/ftms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/ftms/issues/912/comments","statuses_url":"https://api.github.com/repos/framgia/ftms/statuses/5132453ea87aabb7882823744011f791b3a8f710","head":{"label":"hellovietnam93:refactor-user-course-model","ref":"refactor-user-course-model","sha":"5132453ea87aabb7882823744011f791b3a8f710","user":{"login":"hellovietnam93","id":8023606,"avatar_url":"https://avatars.githubusercontent.com/u/8023606?v=3","gravatar_id":"","url":"https://api.github.com/users/hellovietnam93","html_url":"https://github.com/hellovietnam93","followers_url":"https://api.github.com/users/hellovietnam93/followers","following_url":"https://api.github.com/users/hellovietnam93/following{/other_user}","gists_url":"https://api.github.com/users/hellovietnam93/gists{/gist_id}","starred_url":"https://api.github.com/users/hellovietnam93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellovietnam93/subscriptions","organizations_url":"https://api.github.com/users/hellovietnam93/orgs","repos_url":"https://api.github.com/users/hellovietnam93/repos","events_url":"https://api.github.com/users/hellovietnam93/events{/privacy}","received_events_url":"https://api.github.com/users/hellovietnam93/received_events","type":"User","site_admin":false},"repo":{"id":42420085,"name":"ftms","full_name":"hellovietnam93/ftms","owner":{"login":"hellovietnam93","id":8023606,"avatar_url":"https://avatars.githubusercontent.com/u/8023606?v=3","gravatar_id":"","url":"https://api.github.com/users/hellovietnam93","html_url":"https://github.com/hellovietnam93","followers_url":"https://api.github.com/users/hellovietnam93/followers","following_url":"https://api.github.com/users/hellovietnam93/following{/other_user}","gists_url":"https://api.github.com/users/hellovietnam93/gists{/gist_id}","starred_url":"https://api.github.com/users/hellovietnam93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellovietnam93/subscriptions","organizations_url":"https://api.github.com/users/hellovietnam93/orgs","repos_url":"https://api.github.com/users/hellovietnam93/repos","events_url":"https://api.github.com/users/hellovietnam93/events{/privacy}","received_events_url":"https://api.github.com/users/hellovietnam93/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hellovietnam93/ftms","description":"Framgia Training Management System","fork":true,"url":"https://api.github.com/repos/hellovietnam93/ftms","forks_url":"https://api.github.com/repos/hellovietnam93/ftms/forks","keys_url":"https://api.github.com/repos/hellovietnam93/ftms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hellovietnam93/ftms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hellovietnam93/ftms/teams","hooks_url":"https://api.github.com/repos/hellovietnam93/ftms/hooks","issue_events_url":"https://api.github.com/repos/hellovietnam93/ftms/issues/events{/number}","events_url":"https://api.github.com/repos/hellovietnam93/ftms/events","assignees_url":"https://api.github.com/repos/hellovietnam93/ftms/assignees{/user}","branches_url":"https://api.github.com/repos/hellovietnam93/ftms/branches{/branch}","tags_url":"https://api.github.com/repos/hellovietnam93/ftms/tags","blobs_url":"https://api.github.com/repos/hellovietnam93/ftms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hellovietnam93/ftms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hellovietnam93/ftms/git/refs{/sha}","trees_url":"https://api.github.com/repos/hellovietnam93/ftms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hellovietnam93/ftms/statuses/{sha}","languages_url":"https://api.github.com/repos/hellovietnam93/ftms/languages","stargazers_url":"https://api.github.com/repos/hellovietnam93/ftms/stargazers","contributors_url":"https://api.github.com/repos/hellovietnam93/ftms/contributors","subscribers_url":"https://api.github.com/repos/hellovietnam93/ftms/subscribers","subscription_url":"https://api.github.com/repos/hellovietnam93/ftms/subscription","commits_url":"https://api.github.com/repos/hellovietnam93/ftms/commits{/sha}","git_commits_url":"https://api.github.com/repos/hellovietnam93/ftms/git/commits{/sha}","comments_url":"https://api.github.com/repos/hellovietnam93/ftms/comments{/number}","issue_comment_url":"https://api.github.com/repos/hellovietnam93/ftms/issues/comments{/number}","contents_url":"https://api.github.com/repos/hellovietnam93/ftms/contents/{+path}","compare_url":"https://api.github.com/repos/hellovietnam93/ftms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hellovietnam93/ftms/merges","archive_url":"https://api.github.com/repos/hellovietnam93/ftms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hellovietnam93/ftms/downloads","issues_url":"https://api.github.com/repos/hellovietnam93/ftms/issues{/number}","pulls_url":"https://api.github.com/repos/hellovietnam93/ftms/pulls{/number}","milestones_url":"https://api.github.com/repos/hellovietnam93/ftms/milestones{/number}","notifications_url":"https://api.github.com/repos/hellovietnam93/ftms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hellovietnam93/ftms/labels{/name}","releases_url":"https://api.github.com/repos/hellovietnam93/ftms/releases{/id}","deployments_url":"https://api.github.com/repos/hellovietnam93/ftms/deployments","created_at":"2015-09-14T01:28:59Z","updated_at":"2015-09-10T03:49:19Z","pushed_at":"2016-12-16T02:24:11Z","git_url":"git://github.com/hellovietnam93/ftms.git","ssh_url":"git@github.com:hellovietnam93/ftms.git","clone_url":"https://github.com/hellovietnam93/ftms.git","svn_url":"https://github.com/hellovietnam93/ftms","homepage":null,"size":7496,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"framgia:1.2.1","ref":"1.2.1","sha":"35a9815c80ac8cc1ec9a12e2b6f46200ad7fd88f","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":42220671,"name":"ftms","full_name":"framgia/ftms","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/ftms","description":"Framgia Training Management System","fork":false,"url":"https://api.github.com/repos/framgia/ftms","forks_url":"https://api.github.com/repos/framgia/ftms/forks","keys_url":"https://api.github.com/repos/framgia/ftms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/ftms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/ftms/teams","hooks_url":"https://api.github.com/repos/framgia/ftms/hooks","issue_events_url":"https://api.github.com/repos/framgia/ftms/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/ftms/events","assignees_url":"https://api.github.com/repos/framgia/ftms/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/ftms/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/ftms/tags","blobs_url":"https://api.github.com/repos/framgia/ftms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/ftms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/ftms/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/ftms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/ftms/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/ftms/languages","stargazers_url":"https://api.github.com/repos/framgia/ftms/stargazers","contributors_url":"https://api.github.com/repos/framgia/ftms/contributors","subscribers_url":"https://api.github.com/repos/framgia/ftms/subscribers","subscription_url":"https://api.github.com/repos/framgia/ftms/subscription","commits_url":"https://api.github.com/repos/framgia/ftms/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/ftms/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/ftms/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/ftms/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/ftms/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/ftms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/ftms/merges","archive_url":"https://api.github.com/repos/framgia/ftms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/ftms/downloads","issues_url":"https://api.github.com/repos/framgia/ftms/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/ftms/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/ftms/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/ftms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/ftms/labels{/name}","releases_url":"https://api.github.com/repos/framgia/ftms/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/ftms/deployments","created_at":"2015-09-10T03:49:19Z","updated_at":"2016-12-07T01:01:11Z","pushed_at":"2016-12-16T02:24:12Z","git_url":"git://github.com/framgia/ftms.git","ssh_url":"git@github.com:framgia/ftms.git","clone_url":"https://github.com/framgia/ftms.git","svn_url":"https://github.com/framgia/ftms","homepage":null,"size":7463,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":7,"forks":40,"open_issues":7,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/ftms/pulls/912"},"html":{"href":"https://github.com/framgia/ftms/pull/912"},"issue":{"href":"https://api.github.com/repos/framgia/ftms/issues/912"},"comments":{"href":"https://api.github.com/repos/framgia/ftms/issues/912/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/ftms/pulls/912/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/ftms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/ftms/pulls/912/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/ftms/statuses/5132453ea87aabb7882823744011f791b3a8f710"}}}}
{"actor":{"display_login":"ci-edu"}}