jkudish/WordPress-GitHub-Plugin-Updater — pull request #25 by ninnypants (2012-10-27 18:24:35+00:00)
Title: Get version from plugin header instead of readme.

Updater should use the plugin header instead of users having to put `~Current Version:1.4~` in their readme.

This changes the readme request to be `basename( $this->config['slug'] )` and uses a regex taken from `get_file_data` to retrieve the version number. I would have used `get_file_data` but it only works with a file in the file system so I just took the regex instead of writing to disk.