saltstack/salt — pull request #2558 by johnthedebs (2012-11-15 07:33:57+00:00)
Title: Add options to gem.install module and gem.installed state for version, ri, and rdoc

I've added the ability to control whether ri and rdoc documentation are generated for gems, and they're now disabled by default (which speeds up gem installation).

I've also added the ability to specify a version for installed gems, although this causes problems when multiple gems are specified (which I note in the docstrings); so gems with versions should be specified individually. It's worth mentioning this is also a problem with the gem CLI, so I figured it was acceptable.

Let me know if you have any feedback!