Time and Destiny

According to the book of Deuteronomy, how much time must pass before Ruth was eligible to enter into the congregation of the Lord?