Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added parsing of arbitrary media type parameters. | Steve Klabnik | 2012-03-05 | 1 | -0/+6 |
| | | | | | | Based on #4918. Related to #4127. | ||||
* | Failing test case that shows issue #736 should still be open. | Scott W. Bradley | 2012-02-06 | 1 | -0/+6 |
| | |||||
* | Add test for register_alias | Justin Campbell | 2011-12-17 | 1 | -0/+9 |
| | |||||
* | Add test for type aliases | Justin Campbell | 2011-12-17 | 1 | -0/+11 |
| | |||||
* | Allow symbols to be passed for extension aliases | Justin Campbell | 2011-12-17 | 1 | -0/+11 |
| | |||||
* | Implement Mime::Type#respond_to? (consistently with #method_missing) | Evgeniy Dolzhenko | 2011-09-25 | 1 | -0/+2 |
| | |||||
* | No need to register again. As it's default now. | Arun Agrawal | 2011-06-28 | 1 | -3/+3 |
| | | | Removing gif from here because when it got unregister it start failing other places. | ||||
* | Fix test to use Mime::Zip | Arun Agrawal | 2011-06-28 | 1 | -1/+1 |
| | |||||
* | Use Mime::Type references. | José Valim | 2011-02-08 | 1 | -0/+7 |
| | |||||
* | Fix tests on 1.9.2. | José Valim | 2010-11-28 | 1 | -5/+4 |
| | |||||
* | trailing star mimes should respect the order in which mime types are defined. | José Valim | 2010-11-28 | 1 | -13/+6 |
| | |||||
* | process text/* if it appears in the middle of | Neeraj Singh | 2010-11-25 | 1 | -0/+20 |
| | | | | HTTP_ACCEPT parameter | ||||
* | processing image/* is an odditity because there is | Neeraj Singh | 2010-11-25 | 1 | -6/+0 |
| | | | | | | a test case which expects image/* to not to be expanded. So I am leaving image/* as it is and process only text/* and application/* | ||||
* | clean up test by using unregister method | Neeraj Singh | 2010-11-25 | 1 | -2/+1 |
| | |||||
* | unregister method implementation and test | Neeraj Singh | 2010-11-25 | 1 | -0/+17 |
| | |||||
* | sort lists before comparing them | Aaron Patterson | 2010-11-22 | 1 | -4/+4 |
| | |||||
* | make test more resilient to future changes by not | Neeraj Singh | 2010-11-22 | 1 | -2/+0 |
| | | | | | | | | | | testing the count and not testing the internal value of the registered mime type. Ideally all mime type registration should be cleaned up in teardown. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | rename star star to just one star | Neeraj Singh | 2010-11-22 | 1 | -3/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | cleanup Mime::LOOKUP after registering image/gif | Neeraj Singh | 2010-11-22 | 1 | -0/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | fix test | Neeraj Singh | 2010-11-22 | 1 | -3/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | test for text/*, application/* and image/* | Neeraj Singh | 2010-11-22 | 1 | -1/+27 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove useless use of :: in void context. | Emilio Tagua | 2010-09-28 | 1 | -1/+0 |
| | |||||
* | deOMGifying Railties, Active Support, and Action Pack | Mikel Lindsaar | 2010-01-31 | 1 | -2/+2 |
| | |||||
* | Got tests to pass with some more changes. | Yehuda Katz | 2009-08-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | * request.formats is much simpler now * For XHRs or Accept headers with a single item, we use the Accept header * For other requests, we use params[:format] or fallback to HTML * This is primarily to work around the fact that browsers provide completely broken Accept headers, so we have to whitelist the few cases we can specifically isolate and treat other requests as coming from the browser * For APIs, we can support single-item Accept headers, which disambiguates from the browsers * Requests to an action that only has an XML template from the browser will no longer find the template. This worked previously because most browsers provide a catch-all */*, but this was mostly accidental behavior. If you want to serve XML, either use the :xml format in links, or explicitly specify the XML template: render "template.xml". | ||||
* | Fixing pending tests and fixed some formats / partial rendering semantics | Yehuda Katz + Carl Lerche | 2009-06-17 | 1 | -2/+2 |
| | |||||
* | ActionPack components should no longer have undeclared dependencies. | Yehuda Katz + Carl Lerche | 2009-06-08 | 1 | -2/+2 |
| | | | | | | | * Tests can be run in isolation * Dependencies added * A few tests modified to avoid depending on AS deps not depended on my files they were testing | ||||
* | Move dispatch related tests into test/dispatch | Joshua Peek | 2009-01-28 | 1 | -0/+96 |