uhferret.gemspec 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Gem::Specification.new do |s|
  2. s.name = "uhferret"
  3. s.platform = Gem::Platform::RUBY
  4. s.author = "Peter Lane"
  5. s.version = "1.3.7"
  6. s.email = "peterlane@gmx.com"
  7. s.homepage = "https://peterlane.netlify.app/ferret/"
  8. s.summary = "UHFerret is a copy-detection tool."
  9. s.license = "GPL-3.0+"
  10. s.description = <<-END
  11. UHFerret is a copy-detection tool to analyse large sets of documents
  12. to find pairs of documents with substantial amounts of lexical copying.
  13. Documents containing either natural language (e.g. English) or computer
  14. programs (in C-family) may be processed.
  15. END
  16. s.files = [
  17. "COPYING.txt",
  18. "README.rdoc",
  19. "ext/extconf.rb",
  20. "ext/document.cpp",
  21. "ext/documentlist.h",
  22. "ext/tokenreader.h",
  23. "ext/tupleset.cpp",
  24. "ext/document.h",
  25. "ext/tokenset.cpp",
  26. "ext/tupleset.h",
  27. "ext/documentlist.cpp",
  28. "ext/tokenreader.cpp",
  29. "ext/tokenset.h",
  30. "ext/uhferret_lib_wrap.cxx",
  31. "lib/uhferret.rb",
  32. "lib/utils.rb",
  33. "lib/webferret.rb"
  34. ]
  35. s.extensions = ["ext/extconf.rb"]
  36. s.require_path = "lib"
  37. s.extra_rdoc_files = ["README.rdoc", "COPYING.txt"]
  38. s.rdoc_options << '-m' << 'README.rdoc'
  39. s.executables << "uhferret"
  40. s.executables << "uhferret-server"
  41. s.required_ruby_version = '>= 2.5'
  42. end