Permalink
Switch branches/tags
Nothing to show
Commits on Nov 9, 2009
  1. No need to make run_reverse call for @filters. looks like blocks in a…

    …round_generate returning already called in reverse in 2.3.4
    Dru committed Nov 9, 2009
Commits on Oct 11, 2009
  1. added uuid_token filter

    hukl committed Oct 11, 2009
Commits on Aug 26, 2009
  1. Version bump to 0.0.2

    Sven Fuchs committed Aug 26, 2009
  2. prepare gem release

    Sven Fuchs committed Aug 26, 2009
  3. Version bump to 0.0.0

    Sven Fuchs committed Aug 26, 2009
  4. Make filters less dependend on each other (potentially breaks your fi…

    …lters).
    
    Previously when you mapped, e.g., a locale filter and a pagination filter, routing_filter would run the filters in this order for both recognition and generation. That means that both filters need to know more about potential changes of the other filter in around_recognition or around_generation respectively. 
    
    This change makes it so that filters are run in the registration order for #around_recognize (i.e. input comes in from the outer world), but are run in the reverse order for #around_generate (i.e. output comes from your app).
    Sven Fuchs committed Aug 26, 2009
Commits on Aug 20, 2009
  1. allow :exclude option to be a proc

    Clemens Kofler and Sven Fuchs committed Aug 20, 2009
  2. exclude default now also matches full urls

    Clemens Kofler and Sven Fuchs committed Aug 20, 2009
  3. add default env hash for recognize_path_with_filtering

    Clemens Kofler and Sven Fuchs committed Aug 20, 2009
Commits on Aug 5, 2009
  1. Revert "Added the ability to allow users to set a local_aliases optio…

    …n on the locale filter that allows a hash of locale aliases to be passed such as :locale_aliases => {'en-UK' => 'UK', 'fr' => 'France'} this would allow URL's such as http://example.com/UK to use the en-UK locale and also generate links to the alias. The aliases will also be case insensitive."
    
    Does not contain any specs at all, sorry. I guess I'll have to look at pull requests more closely.
    
    This reverts commit 2cde58d.
    Sven Fuchs committed Aug 5, 2009
  2. Revert "Allow access to recall as well as options in generate_with_fi…

    …ltering"
    
    Doesn't pass 90% of the specs, sorry.
    
    This reverts commit a7c872a.
    Sven Fuchs committed Aug 5, 2009
  3. Added the ability to allow users to set a local_aliases option on the…

    … locale filter that allows a hash of locale aliases to be passed such as :locale_aliases => {'en-UK' => 'UK', 'fr' => 'France'} this would allow URL's such as http://example.com/UK to use the en-UK locale and also generate links to the alias. The aliases will also be case insensitive.
    
    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    Steve Smith committed with Sven Fuchs Jul 7, 2009
  4. I18n.default_locale may be a symbol but can also be a string

    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    Steve Smith committed with Sven Fuchs Jul 7, 2009
  5. Allow access to recall as well as options in generate_with_filtering

    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    jim committed with Sven Fuchs Aug 4, 2009
  6. unescape path so that we can more easily work with scandinavian lette…

    …rs on filters
    
    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    mseppae committed with Sven Fuchs Jul 28, 2009
Commits on Apr 15, 2009
  1. fix pagination filter to work with url params

    Sven Fuchs committed Apr 15, 2009
Commits on Apr 5, 2009
  1. add a force_extension filter (customer who wants all urls to have a .…

    …html extension for legacy urls aka seo)
    Sven Fuchs committed Apr 5, 2009
  2. stop from maintaining a default_locale on the locale routing filter, …

    …instead use I18n.default_locale directly
    Sven Fuchs committed Apr 5, 2009
  3. simplify #clear_with_filtering!

    Sven Fuchs committed Apr 5, 2009
  4. refactoring and cleanup: standarize on symbols for locales, lazy-eval…

    … evaluate locales, memoize locales_pattern, use Regexp.escape for locales_pattern, extract to methods for readability
    Sven Fuchs committed Apr 5, 2009
  5. rely on rubygems in specs

    Sven Fuchs committed Apr 5, 2009
Commits on Apr 4, 2009
  1. Merging in svenfuchs master branch, resolving conflicts, and adding s…

    …upport for turning includsion of default locale on/off
    Kieran Pilkington committed Apr 4, 2009
  2. fixing a tiny typo giving ruby syntax error in the locale filter

    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    akitaonrails committed with Sven Fuchs Apr 2, 2009
Commits on Apr 1, 2009
  1. Merging in svenfuchs master branch

    Kieran Pilkington committed Apr 1, 2009
  2. bugfix: If no filters were being used, it would try to call nil.run (…

    …which would fail and thus make the entire application unusable)
    
    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    Kieran Pilkington committed with Sven Fuchs Mar 8, 2009
  3. Allow to load new filters from specific location using the option :file

    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    ZenCocoon committed with Sven Fuchs Jan 21, 2009
  4. now also handling globbed routes as expected

    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    hukl committed with Sven Fuchs Mar 31, 2009
  5. fixing the locale filter regex to accept 'pt-BR' like locale

    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    akitaonrails committed with Sven Fuchs Apr 1, 2009
  6. Clear the filters when the routes get cleared so we don't end up with…

    … multiple filters (in particular in development mode when the routes get cleared every request)
    
    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    mattenat committed with Sven Fuchs Dec 11, 2008
Commits on Mar 25, 2009
  1. bugfix: fixing url generation for locales such as en-US and en-UK. Ad…

    …ding specs to make sure they continue to work.
    Kieran Pilkington committed Mar 25, 2009
Commits on Mar 23, 2009
  1. refinement: only generate routes if the locale passed in is a valid l…

    …ocale (route recognition already in place courtesy of Tanzeeb). Adding specs for both the new and existing locale validation.
    Kieran Pilkington committed Mar 23, 2009
  2. enhancement: You can now specify :locale => false when using url_for …

    …so that the link will be able to pull the users preferred locale, rather than the one in the URL. Updating all specs relevant and adding tests for the above functionality.
    Kieran Pilkington committed Mar 23, 2009
Commits on Mar 8, 2009
  1. bugfix: If no filters were being used, it would try to call nil.run (…

    …which would fail and thus make the entire application unusable)
    Kieran Pilkington committed Mar 8, 2009