Permalink
Browse files

added rdoc.info service

  • Loading branch information...
1 parent 9247d5e commit b3bbcbbe5161ba6659fe8a75ab95d5549f76918d @zapnap zapnap committed with defunkt Oct 8, 2009
Showing with 20 additions and 0 deletions.
  1. +1 −0 CONTRIBUTORS
  2. +15 −0 docs/rdocinfo
  3. +4 −0 services/rdocinfo.rb
View
@@ -29,3 +29,4 @@ Thanks to the following people for making this possible
- Jess Martin
- Édouard Brière
- Teng Siong Ong
+- Nick Plante
View
@@ -0,0 +1,15 @@
+rdoc.info
+=========
+
+This service allows you to auto-public documentation for your Ruby gem or library.
+The resulting documentation will be hosted for you at http://rdoc.info/projects/your-name/your-project
+
+
+Developer Notes
+---------------
+
+data
+ - (no data is required, payload is simply posted to http://rdoc.info/projects/update)
+
+payload
+ - refer to docs/github_payload
@@ -0,0 +1,4 @@
+service :rdocinfo do |data, payload|
+ Net::HTTP.post_form(URI.parse("http://rdoc.info/projects/update"), :payload => JSON.generate(payload))
+ "namaste"
+end

0 comments on commit b3bbcbb

Please sign in to comment.