Permalink
Commits on Apr 17, 2010
  1. bump version to 0.3.7

    Sven Fuchs committed Apr 17, 2010
  2. update .gemspec, stop using jeweler

    Sven Fuchs committed Apr 17, 2010
  3. stop using deprecated AR::Base.named_scope on ActiveRecord::VERSION::…

    …MAJOR >= 3
    Sven Fuchs committed Apr 17, 2010
  4. change test setup to allow --with DEPENDENCIES option

    ruby test/all.rb --with ar3  # execute tests with ActiveRecord ~> 3
    ruby test/all.rb --with ar23 # execute tests with ActiveRecord ~> 2.3
    Sven Fuchs committed Apr 17, 2010
  5. Speed up I18n.normalize_keys by caching reused normalizations and pro…

    …ducing less garbage.
    
    ===> SimpleBackend (1000 translations)
                               BEFORE                 AFTER
    store               723.09 ms 1661412 obj  720.83 ms 1638428 objects
    t (depth=3)          42.95 ms   73009 obj   29.73 ms   42029 objects
    t (depth=5)          53.73 ms   87009 obj   34.62 ms   50035 objects
    t (depth=7)          62.42 ms  101009 obj   39.86 ms   58041 objects
    t w/ default         93.45 ms   86009 obj   37.13 ms   54030 objects
    t w/ interpolation   99.65 ms  150009 obj   80.79 ms  112035 objects
    t subtree            41.68 ms   72009 obj   28.87 ms   41009 objects
    
    Similar improvement for InterpolationBackend. FastBackend unaffected.
    jeremy committed with Sven Fuchs Apr 16, 2010
  6. Measure objects allocated if available. Repeat 1000 times to reduce b…

    …enchmark jitter.
    jeremy committed with Sven Fuchs Apr 16, 2010
  7. Add test for edge-casey interpolation with % chars

    jeremy committed with Sven Fuchs Apr 16, 2010
Commits on Apr 5, 2010
  1. dup translations right after lookup in I18n::Backend::Base. based on …

    …a suggestion from Erik Andrejko, https://gist.github.com/31e5aa46c8d5544df994
    Erik Andrejko committed with Sven Fuchs Apr 5, 2010
Commits on Mar 23, 2010
  1. Release 0.3.6.

    josevalim committed Mar 23, 2010
Commits on Mar 20, 2010
  1. Move GetText PoParser into lib

    Signed-off-by: José Valim <jose.valim@gmail.com>
    josh committed with josevalim Mar 20, 2010
Commits on Mar 13, 2010
  1. don't run tests that depend on store_procs when store_procs is not av…

    …ailable
    Sven Fuchs committed Mar 13, 2010
  2. fix cascade for 1.8.6

    Sven Fuchs committed Mar 13, 2010
  3. fix fallbacks for 1.8.6

    Sven Fuchs committed Mar 13, 2010
  4. fix tests for 1.9.1 and 1.8.7

    Sven Fuchs committed Mar 13, 2010
  5. fix gem overloading for ruby 1.9

    Sven Fuchs committed Mar 13, 2010
  6. rescue from exceptions while trying to dup in Cache

    Sven Fuchs committed Mar 13, 2010
  7. disable with_options test

    Sven Fuchs committed Mar 13, 2010
Commits on Mar 10, 2010
Commits on Feb 26, 2010
Commits on Feb 25, 2010
  1. bump version to 0.3.5

    Sven Fuchs committed Feb 25, 2010
  2. Delegate I18n.normalize_translation_keys to I18n.normalize_keys and d…

    …eprecate it. will raise a warning in future versions and then finally be removed. Use I18n.normalize_keys instead.
    Sven Fuchs committed Feb 25, 2010
  3. Change 'value' field to 'text' and add interpolations field to the ta…

    …ble needed the ActiveRecord backend.
    pietro committed with Sven Fuchs Feb 25, 2010
  4. bump to 0.3.4, push gem

    Sven Fuchs committed Feb 25, 2010
  5. fixed bug in store_translations using active_record backend

    I18n.backend.store_translations :local, "key.with.scope" => :value did
    not work, "." got escaped in wind_keys, but not unescaped at the end ..
    aka47 committed with Sven Fuchs Feb 22, 2010
Commits on Feb 9, 2010
  1. Fix typo :)

    sikachu committed with Sven Fuchs Jan 18, 2010
  2. fix sgettext

    Lawrence Pit committed with Sven Fuchs Feb 9, 2010
Commits on Feb 7, 2010
  1. mark Cascade as experimental

    Sven Fuchs committed Feb 7, 2010
Commits on Jan 30, 2010
  1. default :skip_root to true, rename :length to :offset in I18n::Backen…

    …d::Cascade
    Sven Fuchs committed Jan 30, 2010
  2. use ::String so one can have an I18n::String class

    Sven Fuchs committed Jan 30, 2010
  3. don't return frozen stuff from Cache

    Sven Fuchs committed Jan 30, 2010
Commits on Jan 25, 2010
  1. unwind keys in merge_translations

    Sven Fuchs committed Jan 25, 2010
Commits on Jan 24, 2010