2012-02-07 01:18:44 +00:00
$: . unshift ( File . join ( File . dirname ( __FILE__ ) , 'lib' ) )
require 'bson'
2010-12-30 21:39:00 +00:00
Gem :: Specification . new do | s |
s . name = 'bson'
s . version = BSON :: VERSION
s . platform = 'jruby'
s . summary = 'Ruby implementation of BSON'
s . description = 'A Ruby BSON implementation for MongoDB. For more information about Mongo, see http://www.mongodb.org. For more information on BSON, see http://www.bsonspec.org.'
2011-01-05 17:31:49 +00:00
s . require_paths = [ 'lib' ]
2010-12-30 21:39:00 +00:00
s . files = [ 'LICENSE.txt' ]
s . files += [ 'lib/bson.rb' ] + Dir [ 'lib/bson/**/*.rb' ]
s . files += [ 'bin/b2json' , 'bin/j2bson' ]
2011-09-20 18:49:36 +00:00
s . files += [ 'ext/java/jar/jbson.jar' , 'ext/java/jar/mongo-2.6.5.jar' ]
2010-12-30 21:39:00 +00:00
s . test_files = Dir [ 'test/bson/*.rb' ]
s . executables = [ 'b2json' , 'j2bson' ]
s . has_rdoc = true
s . authors = [ 'Jim Menard' , 'Mike Dirolf' , 'Kyle Banker' ]
s . email = 'mongodb-dev@googlegroups.com'
s . homepage = 'http://www.mongodb.org'
end