{"action":"created","comment":{"url":"https://api.github.com/repos/whitesmith/rubycritic/pulls/comments/60310569","id":60310569,"diff_hunk":"@@ -92,15 +92,40 @@ For a full list of the command-line options run:\n $ rubycritic --help\n ```\n \n-| Command flag             | Description                                           |\n-|--------------------------|-------------------------------------------------------|\n-| `-v/--version`           | Displays the current version and exits                |\n-| `-p/--path`              | Sets the output directory (tmp/rubycritic by default) |\n-| `-s/--minimum-score`     | Set a minimum score                                   |\n-| `--mode-ci`              | Uses CI mode (faster, but only analyses last commit)  |\n-| `--deduplicate-symlinks` | De-duplicate symlinks based on their final target     |\n-| `--suppress-ratings`     | Suppress letter ratings                               |\n+| Command flag             | Description                                                                                               |\n+|--------------------------|-----------------------------------------------------------------------------------------------------------|\n+| `-v/--version`           | Displays the current version and exits                                                                    |\n+| `-p/--path`              | Sets the output directory (tmp/rubycritic by default)                                                     |\n+| `-f'/--format [FORMAT]`  | Report smells in the given format: html (default), json, console                                          |\n+| `-s/--minimum-score`     | Set a minimum score                                                                                       |\n+| `--mode-ci`              | Uses CI mode (faster, but only analyses last commit)                                                      |\n+| `--deduplicate-symlinks` | De-duplicate symlinks based on their final target                                                         |\n+| `--suppress-ratings`     | Suppress letter ratings                                                                                   |\n+| `--no-browser`           | Do not open html report with browser                                                                      |\n+| `-r/-for-rails`          | Generates report inside your rails application. Ignores some given parameters: (-p, --path, -f, --format) |\n+\n+If the -r option is choosen, it is possible build routes and dynamic controller to access it inside your rails app:","path":"README.md","position":24,"original_position":24,"commit_id":"8c4060be358d9f028b16f30631519975c2951aca","original_commit_id":"8c4060be358d9f028b16f30631519975c2951aca","user":{"login":"troessner","id":271109,"avatar_url":"https://avatars.githubusercontent.com/u/271109?v=3","gravatar_id":"","url":"https://api.github.com/users/troessner","html_url":"https://github.com/troessner","followers_url":"https://api.github.com/users/troessner/followers","following_url":"https://api.github.com/users/troessner/following{/other_user}","gists_url":"https://api.github.com/users/troessner/gists{/gist_id}","starred_url":"https://api.github.com/users/troessner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troessner/subscriptions","organizations_url":"https://api.github.com/users/troessner/orgs","repos_url":"https://api.github.com/users/troessner/repos","events_url":"https://api.github.com/users/troessner/events{/privacy}","received_events_url":"https://api.github.com/users/troessner/received_events","type":"User","site_admin":false},"body":"\"possible build routes\" -> \"possible to build routes\"\r\n\r\nand \r\n\r\n>> and dynamic controller to access it inside your rails app\r\n\r\nis confusing - what is \"it\"?","created_at":"2016-04-19T21:02:19Z","updated_at":"2016-04-19T21:02:19Z","html_url":"https://github.com/whitesmith/rubycritic/pull/142#discussion_r60310569","pull_request_url":"https://api.github.com/repos/whitesmith/rubycritic/pulls/142","_links":{"self":{"href":"https://api.github.com/repos/whitesmith/rubycritic/pulls/comments/60310569"},"html":{"href":"https://github.com/whitesmith/rubycritic/pull/142#discussion_r60310569"},"pull_request":{"href":"https://api.github.com/repos/whitesmith/rubycritic/pulls/142"}}},"pull_request":{"url":"https://api.github.com/repos/whitesmith/rubycritic/pulls/142","id":67054692,"html_url":"https://github.com/whitesmith/rubycritic/pull/142","diff_url":"https://github.com/whitesmith/rubycritic/pull/142.diff","patch_url":"https://github.com/whitesmith/rubycritic/pull/142.patch","issue_url":"https://api.github.com/repos/whitesmith/rubycritic/issues/142","number":142,"state":"open","locked":false,"title":"Generates report inside rails application","user":{"login":"felipegruoso","id":11670216,"avatar_url":"https://avatars.githubusercontent.com/u/11670216?v=3","gravatar_id":"","url":"https://api.github.com/users/felipegruoso","html_url":"https://github.com/felipegruoso","followers_url":"https://api.github.com/users/felipegruoso/followers","following_url":"https://api.github.com/users/felipegruoso/following{/other_user}","gists_url":"https://api.github.com/users/felipegruoso/gists{/gist_id}","starred_url":"https://api.github.com/users/felipegruoso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipegruoso/subscriptions","organizations_url":"https://api.github.com/users/felipegruoso/orgs","repos_url":"https://api.github.com/users/felipegruoso/repos","events_url":"https://api.github.com/users/felipegruoso/events{/privacy}","received_events_url":"https://api.github.com/users/felipegruoso/received_events","type":"User","site_admin":false},"body":"Changes the structure of HTML files to the same as a rails application.\r\nUpdates README file.","created_at":"2016-04-19T17:06:08Z","updated_at":"2016-04-19T21:02:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff425212a6946330fe3dc32f488f0a22986dd779","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/whitesmith/rubycritic/pulls/142/commits","review_comments_url":"https://api.github.com/repos/whitesmith/rubycritic/pulls/142/comments","review_comment_url":"https://api.github.com/repos/whitesmith/rubycritic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/whitesmith/rubycritic/issues/142/comments","statuses_url":"https://api.github.com/repos/whitesmith/rubycritic/statuses/8c4060be358d9f028b16f30631519975c2951aca","head":{"label":"felipegruoso:rails","ref":"rails","sha":"8c4060be358d9f028b16f30631519975c2951aca","user":{"login":"felipegruoso","id":11670216,"avatar_url":"https://avatars.githubusercontent.com/u/11670216?v=3","gravatar_id":"","url":"https://api.github.com/users/felipegruoso","html_url":"https://github.com/felipegruoso","followers_url":"https://api.github.com/users/felipegruoso/followers","following_url":"https://api.github.com/users/felipegruoso/following{/other_user}","gists_url":"https://api.github.com/users/felipegruoso/gists{/gist_id}","starred_url":"https://api.github.com/users/felipegruoso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipegruoso/subscriptions","organizations_url":"https://api.github.com/users/felipegruoso/orgs","repos_url":"https://api.github.com/users/felipegruoso/repos","events_url":"https://api.github.com/users/felipegruoso/events{/privacy}","received_events_url":"https://api.github.com/users/felipegruoso/received_events","type":"User","site_admin":false},"repo":{"id":56162831,"name":"rubycritic","full_name":"felipegruoso/rubycritic","owner":{"login":"felipegruoso","id":11670216,"avatar_url":"https://avatars.githubusercontent.com/u/11670216?v=3","gravatar_id":"","url":"https://api.github.com/users/felipegruoso","html_url":"https://github.com/felipegruoso","followers_url":"https://api.github.com/users/felipegruoso/followers","following_url":"https://api.github.com/users/felipegruoso/following{/other_user}","gists_url":"https://api.github.com/users/felipegruoso/gists{/gist_id}","starred_url":"https://api.github.com/users/felipegruoso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipegruoso/subscriptions","organizations_url":"https://api.github.com/users/felipegruoso/orgs","repos_url":"https://api.github.com/users/felipegruoso/repos","events_url":"https://api.github.com/users/felipegruoso/events{/privacy}","received_events_url":"https://api.github.com/users/felipegruoso/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/felipegruoso/rubycritic","description":"A Ruby code quality reporter","fork":true,"url":"https://api.github.com/repos/felipegruoso/rubycritic","forks_url":"https://api.github.com/repos/felipegruoso/rubycritic/forks","keys_url":"https://api.github.com/repos/felipegruoso/rubycritic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/felipegruoso/rubycritic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/felipegruoso/rubycritic/teams","hooks_url":"https://api.github.com/repos/felipegruoso/rubycritic/hooks","issue_events_url":"https://api.github.com/repos/felipegruoso/rubycritic/issues/events{/number}","events_url":"https://api.github.com/repos/felipegruoso/rubycritic/events","assignees_url":"https://api.github.com/repos/felipegruoso/rubycritic/assignees{/user}","branches_url":"https://api.github.com/repos/felipegruoso/rubycritic/branches{/branch}","tags_url":"https://api.github.com/repos/felipegruoso/rubycritic/tags","blobs_url":"https://api.github.com/repos/felipegruoso/rubycritic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/felipegruoso/rubycritic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/felipegruoso/rubycritic/git/refs{/sha}","trees_url":"https://api.github.com/repos/felipegruoso/rubycritic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/felipegruoso/rubycritic/statuses/{sha}","languages_url":"https://api.github.com/repos/felipegruoso/rubycritic/languages","stargazers_url":"https://api.github.com/repos/felipegruoso/rubycritic/stargazers","contributors_url":"https://api.github.com/repos/felipegruoso/rubycritic/contributors","subscribers_url":"https://api.github.com/repos/felipegruoso/rubycritic/subscribers","subscription_url":"https://api.github.com/repos/felipegruoso/rubycritic/subscription","commits_url":"https://api.github.com/repos/felipegruoso/rubycritic/commits{/sha}","git_commits_url":"https://api.github.com/repos/felipegruoso/rubycritic/git/commits{/sha}","comments_url":"https://api.github.com/repos/felipegruoso/rubycritic/comments{/number}","issue_comment_url":"https://api.github.com/repos/felipegruoso/rubycritic/issues/comments{/number}","contents_url":"https://api.github.com/repos/felipegruoso/rubycritic/contents/{+path}","compare_url":"https://api.github.com/repos/felipegruoso/rubycritic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/felipegruoso/rubycritic/merges","archive_url":"https://api.github.com/repos/felipegruoso/rubycritic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/felipegruoso/rubycritic/downloads","issues_url":"https://api.github.com/repos/felipegruoso/rubycritic/issues{/number}","pulls_url":"https://api.github.com/repos/felipegruoso/rubycritic/pulls{/number}","milestones_url":"https://api.github.com/repos/felipegruoso/rubycritic/milestones{/number}","notifications_url":"https://api.github.com/repos/felipegruoso/rubycritic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/felipegruoso/rubycritic/labels{/name}","releases_url":"https://api.github.com/repos/felipegruoso/rubycritic/releases{/id}","deployments_url":"https://api.github.com/repos/felipegruoso/rubycritic/deployments","created_at":"2016-04-13T15:14:26Z","updated_at":"2016-04-13T15:14:27Z","pushed_at":"2016-04-19T17:03:03Z","git_url":"git://github.com/felipegruoso/rubycritic.git","ssh_url":"git@github.com:felipegruoso/rubycritic.git","clone_url":"https://github.com/felipegruoso/rubycritic.git","svn_url":"https://github.com/felipegruoso/rubycritic","homepage":"","size":801,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"whitesmith:master","ref":"master","sha":"dc91384b5700438c86f2c79f8fa36fc4a1d8e4da","user":{"login":"whitesmith","id":5413174,"avatar_url":"https://avatars.githubusercontent.com/u/5413174?v=3","gravatar_id":"","url":"https://api.github.com/users/whitesmith","html_url":"https://github.com/whitesmith","followers_url":"https://api.github.com/users/whitesmith/followers","following_url":"https://api.github.com/users/whitesmith/following{/other_user}","gists_url":"https://api.github.com/users/whitesmith/gists{/gist_id}","starred_url":"https://api.github.com/users/whitesmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitesmith/subscriptions","organizations_url":"https://api.github.com/users/whitesmith/orgs","repos_url":"https://api.github.com/users/whitesmith/repos","events_url":"https://api.github.com/users/whitesmith/events{/privacy}","received_events_url":"https://api.github.com/users/whitesmith/received_events","type":"Organization","site_admin":false},"repo":{"id":13445293,"name":"rubycritic","full_name":"whitesmith/rubycritic","owner":{"login":"whitesmith","id":5413174,"avatar_url":"https://avatars.githubusercontent.com/u/5413174?v=3","gravatar_id":"","url":"https://api.github.com/users/whitesmith","html_url":"https://github.com/whitesmith","followers_url":"https://api.github.com/users/whitesmith/followers","following_url":"https://api.github.com/users/whitesmith/following{/other_user}","gists_url":"https://api.github.com/users/whitesmith/gists{/gist_id}","starred_url":"https://api.github.com/users/whitesmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitesmith/subscriptions","organizations_url":"https://api.github.com/users/whitesmith/orgs","repos_url":"https://api.github.com/users/whitesmith/repos","events_url":"https://api.github.com/users/whitesmith/events{/privacy}","received_events_url":"https://api.github.com/users/whitesmith/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/whitesmith/rubycritic","description":"A Ruby code quality reporter","fork":false,"url":"https://api.github.com/repos/whitesmith/rubycritic","forks_url":"https://api.github.com/repos/whitesmith/rubycritic/forks","keys_url":"https://api.github.com/repos/whitesmith/rubycritic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whitesmith/rubycritic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whitesmith/rubycritic/teams","hooks_url":"https://api.github.com/repos/whitesmith/rubycritic/hooks","issue_events_url":"https://api.github.com/repos/whitesmith/rubycritic/issues/events{/number}","events_url":"https://api.github.com/repos/whitesmith/rubycritic/events","assignees_url":"https://api.github.com/repos/whitesmith/rubycritic/assignees{/user}","branches_url":"https://api.github.com/repos/whitesmith/rubycritic/branches{/branch}","tags_url":"https://api.github.com/repos/whitesmith/rubycritic/tags","blobs_url":"https://api.github.com/repos/whitesmith/rubycritic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whitesmith/rubycritic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whitesmith/rubycritic/git/refs{/sha}","trees_url":"https://api.github.com/repos/whitesmith/rubycritic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whitesmith/rubycritic/statuses/{sha}","languages_url":"https://api.github.com/repos/whitesmith/rubycritic/languages","stargazers_url":"https://api.github.com/repos/whitesmith/rubycritic/stargazers","contributors_url":"https://api.github.com/repos/whitesmith/rubycritic/contributors","subscribers_url":"https://api.github.com/repos/whitesmith/rubycritic/subscribers","subscription_url":"https://api.github.com/repos/whitesmith/rubycritic/subscription","commits_url":"https://api.github.com/repos/whitesmith/rubycritic/commits{/sha}","git_commits_url":"https://api.github.com/repos/whitesmith/rubycritic/git/commits{/sha}","comments_url":"https://api.github.com/repos/whitesmith/rubycritic/comments{/number}","issue_comment_url":"https://api.github.com/repos/whitesmith/rubycritic/issues/comments{/number}","contents_url":"https://api.github.com/repos/whitesmith/rubycritic/contents/{+path}","compare_url":"https://api.github.com/repos/whitesmith/rubycritic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whitesmith/rubycritic/merges","archive_url":"https://api.github.com/repos/whitesmith/rubycritic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whitesmith/rubycritic/downloads","issues_url":"https://api.github.com/repos/whitesmith/rubycritic/issues{/number}","pulls_url":"https://api.github.com/repos/whitesmith/rubycritic/pulls{/number}","milestones_url":"https://api.github.com/repos/whitesmith/rubycritic/milestones{/number}","notifications_url":"https://api.github.com/repos/whitesmith/rubycritic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whitesmith/rubycritic/labels{/name}","releases_url":"https://api.github.com/repos/whitesmith/rubycritic/releases{/id}","deployments_url":"https://api.github.com/repos/whitesmith/rubycritic/deployments","created_at":"2013-10-09T14:58:31Z","updated_at":"2016-04-19T19:17:42Z","pushed_at":"2016-04-19T17:06:09Z","git_url":"git://github.com/whitesmith/rubycritic.git","ssh_url":"git@github.com:whitesmith/rubycritic.git","clone_url":"https://github.com/whitesmith/rubycritic.git","svn_url":"https://github.com/whitesmith/rubycritic","homepage":"","size":864,"stargazers_count":1314,"watchers_count":1314,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":76,"mirror_url":null,"open_issues_count":17,"forks":76,"open_issues":17,"watchers":1314,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/whitesmith/rubycritic/pulls/142"},"html":{"href":"https://github.com/whitesmith/rubycritic/pull/142"},"issue":{"href":"https://api.github.com/repos/whitesmith/rubycritic/issues/142"},"comments":{"href":"https://api.github.com/repos/whitesmith/rubycritic/issues/142/comments"},"review_comments":{"href":"https://api.github.com/repos/whitesmith/rubycritic/pulls/142/comments"},"review_comment":{"href":"https://api.github.com/repos/whitesmith/rubycritic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/whitesmith/rubycritic/pulls/142/commits"},"statuses":{"href":"https://api.github.com/repos/whitesmith/rubycritic/statuses/8c4060be358d9f028b16f30631519975c2951aca"}}}}