atmos / bj fork watch download tarball
public
Description: Trying to make BJ a little more ORM agnostic
Homepage: http://codeforpeople.com/lib/ruby/bj/
Clone URL: git://github.com/atmos/bj.git
Search Repo:
bj / gemspec.rb
100644 31 lines (24 sloc) 0.967 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
lib, version = File::basename(File::dirname(File::expand_path(__FILE__))).split %r/-/, 2
require 'rubygems'
 
Gem::Specification::new do |spec|
  $VERBOSE = nil
  spec.name = lib
  spec.version = version
  spec.platform = Gem::Platform::RUBY
  spec.summary = lib
 
  spec.files = Dir::glob "**/**"
  spec.executables = 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 'main', '>= 2.6.0'
  spec.add_dependency 'systemu', '>= 1.2.0'
  spec.add_dependency 'orderedhash', '>= 0.0.3'
 
  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