Homebrew can't autodetect that version and just uses the `20130613` part.
You'll have to add a line `version '0.4.0'`