Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 25, 2015
  1. Douwe Maan

    Bump version to 2.0.5.

    DouweM authored
  2. Thomas Kriechbaumer
Commits on Jan 23, 2015
  1. Douwe Maan

    Bump version to 2.0.4.

    DouweM authored
  2. Douwe Maan

    Get AutoLocale to actually work.

    DouweM authored
    Apologies for not having tested this more thoroughly.
  3. Douwe Maan

    Bump version to 2.0.3.

    DouweM authored
  4. Douwe Maan

    Cleanup.

    DouweM authored
  5. Douwe Maan

    Merge pull request #36 from masarakki/auto_locale

    DouweM authored
    automate set_locale
Commits on Jul 31, 2014
  1. Douwe Maan

    Bump version to 2.0.2.

    DouweM authored
Commits on Jun 4, 2014
  1. Matthias Hannig

    According to RFC2616 the parser should accept wildcards.

    mhannig authored
    For now it may be save to ignore them.
    However in a future implementation the wildcard should match any language
    given by the 'available_languages' array in methods determinating a preferred
    or compatible language for the user.
Commits on May 3, 2014
  1. masarakki

    automatically set_locale

    masarakki authored
  2. Douwe Maan

    Merge pull request #39 from coneybeare/patch-1

    DouweM authored
    Setup a new parser outside of Middleware using HTTP_ACCEPT_LANGUAGE dire...
  3. Douwe Maan

    Slight optimization.

    DouweM authored
Commits on May 1, 2014
  1. Make language comparisons case-insensitive

    Ben Carlsson authored
Commits on Feb 20, 2014
  1. Matt Coneybeare

    Setup a new parser outside of Middleware using HTTP_ACCEPT_LANGUAGE d…

    coneybeare authored
    …irectly
    
    Allows you to use the gem outside of environments where the middleware does not run, such as controller specs.
Commits on Feb 5, 2014
  1. Adrià Planas
Commits on Jan 26, 2014
  1. Douwe Maan

    Cleanup parser.

    DouweM authored
  2. Kostyantyn Stepanyuk

    Improves language parser

    kostyantyn authored
    1. If header is malformed, pre-cache empty array instead of parsing it each time
    2. Validate locale and type cast its quality during first map iteration to reduce number of operations
    3. Split locales by string "," instead of using regex /,/ to increase performance
Commits on Jan 23, 2014
  1. Douwe Maan

    Bump version to 2.0.1.

    DouweM authored
Commits on Dec 20, 2013
  1. Benjamin Quorning

    Simplify #sanitize_available_locales

    bquorning authored
    Maybe simplified too much?
Commits on Sep 6, 2013
  1. Douwe Maan

    Bump version to 2.0.0.

    DouweM authored
  2. Douwe Maan

    Don't double load VERSION constant.

    DouweM authored
    Fixes #25.
  3. Douwe Maan

    Cleanup.

    DouweM authored
  4. Douwe Maan

    Merge pull request #23 from niallsmart/master

    DouweM authored
    Fix accidental reuse of Parser object in Rack Middleware.
Commits on Nov 27, 2012
  1. Niall Smart
Commits on Sep 7, 2012
  1. Douwe Maan

    Don't crash when used while middleware was not applied.

    DouweM authored
    Middleware are not always applied when running specs.
Commits on Aug 23, 2012
  1. Geoffrey Hichborn

    Reverted accidental change

    phene authored
  2. Geoffrey Hichborn
Commits on Jul 26, 2012
  1. Douwe Maan
Commits on Jul 13, 2012
  1. Pass only header itself to parser

    authored
  2. Split up responsibilities

    authored
  3. Switch to RSpec

    authored
Commits on Jul 12, 2012
  1. Michael Grosser
  2. Michael Grosser
Something went wrong with that request. Please try again.