Permalink
Browse files

Updated RubyDoc.info hook

  • Loading branch information...
1 parent e25d92a commit 544d615b045a2524ab43eebcc04652e68a8c1f38 @koraktor koraktor committed Sep 27, 2010
Showing with 21 additions and 20 deletions.
  1. +2 −1 CONTRIBUTORS
  2. +0 −15 docs/rdocinfo
  3. +15 −0 docs/rubydocinfo
  4. +0 −4 services/rdocinfo.rb
  5. +4 −0 services/rubydocinfo.rb
View
@@ -37,4 +37,5 @@ Thanks to the following people for making this possible
- Anton Mironov
- Jonathan George
- Nicholas Seemiller, Mark Michael, Glen Ivey
-- Jason Salaz
+- Jason Salaz
+- Sebastian Staudt
View
@@ -1,15 +0,0 @@
-rdoc.info
-=========
-
-This service allows you to auto-publish 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
View
@@ -0,0 +1,15 @@
+rubydoc.info
+=========
+
+This service allows you to auto-publish documentation for your Ruby gem or library.
+The resulting documentation will be hosted for you at http://rubydoc.info/github/your-name/your-project
+
+
+Developer Notes
+---------------
+
+data
+ - (no data is required, payload is simply posted to http://rubydoc.info/checkout)
+
+payload
+ - refer to docs/github_payload
View
@@ -1,4 +0,0 @@
-service :rdocinfo do |data, payload|
- Net::HTTP.post_form(URI.parse("http://rdoc.info/projects/update"), :payload => JSON.generate(payload))
- "namaste"
-end
View
@@ -0,0 +1,4 @@
+service :rubydocinfo do |data, payload|
+ Net::HTTP.post_form(URI.parse("http://rubydoc.info/checkout"), :payload => JSON.generate(payload))
+ "namaste"
+end

0 comments on commit 544d615

Please sign in to comment.