Sha256: 539d5096c5d5fa85dcc3bd594df1891673bb61e9a63562f7715a59bd796d19be
Contents?: true
Size: 980 Bytes
Versions: 99
Compression:
Stored size: 980 Bytes
Contents
$:.unshift(File.join(File.dirname(__FILE__), 'lib')) require 'bson' VERSION_HEADER = File.open(File.join(File.dirname(__FILE__), 'ext', 'cbson', 'version.h'), "r") VERSION = VERSION_HEADER.read.scan(/VERSION "(\d[^"]+)"/)[0][0] Gem::Specification.new do |s| s.name = 'bson_ext' s.version = VERSION s.platform = Gem::Platform::RUBY s.summary = 'C extensions for Ruby BSON.' s.description = 'C extensions to accelerate the Ruby BSON serialization. For more information about BSON, see http://bsonspec.org. For information about MongoDB, see http://www.mongodb.org.' s.require_paths = ['ext'] s.files = ['Rakefile', 'bson_ext.gemspec'] s.files += Dir['ext/**/*.rb'] + Dir['ext/**/*.c'] + Dir['ext/**/*.h'] s.test_files = [] s.has_rdoc = false s.extensions << 'ext/cbson/extconf.rb' s.author = 'Mike Dirolf' s.email = 'mongodb-dev@googlegroups.com' s.homepage = 'http://www.mongodb.org' s.add_dependency('bson', "~> #{BSON::VERSION}") end
Version data entries
99 entries across 53 versions & 3 rubygems