/
Rakefile
1 # -*- ruby -*-
2
3 require 'rubygems'
4 require 'rake/extensiontask'
5
6 spec = Gem::Specification.new do |s|
7 s.author = "Raffaello Pelagalli"
8 s.email = "r _at_ redstack _dot_ net"
9 s.name = "ssdeep"
10 s.version = "0.0.3"
11 s.homepage = "http://redstack.net/ruby-ssdeep"
12 s.summary = "SSDEEP bindings for Ruby"
13 s.description = <<-EOF
14 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.
15 EOF
16 s.platform = Gem::Platform::RUBY
17 s.extensions = FileList["ext/**/extconf.rb"]
18 s.files = FileList['lib/', 'bin/*', '[A-Z]*', 'test/**/*', 'ext/**/*'].to_a
19 end
20
21 # add your default gem packing task
22 Rake::GemPackageTask.new(spec) do |pkg|
23 end
24
25
26 Rake::ExtensionTask.new('ssdeep', spec)
27
28 # vim: syntax=ruby