Sha256: 625d6a87cd64f9f448fb3130cbd345abdfaaa24d6f3ac10b68254717070ecdfd
Contents?: true
Size: 868 Bytes
Versions: 24
Compression:
Stored size: 868 Bytes
Contents
# $Id$ # This file does not define any rake tasks. It is used to load some project # settings if they are not defined by the user. PROJ.rdoc_exclude << "^#{Regexp.escape(PROJ.manifest_file)}$" PROJ.exclude << "^#{Regexp.escape(PROJ.ann_file)}$" PROJ.instance_variable_get(:@table).each do |key,val| next unless val.instance_of? Array next if key == :dependencies val.flatten! end PROJ.changes ||= paragraphs_of(PROJ.history_file, 0..1).join("\n\n") PROJ.description ||= paragraphs_of(PROJ.readme_file, 'description').join("\n\n") PROJ.summary ||= PROJ.description.split('.').first PROJ.files ||= if test(?f, PROJ.manifest_file) files = File.readlines(PROJ.manifest_file).map {|fn| fn.chomp.strip} files.delete '' files else [] end PROJ.executables ||= PROJ.files.find_all {|fn| fn =~ %r/^bin/} PROJ.rdoc_main ||= PROJ.readme_file # EOF
Version data entries
24 entries across 23 versions & 11 rubygems