puppetlabs/puppet — pull request #614 by cprice-puppet (2012-03-30 00:22:02+00:00)
Title: Bug/2.7.x/13397 ensure latest multiple gems

As of 2.7.12, if you had "ensure=>latest" for any gem package
resource, puppet would not correctly detect that the gem
was already installed and would attempt to install it on
every run. (This was because the "latest" method on the
gem provider was always returning an array, when it should
always be returning a single value.)