[Rubygems-developers] 0.4.0 bugfix release

Chad Fowler chad at chadfowler.com
Mon May 31 18:39:59 EDT 2004


On 31/5/2004, at 11:57 AM, Jim Weirich wrote:
>>
>
> This would be great.  The new options are listed below in the 
> commented  BEGIN/END section...
>
>   spec = Gem::Specification.new do |s|
>     s.name = 'rake'
>     s.version = PKG_VERSION
>     s.summary = "Ruby based make-like utility."
>     s.description = <<-EOF
>       Rake is a Make-like program implemented in Ruby. Tasks
>       and dependencies are specified in standard Ruby syntax.
>     EOF
>     s.files = PKG_FILES.to_a
>     s.require_path = 'lib'
>     s.autorequire = 'rake'
>     s.bindir = "bin"
>     s.executables = ["rake"]
>     s.default_executable = "rake"
>
>     s.has_rdoc = true
>     # BEGIN NEW GEM SPEC OPTIONS ...
>     s.rdoc_options << '--title "Rake -- Ruby Make"'
>     s.rdoc_options << '--line-numbers' << '--inline-source'
>     s.rdoc_files.include('README', 'MIT-LICENSE', 'TODO', 'CHANGES')
>     s.rdoc_files.include('lib/**/*.rb', 'doc/**/*.rdoc')
>     s.rdoc_files.exclude(/\bcontrib\b/)
>     # END NEW GEM SPEC OPTIONS
>
>     s.author = "Jim Weirich"
>     s.email = "jim at weirichhouse.org"
>     s.homepage = "http://http://onestepback.org"
>     s.rubyforge_project = "rake"
>   end
>

I just checked in the part that allows rdoc_options.  Not sure about 
how to handle rdoc_files yet (mostly pertaining to the FileList 
discussion).

Chad



More information about the Rubygems-developers mailing list