saltstack/salt — pull request #12944 by samhitov (2014-05-21 22:30:22+00:00)
Title: 12839: Install specified version of gem if another version is already installed

This is a fix for #12839.

Before: If a gem is already installed, gem.installed always returns "True: Gem is already installed," even if the installed version is different than the specified version.

After: If a gem is already installed, but the installed gem is not of the specified version, gem.installed will install the specified version of the gem.