Sha256: 84222765974fd5ec3506bd477140fb2d25f47c3901e40032178b8645011b04ba

Contents?: true

Size: 1.1 KB

Versions: 170

Compression:

Stored size: 1.1 KB

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)}$",
                 "^#{Regexp.escape(PROJ.rdoc.dir)}/",
                 "^#{Regexp.escape(PROJ.rcov.dir)}/"]

flatten_arrays = lambda do |this,os|
    os.instance_variable_get(:@table).each do |key,val|
      next if key == :dependencies
      case val
      when Array; val.flatten!
      when OpenStruct; this.call(this,val)
      end
    end
  end
flatten_arrays.call(flatten_arrays,PROJ)

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.gem.files ||=
  if test(?f, PROJ.manifest_file)
    files = File.readlines(PROJ.manifest_file).map {|fn| fn.chomp.strip}
    files.delete ''
    files
  else [] end

PROJ.gem.executables ||= PROJ.gem.files.find_all {|fn| fn =~ %r/^bin/}

PROJ.rdoc.main ||= PROJ.readme_file

# EOF

Version data entries

170 entries across 167 versions & 51 rubygems

Version Path
ckuru-tools-0.0.13 tasks/post_load.rake
libxml-jruby-modified-1.0.2-jruby tasks/post_load.rake
libxml-jruby-modified-1.0.1-jruby tasks/post_load.rake
lijia-rmmseg-cpp-10.2.9.2 tasks/post_load.rake
Neurogami-roir-1.3.3.1 tasks/post_load.rake
Neurogami-roir-1.3.4 tasks/post_load.rake
Shazburg-webby-0.9.0 tasks/post_load.rake
TwP-webby-0.9.0 tasks/post_load.rake
TwP-webby-0.9.1 tasks/post_load.rake
TwP-webby-0.9.2 tasks/post_load.rake
TwP-webby-0.9.3 tasks/post_load.rake
aniero-iphone_data-0.0.0 tasks/post_load.rake
aniero-iphone_data-0.1.0 tasks/post_load.rake
aniero-tire_swing-0.0.2 tasks/post_load.rake
aniero-tire_swing-0.0.3 tasks/post_load.rake
aniero-tire_swing-0.0.4 tasks/post_load.rake
aniero-tire_swing-0.0.5 tasks/post_load.rake
aniero-tire_swing-0.0.6 tasks/post_load.rake
aniero-treehouse-0.0.2 tasks/post_load.rake
briandoll-greatest_common_factor-0.0.1 tasks/post_load.rake