{"action":"opened","number":256,"pull_request":{"url":"https://api.github.com/repos/railsbp/rails_best_practices/pulls/256","id":45662924,"html_url":"https://github.com/railsbp/rails_best_practices/pull/256","diff_url":"https://github.com/railsbp/rails_best_practices/pull/256.diff","patch_url":"https://github.com/railsbp/rails_best_practices/pull/256.patch","issue_url":"https://api.github.com/repos/railsbp/rails_best_practices/issues/256","number":256,"state":"open","locked":false,"title":"remove dependency on colored","user":{"login":"beanieboi","id":29251,"avatar_url":"https://avatars.githubusercontent.com/u/29251?v=3","gravatar_id":"","url":"https://api.github.com/users/beanieboi","html_url":"https://github.com/beanieboi","followers_url":"https://api.github.com/users/beanieboi/followers","following_url":"https://api.github.com/users/beanieboi/following{/other_user}","gists_url":"https://api.github.com/users/beanieboi/gists{/gist_id}","starred_url":"https://api.github.com/users/beanieboi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beanieboi/subscriptions","organizations_url":"https://api.github.com/users/beanieboi/orgs","repos_url":"https://api.github.com/users/beanieboi/repos","events_url":"https://api.github.com/users/beanieboi/events{/privacy}","received_events_url":"https://api.github.com/users/beanieboi/received_events","type":"User","site_admin":false},"body":"hey,\r\n\r\ni encountered a problem where i can't use the rails best practices gem and konacha together because both are overwriting `String#colorize` with different implementations.\r\n\r\ni checked the RBP really quick and saw that only red and green are used. \r\n\r\nthis PR removes the `colored` gem and add 2 simple methods that colorize the output in the same way as before.\r\n\r\nmonkey patching core classes is :hankey: \r\n\r\nthanks for your awesome work!","created_at":"2015-09-22T13:30:03Z","updated_at":"2015-09-22T13:30:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2439e314b1b692b4d13c7e280fdb4e35a5d6888d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/railsbp/rails_best_practices/pulls/256/commits","review_comments_url":"https://api.github.com/repos/railsbp/rails_best_practices/pulls/256/comments","review_comment_url":"https://api.github.com/repos/railsbp/rails_best_practices/pulls/comments{/number}","comments_url":"https://api.github.com/repos/railsbp/rails_best_practices/issues/256/comments","statuses_url":"https://api.github.com/repos/railsbp/rails_best_practices/statuses/ba693e69637d8c0ce433974f6102ada2d4b7a3c2","head":{"label":"beanieboi:remove-colorize","ref":"remove-colorize","sha":"ba693e69637d8c0ce433974f6102ada2d4b7a3c2","user":{"login":"beanieboi","id":29251,"avatar_url":"https://avatars.githubusercontent.com/u/29251?v=3","gravatar_id":"","url":"https://api.github.com/users/beanieboi","html_url":"https://github.com/beanieboi","followers_url":"https://api.github.com/users/beanieboi/followers","following_url":"https://api.github.com/users/beanieboi/following{/other_user}","gists_url":"https://api.github.com/users/beanieboi/gists{/gist_id}","starred_url":"https://api.github.com/users/beanieboi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beanieboi/subscriptions","organizations_url":"https://api.github.com/users/beanieboi/orgs","repos_url":"https://api.github.com/users/beanieboi/repos","events_url":"https://api.github.com/users/beanieboi/events{/privacy}","received_events_url":"https://api.github.com/users/beanieboi/received_events","type":"User","site_admin":false},"repo":{"id":42935313,"name":"rails_best_practices","full_name":"beanieboi/rails_best_practices","owner":{"login":"beanieboi","id":29251,"avatar_url":"https://avatars.githubusercontent.com/u/29251?v=3","gravatar_id":"","url":"https://api.github.com/users/beanieboi","html_url":"https://github.com/beanieboi","followers_url":"https://api.github.com/users/beanieboi/followers","following_url":"https://api.github.com/users/beanieboi/following{/other_user}","gists_url":"https://api.github.com/users/beanieboi/gists{/gist_id}","starred_url":"https://api.github.com/users/beanieboi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beanieboi/subscriptions","organizations_url":"https://api.github.com/users/beanieboi/orgs","repos_url":"https://api.github.com/users/beanieboi/repos","events_url":"https://api.github.com/users/beanieboi/events{/privacy}","received_events_url":"https://api.github.com/users/beanieboi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/beanieboi/rails_best_practices","description":"a code metric tool for rails projects","fork":true,"url":"https://api.github.com/repos/beanieboi/rails_best_practices","forks_url":"https://api.github.com/repos/beanieboi/rails_best_practices/forks","keys_url":"https://api.github.com/repos/beanieboi/rails_best_practices/keys{/key_id}","collaborators_url":"https://api.github.com/repos/beanieboi/rails_best_practices/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/beanieboi/rails_best_practices/teams","hooks_url":"https://api.github.com/repos/beanieboi/rails_best_practices/hooks","issue_events_url":"https://api.github.com/repos/beanieboi/rails_best_practices/issues/events{/number}","events_url":"https://api.github.com/repos/beanieboi/rails_best_practices/events","assignees_url":"https://api.github.com/repos/beanieboi/rails_best_practices/assignees{/user}","branches_url":"https://api.github.com/repos/beanieboi/rails_best_practices/branches{/branch}","tags_url":"https://api.github.com/repos/beanieboi/rails_best_practices/tags","blobs_url":"https://api.github.com/repos/beanieboi/rails_best_practices/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/beanieboi/rails_best_practices/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/beanieboi/rails_best_practices/git/refs{/sha}","trees_url":"https://api.github.com/repos/beanieboi/rails_best_practices/git/trees{/sha}","statuses_url":"https://api.github.com/repos/beanieboi/rails_best_practices/statuses/{sha}","languages_url":"https://api.github.com/repos/beanieboi/rails_best_practices/languages","stargazers_url":"https://api.github.com/repos/beanieboi/rails_best_practices/stargazers","contributors_url":"https://api.github.com/repos/beanieboi/rails_best_practices/contributors","subscribers_url":"https://api.github.com/repos/beanieboi/rails_best_practices/subscribers","subscription_url":"https://api.github.com/repos/beanieboi/rails_best_practices/subscription","commits_url":"https://api.github.com/repos/beanieboi/rails_best_practices/commits{/sha}","git_commits_url":"https://api.github.com/repos/beanieboi/rails_best_practices/git/commits{/sha}","comments_url":"https://api.github.com/repos/beanieboi/rails_best_practices/comments{/number}","issue_comment_url":"https://api.github.com/repos/beanieboi/rails_best_practices/issues/comments{/number}","contents_url":"https://api.github.com/repos/beanieboi/rails_best_practices/contents/{+path}","compare_url":"https://api.github.com/repos/beanieboi/rails_best_practices/compare/{base}...{head}","merges_url":"https://api.github.com/repos/beanieboi/rails_best_practices/merges","archive_url":"https://api.github.com/repos/beanieboi/rails_best_practices/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/beanieboi/rails_best_practices/downloads","issues_url":"https://api.github.com/repos/beanieboi/rails_best_practices/issues{/number}","pulls_url":"https://api.github.com/repos/beanieboi/rails_best_practices/pulls{/number}","milestones_url":"https://api.github.com/repos/beanieboi/rails_best_practices/milestones{/number}","notifications_url":"https://api.github.com/repos/beanieboi/rails_best_practices/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/beanieboi/rails_best_practices/labels{/name}","releases_url":"https://api.github.com/repos/beanieboi/rails_best_practices/releases{/id}","created_at":"2015-09-22T13:27:08Z","updated_at":"2015-09-22T13:27:10Z","pushed_at":"2015-09-22T13:27:25Z","git_url":"git://github.com/beanieboi/rails_best_practices.git","ssh_url":"git@github.com:beanieboi/rails_best_practices.git","clone_url":"https://github.com/beanieboi/rails_best_practices.git","svn_url":"https://github.com/beanieboi/rails_best_practices","homepage":"http://rails-bestpractices.com","size":3837,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"railsbp:master","ref":"master","sha":"0264bca1ecee311d4684941e68df4a4bc0e50856","user":{"login":"railsbp","id":1289521,"avatar_url":"https://avatars.githubusercontent.com/u/1289521?v=3","gravatar_id":"","url":"https://api.github.com/users/railsbp","html_url":"https://github.com/railsbp","followers_url":"https://api.github.com/users/railsbp/followers","following_url":"https://api.github.com/users/railsbp/following{/other_user}","gists_url":"https://api.github.com/users/railsbp/gists{/gist_id}","starred_url":"https://api.github.com/users/railsbp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/railsbp/subscriptions","organizations_url":"https://api.github.com/users/railsbp/orgs","repos_url":"https://api.github.com/users/railsbp/repos","events_url":"https://api.github.com/users/railsbp/events{/privacy}","received_events_url":"https://api.github.com/users/railsbp/received_events","type":"Organization","site_admin":false},"repo":{"id":359371,"name":"rails_best_practices","full_name":"railsbp/rails_best_practices","owner":{"login":"railsbp","id":1289521,"avatar_url":"https://avatars.githubusercontent.com/u/1289521?v=3","gravatar_id":"","url":"https://api.github.com/users/railsbp","html_url":"https://github.com/railsbp","followers_url":"https://api.github.com/users/railsbp/followers","following_url":"https://api.github.com/users/railsbp/following{/other_user}","gists_url":"https://api.github.com/users/railsbp/gists{/gist_id}","starred_url":"https://api.github.com/users/railsbp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/railsbp/subscriptions","organizations_url":"https://api.github.com/users/railsbp/orgs","repos_url":"https://api.github.com/users/railsbp/repos","events_url":"https://api.github.com/users/railsbp/events{/privacy}","received_events_url":"https://api.github.com/users/railsbp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/railsbp/rails_best_practices","description":"a code metric tool for rails projects","fork":false,"url":"https://api.github.com/repos/railsbp/rails_best_practices","forks_url":"https://api.github.com/repos/railsbp/rails_best_practices/forks","keys_url":"https://api.github.com/repos/railsbp/rails_best_practices/keys{/key_id}","collaborators_url":"https://api.github.com/repos/railsbp/rails_best_practices/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/railsbp/rails_best_practices/teams","hooks_url":"https://api.github.com/repos/railsbp/rails_best_practices/hooks","issue_events_url":"https://api.github.com/repos/railsbp/rails_best_practices/issues/events{/number}","events_url":"https://api.github.com/repos/railsbp/rails_best_practices/events","assignees_url":"https://api.github.com/repos/railsbp/rails_best_practices/assignees{/user}","branches_url":"https://api.github.com/repos/railsbp/rails_best_practices/branches{/branch}","tags_url":"https://api.github.com/repos/railsbp/rails_best_practices/tags","blobs_url":"https://api.github.com/repos/railsbp/rails_best_practices/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/railsbp/rails_best_practices/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/railsbp/rails_best_practices/git/refs{/sha}","trees_url":"https://api.github.com/repos/railsbp/rails_best_practices/git/trees{/sha}","statuses_url":"https://api.github.com/repos/railsbp/rails_best_practices/statuses/{sha}","languages_url":"https://api.github.com/repos/railsbp/rails_best_practices/languages","stargazers_url":"https://api.github.com/repos/railsbp/rails_best_practices/stargazers","contributors_url":"https://api.github.com/repos/railsbp/rails_best_practices/contributors","subscribers_url":"https://api.github.com/repos/railsbp/rails_best_practices/subscribers","subscription_url":"https://api.github.com/repos/railsbp/rails_best_practices/subscription","commits_url":"https://api.github.com/repos/railsbp/rails_best_practices/commits{/sha}","git_commits_url":"https://api.github.com/repos/railsbp/rails_best_practices/git/commits{/sha}","comments_url":"https://api.github.com/repos/railsbp/rails_best_practices/comments{/number}","issue_comment_url":"https://api.github.com/repos/railsbp/rails_best_practices/issues/comments{/number}","contents_url":"https://api.github.com/repos/railsbp/rails_best_practices/contents/{+path}","compare_url":"https://api.github.com/repos/railsbp/rails_best_practices/compare/{base}...{head}","merges_url":"https://api.github.com/repos/railsbp/rails_best_practices/merges","archive_url":"https://api.github.com/repos/railsbp/rails_best_practices/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/railsbp/rails_best_practices/downloads","issues_url":"https://api.github.com/repos/railsbp/rails_best_practices/issues{/number}","pulls_url":"https://api.github.com/repos/railsbp/rails_best_practices/pulls{/number}","milestones_url":"https://api.github.com/repos/railsbp/rails_best_practices/milestones{/number}","notifications_url":"https://api.github.com/repos/railsbp/rails_best_practices/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/railsbp/rails_best_practices/labels{/name}","releases_url":"https://api.github.com/repos/railsbp/rails_best_practices/releases{/id}","created_at":"2009-11-03T13:41:10Z","updated_at":"2015-09-21T08:27:25Z","pushed_at":"2015-09-22T13:30:04Z","git_url":"git://github.com/railsbp/rails_best_practices.git","ssh_url":"git@github.com:railsbp/rails_best_practices.git","clone_url":"https://github.com/railsbp/rails_best_practices.git","svn_url":"https://github.com/railsbp/rails_best_practices","homepage":"http://rails-bestpractices.com","size":3837,"stargazers_count":2840,"watchers_count":2840,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":194,"mirror_url":null,"open_issues_count":33,"forks":194,"open_issues":33,"watchers":2840,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/railsbp/rails_best_practices/pulls/256"},"html":{"href":"https://github.com/railsbp/rails_best_practices/pull/256"},"issue":{"href":"https://api.github.com/repos/railsbp/rails_best_practices/issues/256"},"comments":{"href":"https://api.github.com/repos/railsbp/rails_best_practices/issues/256/comments"},"review_comments":{"href":"https://api.github.com/repos/railsbp/rails_best_practices/pulls/256/comments"},"review_comment":{"href":"https://api.github.com/repos/railsbp/rails_best_practices/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/railsbp/rails_best_practices/pulls/256/commits"},"statuses":{"href":"https://api.github.com/repos/railsbp/rails_best_practices/statuses/ba693e69637d8c0ce433974f6102ada2d4b7a3c2"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":14,"deletions":4,"changed_files":3}}