RubyGems.org

Magic

1.1.0

This extension provides access to the libmagic library, which is used (e.g. by the file(1) command) to identify the type of a binary or text file based on its initial bytes. The module offers a simple interface, with the bulk of the interface with libmagic being performed behind-the-scenes.

installgem install Magic -v 1.1.0
Authors

TG Community

1,080 total downloads 760 for this version
Owners

127b7dc3e95178445a2ba1b038623854

Gemfile
gem "Magic", "~> 1.1.0"
Versions
  1. 1.1.2 March 5, 2013
  2. 1.1.1 March 3, 2013
  3. 1.1.0 October 7, 2010