Sha256: d7bf78ea8e1a1f1963bec2dd2455419219b7eb38c402a1beea91aca066085b6f
Contents?: true
Size: 988 Bytes
Versions: 2
Compression:
Stored size: 988 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.autorequire = lib spec.has_rdoc = File::exist? "doc" spec.test_suite_file = "test/#{ lib }.rb" if File::directory? "test" spec.add_dependency 'attributes', '>= 5.0.0' 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 }/" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
main-2.8.0 | gemspec.rb |
main-2.7.0 | gemspec.rb |