about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-09-26 23:41:58 +0000
committerEric Wong <normalperson@yhbt.net>2013-09-26 23:41:58 +0000
commit2b836fe70b8df7c4d811528669bdada449684ba1 (patch)
tree7310be8871954521ff060613fd0d35b3b905f015
parent1aa8677b0cd65da292bb9431518534faff33206f (diff)
RAA is dead
-rw-r--r--Rakefile38
1 files changed, 0 insertions, 38 deletions
diff --git a/Rakefile b/Rakefile
index ea15a58..fc217c4 100644
--- a/Rakefile
+++ b/Rakefile
@@ -36,41 +36,3 @@ task :publish_news do
   rf.login
   rf.post_news('clogger', subject, body)
 end
-
-desc "post to RAA"
-task :raa_update do
-  require 'rubygems'
-  require 'net/http'
-  require 'net/netrc'
-  rc = Net::Netrc.locate('clogger-raa') or abort "~/.netrc not found"
-  password = rc.password
-
-  s = Gem::Specification.load('clogger.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=8896',
-    :license => 'LGPL',
-    :description_style => 'Plain',
-    :description => desc,
-    :pass => password,
-    :submit => 'Update',
-  }
-  res = Net::HTTP.post_form(uri, form)
-  p res
-  puts res.body
-end