Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (26 sloc) 1.32 KB
require 'rake/extensiontask'
spec = do |spec| = 'bitfield'
spec.platform = Gem::Platform::RUBY
spec.extensions = FileList["ext/**/extconf.rb"]
spec.version = '0.9.4' = "%Y-%m-%d" = 'Fabian Becker' = ''
spec.homepage = ''
spec.summary = "Wraps boost::dynamic_bitset and makes it available as a Ruby class
for fast operations on a bitset"
spec.description = 'This C extension wraps boost::dynamic_bitset and makes it available
as a native Ruby class. The bitset behaves like an an array allowing
only values of 0 and 1.'
spec.required_ruby_version = '>= 1.8.1'
spec.files = FileList["LICENSE", "README.rdoc", "Rakefile", "ext/**/*.cpp", "ext/**/*.hpp", "spec/*"]
spec.add_development_dependency 'rspec'
spec.test_files = ["spec/bitfield_spec.rb"]
spec.extra_rdoc_files = %w( README.rdoc ext/bitfield/bitfield.cpp )
spec.rdoc_options.concat ['--main','README.rdoc', '-E cpp=c']
# add your default gem packing task do |pkg|
end'bitfield', spec)