Sha256: 4ac26f43aeafc8592ef0441728e0b30365b79b58318b1bd491b779132de7edf2

Contents?: true

Size: 1011 Bytes

Versions: 10

Compression:

Stored size: 1011 Bytes

Contents

#! /usr/bin/env gem build

lib, version = File::basename(File::dirname(File::expand_path(__FILE__))).split %r/-/, 2

require 'rubygems'

Gem::Specification::new do |spec|
  $VERBOSE = nil

  shiteless = lambda do |list|
    list.delete_if do |file|
      file =~ %r/\.svn/ or
      file =~ %r/\.tmp/
    end
  end

  spec.name = lib 
  spec.version = version 
  spec.platform = Gem::Platform::RUBY
  spec.summary = lib 

  spec.files = shiteless[Dir::glob("**/**")]
  spec.executables = shiteless[Dir::glob("bin/*")].map{|exe| File::basename exe}
  
  spec.require_path = "lib" 

  spec.has_rdoc = File::exist? "doc" 
  spec.test_suite_file = "test/#{ lib }.rb" if File::directory? "test"
  #spec.add_dependency 'lib', '>= version'
  spec.add_dependency 'fattr'

  spec.extensions << "extconf.rb" if File::exists? "extconf.rb"

  spec.rubyforge_project = 'codeforpeople'
  spec.author = "Ara T. Howard"
  spec.email = "ara.t.howard@gmail.com"
  spec.homepage = "http://codeforpeople.com/lib/ruby/#{ lib }/"
end

Version data entries

10 entries across 10 versions & 4 rubygems

Version Path
redef-0.4.2 gemspec.rb
shared-0.4.4 gemspec.rb
shared-1.0.0 gemspec.rb
shared-0.4.2 gemspec.rb
shared-0.4.3 gemspec.rb
tagz-4.4.0 gemspec.rb
tagz-4.5.0 gemspec.rb
tagz-4.6.0 gemspec.rb
terminator-0.4.2 gemspec.rb
terminator-0.4.3 gemspec.rb