aselder/chef-wkhtmltopdf — pull request #1 by aselder (2014-10-03 17:52:59+00:00)
Title: Clean version before parsing.

Chef::Version is only intended for cookbook versions, and as such can only handle x.y.z or x.y formats. It won't handle .pre, or .rc etc...

This strips just the leading version part that Chef::Version can understand.