Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 26, 2015
  1. @DouweM

    Merge pull request #46 from Kriechi/enable-travis

    DouweM authored
    add Travis CI integration
  2. @Kriechi

    add Travis CI integration

    Kriechi authored
Commits on Jan 25, 2015
  1. @DouweM

    Bump version to 2.0.5.

    DouweM authored
  2. @DouweM

    Merge pull request #45 from Kriechi/fix_auto_locale

    DouweM authored
    fix auto_locale
  3. @Kriechi

    Convert specs to RSpec 3.1.7 syntax with Transpec

    Kriechi authored
    This conversion is done by Transpec 3.0.7 with the following command:
        transpec
    
    * 17 conversions
        from: obj.should
          to: expect(obj).to
    
    For more details: https://github.com/yujinakayama/transpec#supported-conversions
  4. @Kriechi
Commits on Jan 23, 2015
  1. @DouweM

    Bump version to 2.0.4.

    DouweM authored
  2. @DouweM

    Get AutoLocale to actually work.

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

    Bump version to 2.0.3.

    DouweM authored
  4. @DouweM

    Cleanup.

    DouweM authored
  5. @DouweM

    Merge pull request #36 from masarakki/auto_locale

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

    Bump version to 2.0.2.

    DouweM authored
Commits on Jun 6, 2014
  1. @DouweM

    Merge pull request #43 from trustner/master

    DouweM authored
    Fixes an issue when parsing headers with a wildcard in the language-range.
Commits on Jun 4, 2014
  1. @mhannig

    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. @DouweM

    Merge pull request #39 from coneybeare/patch-1

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

    Slight optimization.

    DouweM authored
  4. @DouweM

    Merge pull request #41 from glacials/master

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

    Ben Carlsson authored
Commits on Feb 20, 2014
  1. @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. @DouweM

    Merge pull request #37 from planas/master

    DouweM authored
    Accept available languages as symbols on #sanitize_available_locales
  2. @planas
Commits on Jan 26, 2014
  1. @DouweM

    Cleanup parser.

    DouweM authored
  2. @DouweM

    Merge pull request #35 from kostyantyn/master

    DouweM authored
    Improves language parser
  3. @kostyantyn

    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. @DouweM

    Bump version to 2.0.1.

    DouweM authored
Commits on Dec 20, 2013
  1. @DouweM

    Merge pull request #33 from bquorning/sanitize-latinamerican-spanish

    DouweM authored
    Support numeric language code subtags.
  2. @bquorning

    Simplify #sanitize_available_locales

    bquorning authored
    Maybe simplified too much?
  3. @bquorning
Commits on Sep 6, 2013
  1. @DouweM

    Bump version to 2.0.0.

    DouweM authored
  2. @DouweM

    Pull from Rubygems over HTTPS.

    DouweM authored
    Fixes #31.
  3. @DouweM

    Update readme.

    DouweM authored
  4. @DouweM

    Merge pull request #24 from jordimassaguerpla/master

    DouweM authored
    Add license information to the gemspec.
  5. @DouweM

    Don't double load VERSION constant.

    DouweM authored
    Fixes #25.
  6. @DouweM

    Cleanup.

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