# -*- ruby -*- require 'rubygems' require 'rake/extensiontask' spec = Gem::Specification.new do |s| s.author = "Raffaello Pelagalli" s.email = "r _at_ redstack _dot_ net" s.name = "ssdeep" s.version = "0.0.3" s.homepage = "http://redstack.net/ruby-ssdeep" s.summary = "SSDEEP bindings for Ruby" s.description = <<-EOF ssdeep is a program for computing context triggered piecewise hashes (CTPH). Also called fuzzy hashes, CTPH can match inputs that have homologies. Such inputs have sequences of identical bytes in the same order, although bytes in between these sequences may be different in both content and length. EOF s.platform = Gem::Platform::RUBY s.extensions = FileList["ext/**/extconf.rb"] s.files = FileList['lib/', 'bin/*', '[A-Z]*', 'test/**/*', 'ext/**/*'].to_a end # add your default gem packing task Rake::GemPackageTask.new(spec) do |pkg| end Rake::ExtensionTask.new('ssdeep', spec) # vim: syntax=ruby