about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-11-05 07:00:26 +0000
committerEric Wong <normalperson@yhbt.net>2013-11-05 07:00:26 +0000
commitf76c6ba8aa64018fcfac6f1c1989ddc828bd180b (patch)
treeb0fd6b5505586c3e5b3e35c0405878b3f6011703
parentf952501c14316f8639949e3537aead6351224bcd (diff)
downloadraindrops-f76c6ba8aa64018fcfac6f1c1989ddc828bd180b.tar.gz
RAA is dead
-rw-r--r--Rakefile37
1 files changed, 0 insertions, 37 deletions
diff --git a/Rakefile b/Rakefile
index b992f80..e8890b6 100644
--- a/Rakefile
+++ b/Rakefile
@@ -26,40 +26,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('raindrops-raa') or abort "~/.netrc not found"
-  password = rc.password
-
-  s = Gem::Specification.load('raindrops.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 => 'Rack',
-    :url => s.homepage,
-    :download => 'http://rubyforge.org/frs/?group_id=8977',
-    :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