class GemPackage attr_reader :name, :version, :files def initialize @name = 'eymiha' @version = '1.0.4' @files = FileList[ '*.rb', 'lib/*', 'test/*', 'html/**/*' ] end def fill_spec(s) s.name = name s.version = version s.summary = "Eymiha general Ruby extensions" s.files = files.to_a s.require_path = 'lib' s.autorequire = 'eymiha' s.has_rdoc = true s.rdoc_options << "--all" s.author = "Dave Anderson" s.email = "dave@eymiha.com" s.homepage = "http://www.eymiha.com" s.rubyforge_project = "cori" end end