updated spec for min ruby ver