Contract details being made public irks Hearts boss