Source: ruby-magic Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Dmitry Borodaenko , Antonio Terceiro Build-Depends: debhelper (>= 9~), gem2deb, libmagic1, ruby-ffi (>= 0.6.3), ruby-test-declarative Standards-Version: 3.9.6 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-magic.git Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-magic.git Homepage: https://github.com/qoobaa/magic Testsuite: autopkgtest-pkg-ruby XS-Ruby-Versions: all Package: ruby-magic Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ruby | ruby-interpreter, ruby-ffi (>= 0.6.3), libmagic1, ${misc:Depends}, ${shlibs:Depends} Description: Ruby FFI bindings to libmagic This package provides a Ruby FFI wrapper to the "magic" library that determines content type and encoding of files and strings. The library does three types of tests: file system tests, magic number tests, and language tests. The first test that succeeds causes the file type to be returned.