Use relevant methods to consolidate logic in text_cop.rb
Use relevant methods to consolidate logic in text_cop.rb

jmsundar/brew,aw1621107/brew,mahori/brew,alyssais/brew,Homebrew/brew,MikeMcQuaid/brew,vitorgalvao/brew,hanxue/linuxbrew,Homebrew/brew,EricFromCanada/brew,muellermartin/dist,JCount/brew,sjackman/homebrew,gregory-nisbet/brew,nandub/brew,muellermartin/dist,JCount/brew,vitorgalvao/brew,jmsundar/brew,konqui/brew,gregory-nisbet/brew,pseudocody/brew,claui/brew,nandub/brew,hanxue/linuxbrew,claui/brew,mgrimes/brew,Linuxbrew/brew,MikeMcQuaid/brew,konqui/brew,ilovezfs/brew,Linuxbrew/brew,mahori/brew,reitermarkus/brew,mahori/brew,EricFromCanada/brew,pseudocody/brew,konqui/brew,claui/brew,reelsense/brew,palxex/brew,maxim-belkin/brew,DomT4/brew,alyssais/brew,amar-laksh/brew_sudo,reitermarkus/brew,DomT4/brew,aw1621107/brew,vitorgalvao/brew,palxex/brew,gregory-nisbet/brew,claui/brew,Homebrew/brew,mahori/brew,Homebrew/brew,bfontaine/brew,reitermarkus/brew,Linuxbrew/brew,EricFromCanada/brew,EricFromCanada/brew,sjackman/homebrew,JCount/brew,mgrimes/brew,aw1621107/brew,sjackman/homebrew,hanxue/linuxbrew,maxim-belkin/brew,amar-laksh/brew_sudo,Linuxbrew/brew,MikeMcQuaid/brew,reelsense/brew,MikeMcQuaid/brew,ilovezfs/brew,bfontaine/brew,zmwangx/brew,reelsense/brew,ilovezfs/brew,palxex/brew,jmsundar/brew,zmwangx/brew,nandub/brew,amar-laksh/brew_sudo,reitermarkus/brew,muellermartin/dist,alyssais/brew,bfontaine/brew,mgrimes/brew,zmwangx/brew,DomT4/brew,pseudocody/brew,sjackman/homebrew,DomT4/brew,nandub/brew,vitorgalvao/brew,JCount/brew,konqui/brew,maxim-belkin/brew