18d7d1c699
- changed the BSON constant to BSON_CODER and scoped it inside of a module - changed the directory layout for all of the BSON related files - updated the C extension to find the BSON files at their new directory locations - updated the C extension to use better/safer macros for accessing the C API; extension now compiles cleanly under rubinius/rbx - changed directory layout for BSON related tests - modified the Rakefile to understand the new layout
24 lines
750 B
Ruby
24 lines
750 B
Ruby
require "lib/mongo_bson"
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = 'mongo_bson'
|
|
|
|
s.version = Mongo::BSON::VERSION
|
|
|
|
s.platform = Gem::Platform::RUBY
|
|
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.'
|
|
|
|
s.require_paths = ['lib']
|
|
|
|
s.files = ['Rakefile', 'mongo-bson.gemspec', 'LICENSE.txt']
|
|
s.files += ['lib/mongo_bson.rb'] + Dir['lib/mongo_bson/**/*.rb']
|
|
s.test_files = Dir['test/mongo_bson/*.rb']
|
|
|
|
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
|