Sha256: 9a9db884882007027943c6f7abacc39906a9d38da56c35b0b71ed4b65f5ddc64
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 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', '.AppleDouble' title "#{name.camelize} - Approximate Matching" readme 'README.rdoc' require_paths %w[lib ext] dependency 'tins', '~>0.3' development_dependency 'test-unit', '~>2.3' development_dependency 'utils' 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amatch-0.2.11 | Rakefile |