Skip to content
This repository
tag: v0.0.2

Aug 26, 2009

  1. Sven Fuchs

    Version bump to 0.0.2

    authored
  2. Sven Fuchs

    prepare gem release

    authored
  3. Sven Fuchs

    Version bump to 0.0.0

    authored
  4. Sven Fuchs

    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).
    authored
  5. Sven Fuchs

    allow to deactivate individual filters (e.g. for testing)

    authored

Aug 20, 2009

  1. allow :exclude option to be a proc

    authored
  2. exclude default now also matches full urls

    authored
  3. add default env hash for recognize_path_with_filtering

    authored

Aug 05, 2009

  1. Sven Fuchs

    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.
    authored
  2. Sven Fuchs

    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.
    authored
  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>
    authored svenfuchs committed
  4. I18n.default_locale may be a symbol but can also be a string

    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    authored svenfuchs committed
  5. Jim Benton

    Allow access to recall as well as options in generate_with_filtering

    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    authored svenfuchs committed
  6. Marko Seppä

    unescape path so that we can more easily work with scandinavian lette…

    …rs on filters
    
    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    authored svenfuchs committed

Apr 15, 2009

  1. Sven Fuchs

    fix pagination filter to work with url params

    authored

Apr 05, 2009

  1. Sven Fuchs

    add a force_extension filter (customer who wants all urls to have a .…

    …html extension for legacy urls aka seo)
    authored
  2. Sven Fuchs

    stop from maintaining a default_locale on the locale routing filter, …

    …instead use I18n.default_locale directly
    authored
  3. Sven Fuchs

    simplify #clear_with_filtering!

    authored
  4. Sven Fuchs

    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
    authored
  5. Sven Fuchs

    Merge branch 'master' of git://github.com/KieranP/routing-filter

    authored
  6. Sven Fuchs

    rely on rubygems in specs

    authored

Apr 04, 2009

  1. Merging in svenfuchs master branch, resolving conflicts, and adding s…

    …upport for turning includsion of default locale on/off
    authored
  2. Fabio Akita

    fixing a tiny typo giving ruby syntax error in the locale filter

    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    authored svenfuchs committed

Apr 01, 2009

  1. Merging in svenfuchs master branch

    authored
  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>
    authored svenfuchs committed
  3. Sébastien Grosjean

    Allow to load new filters from specific location using the option :file

    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    authored svenfuchs committed
  4. now also handling globbed routes as expected

    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    authored svenfuchs committed
  5. Fabio Akita

    fixing the locale filter regex to accept 'pt-BR' like locale

    Signed-off-by: Sven Fuchs <svenfuchs@artweb-design.de>
    authored svenfuchs committed
  6. Matt Ittigson

    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>
    authored svenfuchs committed

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.
    authored

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.
    authored
  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.
    authored

Mar 08, 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)
    authored

Mar 05, 2009

  1. Optimized url matching for locales

    authored
  2. Updated locale matching

    authored
Something went wrong with that request. Please try again.