opscode/opscode-omnitruck — pull request #48 by sersut (2014-10-16 19:31:06+00:00)
Title: Make sure we discover the major / minor correctly.

* Fixes https://github.com/opscode/chef/issues/2202.

The reason we can't find a 10.10 package is because we can't resolve the minor version correctly. Existing regexps end up dividing the version to be something like this:

```
irb(main):001:0> /^([^\.]*)(\.([^\.]*))*/.match("10.10")
=> #