class Hoe
def initialize name, version = nil # :nodoc:
def initialize name, version = nil # :nodoc: self.name = name self.version = version self.author = [] self.changes = nil self.description = nil self.description_sections = %w(description) self.email = [] self.extra_deps = [] self.extra_dev_deps = [] self.extra_rdoc_files = [] self.post_install_message = nil self.rubyforge_name = name.downcase self.spec = nil self.spec_extras = {} self.summary = nil self.summary_sentences = 1 self.test_globs = ['test/**/test_*.rb'] if manifest = read_manifest then self.readme_file = manifest.grep(/^README\./).first self.history_file = manifest.grep(/^History\./).first end self.history_file ||= "History.txt" self.readme_file ||= "README.txt" abort "Hoe.new {...} removed. Switch to Hoe.spec." if block_given? end