https://github.com/kwilczynski/ruby-magic
Simple interface to libmagic for Ruby Programming Language
https://github.com/kwilczynski/ruby-magic
c c-extension content-type discovery file-format file-magic file-type file-type-detection magic mime mime-types recognition ruby ruby-gem validation
Last synced: about 1 year ago
JSON representation
Simple interface to libmagic for Ruby Programming Language
- Host: GitHub
- URL: https://github.com/kwilczynski/ruby-magic
- Owner: kwilczynski
- License: apache-2.0
- Created: 2013-08-03T02:57:31.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2023-10-27T02:14:12.000Z (over 2 years ago)
- Last Synced: 2025-04-04T04:08:58.649Z (about 1 year ago)
- Topics: c, c-extension, content-type, discovery, file-format, file-magic, file-type, file-type-detection, magic, mime, mime-types, recognition, ruby, ruby-gem, validation
- Language: C
- Homepage:
- Size: 4.98 MB
- Stars: 27
- Watchers: 3
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Authors: AUTHORS
Awesome Lists containing this project
README
# File Magic in Ruby
[](http://badge.fury.io/rb/ruby-magic)
[](http://opensource.org/licenses/Apache-2.0)
## Introduction
Provides simple interface to [libmagic][1] for Ruby Programming Language.
## Table of Contents
1. [Contributing](#contributing)
2. [Versioning](#versioning)
3. [Author](#author)
4. [Contributors](#contributors)
4. [Copyright](#copyright)
5. [License](#license)
## Contributing
See the [CONTRIBUTING.md](CONTRIBUTING.md) for best practices and instructions
on setting up your development environment.
## Versioning
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
For the versions available, see the tags on this repository.
## Author
Krzysztof Wilczyński ()
## Contributors
See the [CONTRIBUTORS.md](CONTRIBUTORS.md) file for a list of contributors to
the project.
## Copyright
Copyright 2013-2022 Krzysztof Wilczyński
## License
This project is licensed under the terms of the Apache License, Version 2.0 license.
To view the full license see the included [LICENSE](LICENSE) file.
[1]: https://en.wikipedia.org/wiki/File_(command)