opscode/chef — pull request #1726 by jordane (2014-07-31 17:57:43+00:00)
Title: support version constraints in value_for_platform

This allows version constraints like ~\>,\>=, and others to be used in the keys for value_for_platform

The primary motivation behind this is that CentOS has started tagging their versions with minor versions, like 7.0.1406, and it would be far more convenient to just specify ~> 7.0.

If a platform has a version that Gem doesn't like, we simply throw it away and move on.