Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Clean up docs.

  • Loading branch information...
commit c064d5de619cac126b9131fdff66ccb646ec4b27 1 parent 80a8d71
@jbarnette authored
Showing with 35 additions and 34 deletions.
  1. +1 −4 CHANGELOG.rdoc
  2. +34 −30 lib/hoe/doofus.rb
View
5 CHANGELOG.rdoc
@@ -1,6 +1,3 @@
=== 1.0.0 / 2009-07-02
-* 1 major enhancement
-
- * Birthday!
-
+* Birthday!
View
64 lib/hoe/doofus.rb
@@ -1,42 +1,46 @@
-module Hoe::Doofus
- VERSION = "1.0.0"
+class Hoe #:nodoc:
+ module Doofus
- # An array of reminder questions that should be asked before a
- # release, in the form, "Did you... [question]?" You can see the
- # defaults by running <tt>rake doofus</tt>.
+ # Duh.
+ VERSION = "1.0.0"
- attr_accessor :doofus_checklist
+ # An array of reminder questions that should be asked before a
+ # release, in the form, "Did you... [question]?" You can see the
+ # defaults by running <tt>rake doofus</tt>.
- def initialize_doofus #:nodoc:
- self.doofus_checklist = []
+ attr_accessor :doofus_checklist
- doofus_checklist <<
- "bump the version" <<
- "check everything in" <<
- "review the manifest" <<
- "update the README and RDocs" <<
- "update the changelog"
- end
+ def initialize_doofus #:nodoc:
+ self.doofus_checklist = []
- def define_doofus_tasks #:nodoc:
+ doofus_checklist <<
+ "bump the version" <<
+ "check everything in" <<
+ "review the manifest" <<
+ "update the README and RDocs" <<
+ "update the changelog"
+ end
- desc "Show a reminder for the steps I always forget."
- task :doofus do
- puts "\n### HEY! Doofus! Did you...\n\n"
+ def define_doofus_tasks #:nodoc:
- doofus_checklist.each do |question|
- question[0..0] = question[0..0].upcase
- question << "?" unless question[-2..-1] == "?"
- puts " * #{question}"
- end
+ desc "Show a reminder for the steps I always forget."
+ task :doofus do
+ puts "\n### HEY! Doofus! Did you...\n\n"
- puts
- end
+ doofus_checklist.each do |question|
+ question[0..0] = question[0..0].upcase
+ question << "?" unless question[-2..-1] == "?"
+ puts " * #{question}"
+ end
- task :release_sanity do
- Rake::Task[:doofus].invoke
- puts "Hit return if you're sure, Ctrl-C if you forgot something."
- $stdin.gets
+ puts
+ end
+
+ task :release_sanity do
+ Rake::Task[:doofus].invoke
+ puts "Hit return if you're sure, Ctrl-C if you forgot something."
+ $stdin.gets
+ end
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.