everzet/capifony — pull request #187 by ericclemmons (2012-08-08 04:12:58+00:00)
Title: Fix doctrine:migrations:migrate#currentVersion returning NIL

The pattern `[^$]+`failed to match any of the string past "Current Version:", while `.+` matches only the characters preceding the version number.

```
$ ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [i686-linux]
$ gem -v
1.6.2
$ cap --version
Capistrano v2.12.0

capifony-2.1.11
```

My deployments kept failing until I tested the regular exhibit locally & found the original pattern failed.