saltstack/salt — pull request #2574 by johnthedebs (2012-11-15 23:08:32+00:00)
Title: Logic and test fixes for version, ri, rdoc support in gem state

The logic needed to be fixed in the gem state so that it only checks the version if the user has specified a version.

The test needed to be fixed to reflect the return value of gem.list (a dict with lists as values, rather than just a list) and the new arguments to gem.installed.