Sha256: 25175213a16605f762b2f56ad7afcf692f360de6a25a463689f72b60626367d7

Contents?: true

Size: 1001 Bytes

Versions: 4

Compression:

Stored size: 1001 Bytes

Contents

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 'fattr', '>= 1.0.3'
  spec.add_dependency 'arrayfields', '>= 4.5.0'

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
main-2.8.2 gemspec.rb
main-2.8.3 gemspec.rb
main-2.8.4 gemspec.rb
main-2.8.1 gemspec.rb