Sha256: 897be9e66635032363cba8db19dd7e7bba1ab55c62b9cba352caeb22eb0cb125

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

ENV["VERSION"] or abort "VERSION= must be specified"
manifest = File.readlines('.manifest').map! { |x| x.chomp! }
summary = File.readlines("README")[0].gsub(/\A=\s+\S+[^\w]+/, '').strip
description = File.read("README").split(/\n\n/)[1].strip

Gem::Specification.new do |s|
  s.name = %q{sleepy_penguin}
  s.version = ENV["VERSION"]

  s.homepage = 'http://bogomips.org/sleepy_penguin/'
  s.authors = ["sleepy_penguin hackers"]
  s.date = Time.now.utc.strftime('%Y-%m-%d')
  s.description = description
  s.email = %q{sleepy.penguin@librelist.com}

  s.extra_rdoc_files = File.readlines('.document').map! do |x|
    x.chomp!
    if File.directory?(x)
      manifest.grep(%r{\A#{x}/})
    elsif File.file?(x)
      x
    else
      nil
    end
  end.flatten.compact

  s.files = manifest
  s.rdoc_options = [ "-t", summary ]
  s.require_paths = %w(lib ext)
  s.rubyforge_project = %q{rainbows}
  s.summary = summary
  s.test_files = Dir['test/test_*.rb']
  s.extensions = %w(ext/sleepy_penguin/extconf.rb)

  # s.license = %w(LGPL) # disabled for compatibility with older RubyGems
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sleepy_penguin-1.0.0 sleepy_penguin.gemspec