Sha256: 1c05f1e7a77f9934dba58852e3f17f8c090db9adf37b9ae04304c2ad90fc5ac4
Contents?: true
Size: 1.13 KB
Versions: 3
Compression:
Stored size: 1.13 KB
Contents
# vim: set filetype=ruby et sw=2 ts=2: require 'gem_hadar' GemHadar do name 'amatch' author 'Florian Frank' email 'flori@ping.de' homepage "http://github.com/flori/#{name}" summary 'Approximate String Matching library' description <<EOT Amatch is a library for approximate string matching and searching in strings. Several algorithms can be used to do this, and it's also possible to compute a similarity metric number between 0.0 and 1.0 for two given strings. EOT executables << 'agrep.rb' bindir 'bin' test_dir 'tests' ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock' title "#{name.camelize} - Approximate Matching" readme 'README.rdoc' require_paths %w[lib ext] dependency 'tins', '~>0.3' development_dependency 'test-unit', '~>2.3' install_library do libdir = CONFIG["sitelibdir"] src, = Dir['ext/amatch.*'].reject { |x| x =~ /\.[co]$/ } install(src, File.join(libdir, File.basename(src)), :verbose => true) mkdir_p dst = File.join(libdir, 'amatch') install('lib/amatch/version.rb', File.join(dst, 'version.rb'), :verbose => true) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
amatch-0.2.10 | Rakefile |
amatch-0.2.9 | Rakefile |
amatch-0.2.8 | Rakefile |