Repository - API - Source
rake-compiler
and rake-compiler-dock
versions in Gemfile
..gitlab-ci.yml
used to run CI remotely on GitLab.rake-compiler-dock
Gem. This allows for commands run to be shown.GVL
for any file and/or I/O operations.Magic#flags_array
to return name of each flag that is set.Mutex#lock
and Mutex#unlock
methods to make interactions with libmagic more thread-safe.clang
) compiler to build with to Travis CI, and fixed various issues reported by clang
compiler during build-time.Magic#load
to take nil as valid argument.MAGIC_CONTINUE
flag so that Magic#file
, Magic#buffer
and Magic#descriptor
methods will return an array for multiple results when appropriate.Vagrantfile
that can be used to build a development environment.Guard
Ruby gem for convenience, with an appropriate Guardfile
.Magic#version_array
and Magic#version_string
methods to be a singleton methods.Magic#flags_array
method to Magic#flags_to_a
.Magic::new
method, so that it accepts an array of paths from which to load the Magic database.Magic::Error
, plus always to raise on errors coming from libmagic. This is to make it more aligned with the standard library, where file and I/O related errors would raise an appropriate exception.errno
value to avoid race conditions.regex
) library not working with UTF-8 (or any other wide-character encoding).errno
as it's not needed on systems with modern C/C++ libraries and compilers.-Wl,--no-undefined
option from LDFLAGS
, as they might break on some systems.