summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-09-30 18:17:20 +0000
committerEric Wong <normalperson@yhbt.net>2013-09-30 18:19:18 +0000
commita9dfd48f9668d0a6e04cf009cea0c4ede962144d (patch)
tree0ff80622c8d95e7cbbb4aaa443ca53568f3ac6c6
parent0c2213dfe23f177c91d76c0c70aec5a01f5a7f55 (diff)
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 34a2d95..fcfbc48 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -256,7 +256,6 @@ release: verify package $(release_notes) $(release_changes)
         # in case of gem downloads from RubyForge releases page
         -rubyforge add_file \
           $(rfproject) $(rfpackage) $(VERSION) $(pkggem)
-        $(RAKE) raa_update VERSION=$(VERSION)
         $(RAKE) fm_update VERSION=$(VERSION)
 else
 gem install-gem: GIT-VERSION-FILE
diff --git a/Rakefile b/Rakefile
index 9f36a74..01ff5d0 100644
--- a/Rakefile
+++ b/Rakefile
@@ -5,43 +5,6 @@ require 'wrongdoc'
 cgit_url = Wrongdoc.config[:cgit_url]
 git_url = Wrongdoc.config[:git_url]
 
-desc "post to RAA"
-task :raa_update do
-  require 'net/http'
-  require 'net/netrc'
-  rc = Net::Netrc.locate('unicorn-raa') or abort "~/.netrc not found"
-  password = rc.password
-
-  s = Gem::Specification.load('unicorn.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 => 'stable',
-    :owner => s.authors.first,
-    :email => s.email,
-    :category_major => 'Library',
-    :category_minor => 'Web',
-    :url => s.homepage,
-    :download => "http://rubyforge.org/frs/?group_id=1306",
-    :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 'tempfile'