about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-09-30 18:24:33 +0000
committerEric Wong <normalperson@yhbt.net>2013-09-30 18:24:33 +0000
commit5f620f4435afcdc2304f53c74ff8b65fc4f04b0d (patch)
treef3fe63dc08d19f1ca95e46317ef4076f6f5aef04
parent0e9e6c54bb25eadcf955a7abb0b60e97388d8290 (diff)
downloadruby_posix_mq-5f620f4435afcdc2304f53c74ff8b65fc4f04b0d.tar.gz
RAA is dead.
-rw-r--r--GNUmakefile1
-rw-r--r--Rakefile38
2 files changed, 0 insertions, 39 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 5c9d1ae..ef19cb3 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -8,7 +8,6 @@ doc:: man-rdoc
 include pkg.mk
 ifneq ($(VERSION),)
 release::
-        $(RAKE) raa_update VERSION=$(VERSION)
         $(RAKE) publish_news VERSION=$(VERSION)
 endif
 
diff --git a/Rakefile b/Rakefile
index ad49622..af1ad34 100644
--- a/Rakefile
+++ b/Rakefile
@@ -31,41 +31,3 @@ task :publish_news do
   rf.login
   rf.post_news('qrp', subject, body)
 end
-
-desc "post to RAA"
-task :raa_update do
-  require 'rubygems'
-  require 'net/http'
-  require 'net/netrc'
-  rc = Net::Netrc.locate('posix_mq-raa') or abort "~/.netrc not found"
-  password = rc.password
-
-  s = Gem::Specification.load('posix_mq.gemspec')
-  desc = [ s.description.strip ]
-  desc << ""
-  desc << "* #{s.email}"
-  desc << "* #{git_url}"
-  desc << "* #{cgit_url}"
-  desc = desc.join("\n")
-  uri = URI.parse('http://raa.ruby-lang.org/regist.rhtml')
-  form = {
-    :name => s.name,
-    :short_description => s.summary,
-    :version => s.version.to_s,
-    :status => 'experimental',
-    :owner => s.authors.first,
-    :email => s.email,
-    :category_major => 'Library',
-    :category_minor => 'System',
-    :url => s.homepage,
-    :download => 'http://rubyforge.org/frs/?group_id=5626',
-    :license => 'LGPL', # LGPLv3, actually, but RAA is ancient...
-    :description_style => 'Plain',
-    :description => desc,
-    :pass => password,
-    :submit => 'Update',
-  }
-  res = Net::HTTP.post_form(uri, form)
-  p res
-  puts res.body
-end