Samuel,

I tried:

version Version.parse(url)
version Version.parse(url).to_s

They both give me "Error: Invalid @version". Your thoughts?

Brian O.

On Jan 12, 2013, at 3:21 AM, Samuel John <notifications@github.com> wrote:

> In glimmer302a.rb:
> 
> > @@ -0,0 +1,46 @@
> > +require 'formula'
> > +require 'tmpdir'
> > +
> > +class Glimmer302a < Formula
> > +  homepage 'http://www.cbcb.umd.edu/software/glimmer/'
> > +  url 'http://www.cbcb.umd.edu/software/glimmer/glimmer302a.tar.gz'
> > +  sha1 '27fbd2498f997e0a47026b348b2fc95b073b712a'
> > +  version '3.02'
> Often homebrew can extract the version from the url. In this case perhaps "302" or "302a" wich would both be fine. When we upgrade it's easier to let the automatic to the work -- if possible.
> 
> —
> Reply to this email directly or view it on GitHub.
> 
>