the golden reliquary , when whole , plainly formed a miniature church , carved with arched windows and etched scenes done in gold , rubies , and emeralds , depicting christ 's life , from his adoration by the magi to his scourging and eventual crucifixion .