- 30 Apr, 2015 4 commits
- 26 Apr, 2015 1 commit
-
-
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.
Stephen Pike committed
-
- 17 Apr, 2015 1 commit
-
-
Rocco Galluzzo committed
-
- 13 Mar, 2015 1 commit
-
-
Rocco Galluzzo committed
-
- 08 Dec, 2014 1 commit
-
-
Jon Yurek committed
-
- 25 Sep, 2014 1 commit
-
-
Jon Yurek committed
-
- 01 Jul, 2014 1 commit
-
-
Jon Yurek committed
-
- 20 Jun, 2014 1 commit
-
-
File.exists? has been deprecated since Ruby 1.9.2
Joost Baaij committed
-
- 10 Apr, 2014 1 commit
-
-
Andrey Novikov committed
-
- 21 Mar, 2014 1 commit
-
-
Jon Yurek committed
-
- 11 Mar, 2014 3 commits
-
-
Jon Yurek committed
-
There were a bunch of free-floating methods in spec_helper. They were pulled over from test/helper, but they shouldn't be there. Move them into appropriate modules in spec/support. This commit also cleans up the "should_accept/reject_dummy_class methods in favor of using proper matchers directly. This commit should probably not get squashed or git will likely forget that those matcher specs are the same file because of how much changed.
Jon Yurek committed -
This is a big one. This change converts all of the existing tests from test/unit to RSpec. It's been a long time coming, and was specifically prompted by the inability of minitest to work with Appraisal across the various Rails versions. Instead of ironing out that headache, converting to RSpec was preferable (after initial probing). Many assertions are still assertions and are housed in the Assertions module, but they should be converted as they get touched. Similarly, since we're touching all the tests/specs, we convert all the hashes from 1.8 syntax to 1.9 syntax.
Jon Yurek committed
-