Permalink
Commits on Nov 9, 2016
  1. Merge pull request #71 from ppworks/master

    oriolgual committed Nov 9, 2016
    Overridable default locale YAML
  2. Merge pull request #73 from felixonmars/patch-1

    oriolgual committed Nov 9, 2016
    Fix a typo: langauge -> language
Commits on Feb 4, 2016
Commits on Jan 25, 2016
Commits on Jan 13, 2016
  1. Version bump

    oriolgual committed Jan 13, 2016
  2. Merge pull request #63 from Haegin/require-activesupport-extensions

    oriolgual committed Jan 13, 2016
    Require the ActiveSupport extensions needed in lib, not test.
  3. Merge pull request #66 from farukca/master

    oriolgual committed Jan 13, 2016
    added turkish locale file
  4. Merge pull request #67 from pmukerji/master

    oriolgual committed Jan 13, 2016
    Specify the object being validated is available as input to the Proc
  5. Merge pull request #69 from yez/master

    oriolgual committed Jan 13, 2016
    Mark non Date/Time objects as invalid
Commits on Jan 9, 2016
  1. Mark non Date/Time objects as invalid

    yez committed Jan 9, 2016
    This should Resolve #48.
    
    Given a test model:
    
    ```ruby
    class TestModel
      attr_accessor :foo
      validates :foo, date: true
    
      def initialize(date)
        @foo = date
      end
    end
    ```
    
    Behaviour before this patch:
    
    ```ruby
    m = TestModel.new('not a date')
    m.valid?
    => true
    ```
    
    Behaviour after this patch:
    
    ```ruby
    m = TestModel.new('not a date')
    m.valid?
    => false
    ```
    
    The only outstanding question is should a string like `2016-01-08` go
      through `Date.parse` or `to_date` to try and make it valid.
Commits on Nov 3, 2015
  1. Merge pull request #68 from Savedo/initialize-rails-engine-correctly

    oriolgual committed Nov 3, 2015
    Initialize Rails engine with initializer (fix for locales issue)
Commits on Oct 30, 2015
Commits on Oct 2, 2015
  1. added turkish locale file

    farukca committed Oct 2, 2015
Commits on Jun 9, 2015
  1. Version bump

    oriolgual committed Jun 9, 2015
  2. Merge pull request #64 from dot/fix_i18n_load_path

    oriolgual committed Jun 9, 2015
    fix i18n load path
  3. fix i18n load path

    dot committed Jun 9, 2015
Commits on Jun 2, 2015
  1. Require the ActiveSupport extensions needed

    Harry Mills
    Harry Mills committed Jun 1, 2015
    Rather than requiring the extensions in the tests, we can just require what we
    need in the place we need it.
    
    New tests aren't needed - the original tests were passing because necessary
    dependencies were loaded in the test_helper rather than in the runtime code.
    
    ActiveSupport is now a runtime dependency as it's now required by runtime
    files, not test files.
Commits on May 25, 2015
  1. Merge pull request #61 from toshi-kawanishi/fix-ja-translations

    oriolgual committed May 25, 2015
    Fix ja locale file
Commits on May 24, 2015
  1. Fix ja locale file

    toshi-kawanishi committed May 24, 2015
Commits on May 23, 2015
  1. Test on latest Ruby

    oriolgual committed May 23, 2015
  2. Version bump

    oriolgual committed May 23, 2015
  3. Don't test Rubinius

    oriolgual committed May 23, 2015
  4. Merge pull request #54 from avjaarsveld/add_locale_af

    oriolgual committed May 23, 2015
    Add locale file af.yml for Afrikaans language
  5. Merge pull request #57 from toshi-kawanishi/ja-translation

    oriolgual committed May 23, 2015
    Add Japanese translation
  6. Merge pull request #60 from vjustov/load-locales

    oriolgual committed May 23, 2015
    Loads all gem locales files on Rails.
Commits on May 17, 2015
  1. Loads all gem locales files.

    vjustov committed May 17, 2015
    Fixes #44. When Rails was complaining of a missing error message because
    the locales where not being loaded correctly.
Commits on Apr 23, 2015
  1. Merge pull request #59 from jolim/master

    mrcasals committed Apr 23, 2015
    Added helpful note about allow_blank to Readme
  2. Merge pull request #58 from murtra/fix_catalan_locales

    mrcasals committed Apr 23, 2015
    Fix catalan translations
Commits on Apr 12, 2015
  1. Fix tests

    oriolgual committed Apr 12, 2015
Commits on Mar 30, 2015
Commits on Mar 18, 2015
  1. Fix catalan translations

    murtra committed Mar 18, 2015
Commits on Mar 16, 2015