heroku/heroku-buildpack-play — pull request #13 by ryanbrainard (2012-05-25 17:04:09+00:00)
Title: Fix version detection

This is to fix Issue #12

It looks like a big change, but its actually almost the same as the grep/sed used before (82da8fead6414f824027e12b2a6e27bb82abb86a), but still extracted into common.sh and just allowing a trailing A-Za-z (no dashes and no leading alphas). It is also play-specific instead of trying to be generic for any property -- there were some regex issues with that and isn't really needed for play, so keeping it simple. Also tests were renamed and changed to match new function name along with a bunch of new tests for the situation the customer ran into.