Jailer who pepper-sprayed restrained inmate pleads guilty to attempted felonious assault and unlawful restraint