# markup: rd
Account for options passed to FileMagic.fm (issue #7 reported by Adam Wróbel).
Required Ruby version >= 1.9.3.
New method FileMagic#list (magic_list).
New method FileMagic#load (magic_load).
New method FileMagic.path (magic_getpath).
New method FileMagic.magic_version.
New method FileMagic.flags.
New flag no_check_builtin.
Tests print libmagic version and path.
Internal refactoring.
Use MAGIC_VERSION if available.
Made tests more robust.
New method FileMagic#io.
Housekeeping.
Removed usage of RARRAY_PTR (cf. Ruby bug #8399).
Housekeeping.
Not all versions/distributions have file/patchlevel.h
Added MAGIC_VERSION
Fixed example script
Brushed up C layer
Moved most of the Ruby stuff to C
No longer expose internal state (@closed, @flags)
No longer expose internal C methods (fm_*)
Updated for magic(4) version 5.04
Ruby 1.9.2 compatibility (Martin Carpenter)
Exposed flags as symbols (Martin Carpenter)
Allow ‘.’ when abbreviating mime types (Eric Schwartz)
Cleanup and project file fixes
Added mahoro source file and tests for reference and inspiration
We have a Rubyforge project now! :-)
Modified C API
Uniform C function prefix rb_magic_ (instead of magick_)
Uniform Ruby method prefix fm_ (instead of none)
More magic(4) constants (if available)
Added Ruby wrapper for more rubyish interface
Added/updated project files
Now available as a Rubygem!
Added manual close method
Added unit test suite
Initial release.
Generated with the Darkfish Rdoc Generator 2.