Separate gemspec from Rakefile
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 21 Mar 2009 23:47:36 +0000 (00:47 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 22 Mar 2009 12:37:31 +0000 (13:37 +0100)
commit17b49c169599b1f5d8a1392451f0c1d174fd15ae
tree96dfac9efacd615d432af54dfa8ad788dda337eb
parentb3dc8579ef4c9aa2ec872c116257d57d4e6a4f51
Separate gemspec from Rakefile

The benefit of this separation is that hosting services such as GitHub
will automatically build a gem every time the version in the spec is
changed. The underside of this separation is that hosting services such
as GitHub will automatically build a gem every time the version is
changed.

To allow the automatic gem generation to trigger on the release of
0.9.15, we demoted the version in the spec to 0.9.14. This gimmick is
needed because the gem spec doesn't allow non-numeric versions.

Since the gemspec is now standalone, it uses Dir instead of FileList,
which is equivalent for our use case. Moreover, the Rakefile only
defines the gem tasks if the spec is present.
Rakefile
rbot.gemspec [new file with mode: 0644]
tag-release