about summary refs log tree commit homepage
path: root/Rakefile
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-09-30 18:19:49 +0000
committerEric Wong <normalperson@yhbt.net>2013-09-30 18:19:49 +0000
commit008269885bcf1bbf99059d752970969f573d8867 (patch)
tree36f6cafddfa1b821641cc6a4bdb15cb0d8561629 /Rakefile
parentaf09f23d530dd018bfd074a81d679a6ac815165e (diff)
downloadrainbows-008269885bcf1bbf99059d752970969f573d8867.tar.gz
RAA is dead.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile37
1 files changed, 0 insertions, 37 deletions
diff --git a/Rakefile b/Rakefile
index dcc0fce..58de7fb 100644
--- a/Rakefile
+++ b/Rakefile
@@ -35,43 +35,6 @@ task :publish_news do
   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('rainbows-raa') or abort "~/.netrc not found"
-  password = rc.password
-
-  s = Gem::Specification.load('rainbows.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 => 'Web',
-    :url => s.homepage,
-    :download => "http://rubyforge.org/frs/?group_id=8977",
-    :license => "Ruby's",
-    :description_style => 'Plain',
-    :description => desc,
-    :pass => password,
-    :submit => "Update",
-  }
-  res = Net::HTTP.post_form(uri, form)
-  p res
-  puts res.body
-end
-
 desc "post to FM"
 task :fm_update do
   require 'net/http'