Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jul 10, 2014
Commits on Jul 9, 2014
  1. @carlosantoniodasilva

    Require with full file path to mimic rake so that tests pass on Ruby …

    carlosantoniodasilva authored
    …1.8.7
    
    Since the require path is different simple_test file will be loaded
    twice in Ruby 1.8.7, and the suite then fails with duplicated test names
    being defined.
    
    The solution for now is to require the file with full path, which mimics
    how rake requires the files and thus only loads it once. This seems to
    work with 1.8.7 and 1.9.3, but can be dropped as soon as 1.8.7 support
    is removed.
  2. @carlosantoniodasilva
  3. @carlosantoniodasilva

    Merge pull request #244 from semaperepelitsa/rescue_nil

    carlosantoniodasilva authored
    locale= and default_locale now raise when setting a truthy value that
    cannot be converted with #to_sym.
    
    Conflicts:
    	test/i18n_test.rb
  4. @carlosantoniodasilva

    Revert #default_separator on base test case

    carlosantoniodasilva authored
    Clean teardown methods a bit by relying on the base test case.
  5. @carlosantoniodasilva
  6. @carlosantoniodasilva

    Merge pull request #265 from tenderlove/fix_test_24594

    carlosantoniodasilva authored
    fix test failure with seed 24594
    
    Conflicts:
    	test/backend/fallbacks_test.rb
  7. @carlosantoniodasilva

    Ensure super is called from setup/teardown methods across the test suite

    carlosantoniodasilva authored
    So that the base config/cleanup works as expected.
  8. @carlosantoniodasilva
  9. @carlosantoniodasilva

    Bump minitest

    carlosantoniodasilva authored
  10. @carlosantoniodasilva

    Merge pull request #264 from tenderlove/rake

    carlosantoniodasilva authored
    add test pattern to the Rakefile so all tests are run
  11. @carlosantoniodasilva

    Merge pull request #263 from tenderlove/mt

    carlosantoniodasilva authored
    add minitest to Gemfile
  12. @carlosantoniodasilva

    Bump to 0.6.11

    carlosantoniodasilva authored
Commits on Jun 29, 2014
  1. @tenderlove
  2. @tenderlove
  3. @tenderlove

    add minitest to Gemfile

    tenderlove authored
Commits on May 31, 2014
  1. @carlosantoniodasilva

    Merge pull request #260 from arthurnn/fix_fallback_ensure_locale

    carlosantoniodasilva authored
    Fix error when including Fallbacks on non-Simple backend
Commits on May 29, 2014
  1. @arthurnn

    Fix error when including Fallbacks on non-Simple backend

    arthurnn authored
    Commit 12aa0f0 introduced a bug, where
    if `Fallbacks` module is included in a class that doesnt define
    `translations` the code would fail. This is a pretty common
    scenario, for instance when the backend is a `Chain`. Also this was
    pretty common case to fail in rails, as its include Fallbacks in the
    I18n.backend, like this:
    ```
    I18n.backend.class.send(:include, I18n::Backend::Fallbacks)
    ```
    
    This stops using the `translations` method in the fallbacks, and instead
    ignores `I18n::InvalidLocale` errors.
    
    [fixes #238]
    [fixes #258]
    [fixes #259]
Commits on May 28, 2014
  1. @carlosantoniodasilva

    Bump to 0.6.10

    carlosantoniodasilva authored
  2. @carlosantoniodasilva
  3. @carlosantoniodasilva

    Fix Gemfile dependencies for Rails 4.1 and use Minitest if available

    carlosantoniodasilva authored
    Fallback to test/unit in case minitest is not available, which should be
    necessary for Ruby 1.8.7 only.
  4. @carlosantoniodasilva

    Merge pull request #257 from arthurnn/patch-1

    carlosantoniodasilva authored
    Use svg travis badge [skip ci]
  5. @arthurnn

    Use svg travis badge [skip ci]

    arthurnn authored
    @carlosantoniodasilva as you are in here already..
  6. @carlosantoniodasilva
  7. @carlosantoniodasilva
Commits on May 9, 2014
  1. @carlosantoniodasilva

    Create our own TestCase class to add methods

    carlosantoniodasilva authored
    Rather than extending the base Test::Unit::TestCase, simply create our
    own test case and add methods to it, and make sure we inherit from this
    new test case everywhere.
    
    Also make sure to call `super` on the teardown method.
  2. @carlosantoniodasilva

    Use bundle exec when running tests for all gemfiles

    carlosantoniodasilva authored
    Refactor script a bit, improve output.
Commits on May 8, 2014
  1. @carlosantoniodasilva

    Get rid of test warning

    carlosantoniodasilva authored
        warning: (...) interpreted as grouped expression
  2. @carlosantoniodasilva
  3. @carlosantoniodasilva
Commits on May 7, 2014
  1. @carlosantoniodasilva

    Fix bundle check guard clause on run_all script

    carlosantoniodasilva authored
    So that it does not need to run bundle install all the time.
  2. @carlosantoniodasilva

    Nodoc and document new internal method [ci skip]

    carlosantoniodasilva authored
    Also improve docs on enforce available locale related methods.
  3. @carlosantoniodasilva

    Merge pull request #249 from arthurnn/available_locales_perf

    carlosantoniodasilva authored
    Improve performance on enforce_available_locales!
  4. @carlosantoniodasilva
  5. @carlosantoniodasilva

    Fix script that runs tests against all available Gemfiles

    carlosantoniodasilva authored
    BUNDLE_GEMFILE needs the full path to work properly.
    
    Load all custom Gemfiles rather than a fixed list, so adding/removing
    files from the gemfiles/ folder just works.
Something went wrong with that request. Please try again.