use Gem::Specification.load rather than eval File.read

unless eval is being used for legacy or backwards compatibility, Gem::Specification.load should be much safer and 100% compatible / capable