From 69b3f0f1627744926f53d13714ba62f0e83333c8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 25 Nov 2009 09:11:18 -0800 Subject: Gemcutter prep, fix RubyGems capitalization --- GNUmakefile | 10 +++++++--- README | 2 +- rainbows.gemspec | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 5628c24..5092ba8 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,4 +1,4 @@ -# use GNU Make to run tests in parallel, and without depending on Rubygems +# use GNU Make to run tests in parallel, and without depending on RubyGems all:: RUBY = ruby rake = rake @@ -150,10 +150,14 @@ $(pkgtgz): manifest fix-perms package: $(pkgtgz) $(pkggem) release: verify package $(release_notes) $(release_changes) + # make tgz release on RubyForge rubyforge add_release -f -n $(release_notes) -a $(release_changes) \ $(rfproject) $(rfpackage) $(VERSION) $(pkggem) - rubyforge add_file \ - $(rfproject) $(rfpackage) $(VERSION) $(pkgtgz) + # push gem to Gemcutter + gem push $(pkggem) + # in case of gem downloads from RubyForge releases page + -rubyforge add_file \ + $(rfproject) $(rfpackage) $(VERSION) $(pkggem) else gem install-gem: GIT-VERSION-FILE $(MAKE) $@ VERSION=$(GIT_VERSION) diff --git a/README b/README index 81446e2..58569bc 100644 --- a/README +++ b/README @@ -86,7 +86,7 @@ and run setup.rb after unpacking it: http://rubyforge.org/frs/?group_id=8977 -You may also install it via Rubygems on Rubyforge: +You may also install it via RubyGems on Gemcutter: gem install rainbows diff --git a/rainbows.gemspec b/rainbows.gemspec index 581fbb5..553804d 100644 --- a/rainbows.gemspec +++ b/rainbows.gemspec @@ -59,5 +59,5 @@ Gem::Specification.new do |s| # We use the new EM::attach/watch API in 0.12.10 # s.add_dependency(%q, ["~> 0.12.10"]) - # s.licenses = %w(GPLv2 Ruby) # accessor not compatible with older Rubygems + # s.licenses = %w(GPLv2 Ruby) # accessor not compatible with older RubyGems end -- cgit v1.2.3-24-ge0c7