about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-11-25 09:11:18 -0800
committerEric Wong <normalperson@yhbt.net>2009-11-25 09:11:18 -0800
commit69b3f0f1627744926f53d13714ba62f0e83333c8 (patch)
treea88ae6ef1925f7b129c8cac7467863305c855505
parent4d8304bf0aa5665e8f8474dfb96019297fa0c2b9 (diff)
downloadrainbows-69b3f0f1627744926f53d13714ba62f0e83333c8.tar.gz
-rw-r--r--GNUmakefile10
-rw-r--r--README2
-rw-r--r--rainbows.gemspec2
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<eventmachine>, ["~> 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