about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-09-30 18:21:30 +0000
committerEric Wong <normalperson@yhbt.net>2013-09-30 18:21:30 +0000
commit23447e63e64753223768d8481eb3c98f1c933bdf (patch)
treee7e61033864a20e0f64d93c636fa79697979d8a3
parent81b0e8e247746ed9c30fb4dc8e911b38eedd38bc (diff)
downloadsleepy_penguin-23447e63e64753223768d8481eb3c98f1c933bdf.tar.gz
RAA is dead
-rw-r--r--GNUmakefile1
-rw-r--r--Rakefile37
2 files changed, 0 insertions, 38 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 18ce531..8f2fdbb 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -6,7 +6,6 @@ include pkg.mk
 pkg_extra += ext/sleepy_penguin/git_version.h
 ifneq ($(VERSION),)
 release::
-        $(RAKE) raa_update VERSION=$(VERSION)
         $(RAKE) publish_news VERSION=$(VERSION)
 endif
 .PHONY: .FORCE-GIT-VERSION-FILE doc test $(test_units) manifest
diff --git a/Rakefile b/Rakefile
index 0737bb2..90b4e0c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -31,40 +31,3 @@ task :publish_news do
   rf.login
   rf.post_news('rainbows', subject, body)
 end
-
-desc "post to RAA"
-task :raa_update do
-  require 'net/http'
-  require 'net/netrc'
-  rc = Net::Netrc.locate('sleepy_penguin-raa') or abort "~/.netrc not found"
-  password = rc.password
-
-  s = Gem::Specification.load('sleepy_penguin.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=8977',
-    :license => "LGPL",
-    :description_style => 'Plain',
-    :description => desc,
-    :pass => password,
-    :submit => 'Update',
-  }
-  res = Net::HTTP.post_form(uri, form)
-  p res
-  puts res.body
-end