--VrqPEDrXMn8OVzN4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Nov 12, 2011 at 09:34:24AM +0900, Josh Cheek wrote:
> 
> Just use your git hash:

This is probably a joke, but . . .

1. I'm using Mercurial, not Git.

2. That wouldn't be a very good idea for version numbers, in my opinion.

> 
> # assumes file is in root/lib/gem_name.rb
> module GemName
>   VERSION = `git --git-dir="#{File.dirname __FILE__}/../.git" rev-parse
> origin/master`
> end

3. The only part of this that actually answers my question is this:

      VERSION =

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

--VrqPEDrXMn8OVzN4
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAk698+sACgkQ9mn/Pj01uKV+nACfTD05YP9yoaPT9n+xaTbPG/iv
i58AoKxheIKZSnRIyD/zDobv3IxODw3O

A/
-----END PGP SIGNATURE-----

--VrqPEDrXMn8OVzN4--