Man arrested for firing gun in city