Move out gemspec io method, document MetricVersion code