Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Stop using with_controllers in tests | Joshua Peek | 2009-10-17 | 1 | -96/+72 | |
| | ||||||
* | No longer need this special routing exception message because these kinds of ↵ | Joshua Peek | 2009-10-17 | 1 | -13/+0 | |
| | | | | ambiguous generations are deprecated | |||||
* | Drop support for routing :generate_all | Joshua Peek | 2009-10-17 | 1 | -14/+0 | |
| | ||||||
* | Invalid route requirements should always raise an exception even if they are ↵ | Joshua Peek | 2009-10-17 | 1 | -8/+0 | |
| | | | | unused | |||||
* | Kill mock routing assertion that tests router implementation | Joshua Peek | 2009-10-10 | 1 | -13/+0 | |
| | ||||||
* | Relative url generations are covered more thoroughly by url rewriter tests | Joshua Peek | 2009-10-10 | 1 | -12/+0 | |
| | ||||||
* | Drop implementation specific routing test assertions | Joshua Peek | 2009-10-10 | 1 | -3/+0 | |
| | ||||||
* | Avoid creating new controller constants during test runtime. All routable ↵ | Joshua Peek | 2009-10-03 | 1 | -59/+3 | |
| | | | | controllers should be defined beforehand. | |||||
* | Use draw/connect mapper api instead of directly using add_named_route | Joshua Peek | 2009-09-06 | 1 | -12/+34 | |
| | ||||||
* | Fix failing isolated routing test | Joshua Peek | 2009-09-05 | 1 | -16/+16 | |
| | ||||||
* | Track all AC base subclasses as possible controllers for internal testing | Joshua Peek | 2009-08-25 | 1 | -70/+16 | |
| | ||||||
* | Cleanup route reloading in tests. Prefer with_routing over using ↵ | Joshua Peek | 2009-08-16 | 1 | -2/+1 | |
| | | | | ActionController::Routing::Routes directly | |||||
* | Axe "best fit" generation support | Joshua Peek | 2009-08-15 | 1 | -12/+0 | |
| | ||||||
* | Attempt to rewrite most of the highly coupled router segments tests | Joshua Peek | 2009-08-14 | 1 | -741/+221 | |
| | ||||||
* | Kill routing timed tests | Joshua Peek | 2009-08-14 | 1 | -50/+3 | |
| | ||||||
* | Deprecate router generation "best match" sorting | Joshua Peek | 2009-08-09 | 1 | -3/+5 | |
| | ||||||
* | Ruby 1.9 compat: fix route recognition encoding test | Jeremy Kemper | 2009-08-07 | 1 | -1/+1 | |
| | ||||||
* | Allow symbols on routes declaration (:controller and :action values) [#2828 ↵ | Jesús García Sáez | 2009-07-02 | 1 | -0/+10 | |
| | | | | | | state:resolved] Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | |||||
* | Accept Symbol for contoller name [#2855 state:resolved] | Yehuda Katz + Carl Lerche | 2009-07-01 | 1 | -0/+11 | |
| | | | Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | |||||
* | ActionPack components should no longer have undeclared dependencies. | Yehuda Katz + Carl Lerche | 2009-06-08 | 1 | -4/+4 | |
| | | | | | | | * 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 | |||||
* | Sidestep need for Kernel#silence_warnings | Jeremy Kemper | 2009-05-30 | 1 | -4/+4 | |
| | ||||||
* | Add % to RESERVED_PCHAR [#2574 state:resolved] | Eduard Bondarenko | 2009-05-27 | 1 | -0/+5 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Add some more tests to the test_new_base_on_old_tests task | Pratik Naik | 2009-05-23 | 1 | -0/+1 | |
| | ||||||
* | Start moving TestRequest and TestResponse into ActionDispatch | Joshua Peek | 2009-04-30 | 1 | -4/+4 | |
| | ||||||
* | Ensure blank path_prefix works as expected [#2122 state:resolved] | Andrew Bloom | 2009-03-09 | 1 | -2/+32 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. | Jeremy Kemper | 2009-03-08 | 1 | -27/+27 | |
| | | | | [#1617 state:resolved] | |||||
* | Support OPTIONS verb in route conditions [#1727 state:resolved] | Mike Gunderloy | 2009-03-08 | 1 | -0/+8 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Generating routes with optional format segment does not inherit params ↵ | Joshua Peek | 2009-03-04 | 1 | -0/+16 | |
| | | | | format [#2043 state:resolved] | |||||
* | Fix requirements regexp for path segments | Andrew White | 2009-02-22 | 1 | -0/+24 | |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1772 state:committed] | |||||
* | Remove hardcoded number_of_capturesin ControllerSegment to allow regexp ↵ | Andrew White | 2009-02-22 | 1 | -0/+9 | |
| | | | | | | | requirements with capturing parentheses Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1887 state:committed] | |||||
* | fix test data, should specify encoding to use multibyte chars on Ruby 1.9 | moro | 2009-02-20 | 1 | -0/+1 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha. | Jeremy Kemper | 2009-02-03 | 1 | -1383/+1381 | |
| | ||||||
* | Make router and controller classes better rack citizens | Joshua Peek | 2008-12-28 | 1 | -73/+60 | |
| | ||||||
* | Added support for multiple routes files and made draw not clear the map so ↵ | David Heinemeier Hansson | 2008-11-26 | 1 | -4/+25 | |
| | | | | they can be additive | |||||
* | Use autoload instead of explicit requires for ActionController | Joshua Peek | 2008-11-23 | 1 | -1/+0 | |
| | ||||||
* | Make optimized named routes respect all reserved options and tie it into ↵ | Gabe da Silveira | 2008-11-18 | 1 | -3/+9 | |
| | | | | | | UrlRewriter::RESERVED_OPTIONS so it's DRY Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Allow use of :path_prefix and :name_prefix outside of namespaced routes. ↵ | Tom Stuart | 2008-10-08 | 1 | -0/+21 | |
| | | | | | | [#1188 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Ensure routing optimizations are cleared when new routes are added [#981 ↵ | Matt Jones | 2008-09-07 | 1 | -0/+30 | |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Fixes optimised named routes generating question mark followed by nothing ↵ | Luke Melia | 2008-08-31 | 1 | -0/+6 | |
| | | | | | | | when provided an empty hash as the last argument. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#481 state:committed] | |||||
* | Fix indentation | Jeremy Kemper | 2008-08-28 | 1 | -22/+20 | |
| | ||||||
* | Routes may be restricted to lists of HTTP methods instead of a single method ↵ | Brennan Dunn | 2008-08-28 | 1 | -0/+25 | |
| | | | | | | | | or :any. [#407 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Prepare Route#generate and Route#recognize early. Also refactor segments a ↵ | Joshua Peek | 2008-07-28 | 1 | -96/+55 | |
| | | | | bit to try to make immutable. | |||||
* | Routing whitespace cleanup | Joshua Peek | 2008-07-28 | 1 | -0/+1 | |
| | ||||||
* | AbstractRequest.relative_url_root is no longer automatically configured by a ↵ | Joshua Peek | 2008-07-24 | 1 | -7/+3 | |
| | | | | HTTP header. It can now be set in your configuration environment with config.action_controller.relative_url_root | |||||
* | Raise ArgumentError if an invalid method is specified as part of a route's ↵ | Tom Ward | 2008-07-18 | 1 | -0/+16 | |
| | | | | | | conditions. Also raise an error if HEAD is specified as the method, as rails routes all HEAD requests through the equivalent GET, though doesn't return the response body [#182 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Use :namespace instead of :path_prefix for finding controller. [#544 ↵ | Tarmo Tänav | 2008-07-03 | 1 | -0/+20 | |
| | | | | | | | | | | state:resolved] :namespace is supposed to be the module where controller exists. :path_prefix can contain anything, including variables, which makes it unsuitable for determining the module for a controller. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Wrap CGIResponse, LegacyRouteSet, Route, RouteSet and RouteLoading tests ↵ | Joshua Peek | 2008-06-07 | 1 | -1630/+1601 | |
| | | | | inside mocha block. | |||||
* | Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ↵ | Joshua Peek | 2008-06-03 | 1 | -2/+2 | |
| | | | | ActiveSupport [#238 state:resolved] | |||||
* | Ensure routing generator works with non-string keys. [#172 state:resolved] | Sven Fuchs | 2008-05-16 | 1 | -0/+7 | |
| | | | | | | | | | | Make sure that (with recent correction to globbed parameter escaping) non-string values can still be passed route generation helpers for globbed route segments. For example, foo_path([1, 2, 3]) should still work for a route like map.foo "*globbed" by implicitely calling to_s on the Fixnums. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Escape globbed parameters in routes correctly. | Chris Roos | 2008-05-10 | 1 | -5/+7 | |
| | | | | | | :controller => 'glob', :action=> 'show', :additional => ['foo/bar', 'baz'] Should generate /glob/show/foo%2Fbar/baz not /glob/show/foo/bar/baz |