Prioritize MimeMagic over the `file` binary for content type detection when it finds a match. Fall back to `file` if MimeMagic can't match anything. `file` incorrectly detects Open Office XML files (e.g., xlsx, docx) as zip since they're implemented as zipped archives of xml files. MimeMagic detects them properly.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| fixtures | Loading commit data... | |
| matchers | Loading commit data... | |
| assertions.rb | Loading commit data... | |
| fake_model.rb | Loading commit data... | |
| fake_rails.rb | Loading commit data... | |
| mock_attachment.rb | Loading commit data... | |
| mock_interpolator.rb | Loading commit data... | |
| mock_url_generator_builder.rb | Loading commit data... | |
| model_reconstruction.rb | Loading commit data... | |
| rails_helpers.rb | Loading commit data... | |
| test_data.rb | Loading commit data... | |
| version_helper.rb | Loading commit data... |