Commits on Aug 20, 2012
  1. @clemens

    Merge pull request #50 from die-antwort/fix-class-attribute-sharing

    Make sure class attributes are not shared between subclasses.
    
    `class_attribute` doesn't work properly for arrays and hashes so we need to work around this issue by duping the parent class' attributes if necessary.
    clemens committed Aug 20, 2012
  2. @clemens

    Delocalize a given :value unless it's a string

    See pull request/issue #31 for details.
    clemens committed Aug 20, 2012
  3. @clemens
Commits on Aug 16, 2012
  1. @noniq

    Make sure class attributes are not shared between subclasses.

    Using `class_attribute` with arrays or hashes is tricky, as mutating
    the object will change the object of the superclass (which may be shared
    by other subclasses, too).
    noniq committed Aug 17, 2012
  2. @noniq

    Refactor tests.

    DelocalizableClass was shared between tests - better use a new anonymous class for each test.
    noniq committed Aug 16, 2012
Commits on Apr 5, 2012
  1. @clemens

    Merge pull request #43 from die-antwort/fix-class-attribute-initializ…

    …ation
    
    Initialize class attributes on inclusion
    clemens committed Apr 5, 2012
  2. @clemens

    Merge pull request #42 from die-antwort/fix-remove-method-error

    Fix remove_method error
    clemens committed Apr 5, 2012
  3. @noniq

    Initialize class attributes on inclusion.

    Methods like #delocalizing? may be called before #delocalize and then fail with
    errors like "undefined method `any?' for nil:NilClass" (happens e.g. with Rails
    3.2.3 and Mongoid).
    noniq committed Apr 5, 2012
  4. @noniq

    Use remove_possible_method instead of remove_method.

    As noted in
    http://api.rubyonrails.org/classes/Module.html#method-i-remove_possible_method
    
      If the requested method is defined on a superclass or included module,
      method_defined? returns true but remove_method throws a NameError.
      Ignore this.
    
    This fix is necessary to make Delocalize work with Mongoid (Mongoid defines
    attribute writers on an included module, not on the model class itself).
    noniq committed Apr 5, 2012
Commits on Jan 18, 2012
  1. @clemens
Commits on Jan 17, 2012
  1. @clemens

    Fix readme (indentation)

    clemens committed Jan 18, 2012
  2. @clemens

    Readme updates

    clemens committed Jan 18, 2012
  3. @clemens
  4. @clemens

    Use modern test syntax

    clemens committed Jan 17, 2012
  5. @clemens
  6. @clemens
  7. @clemens
  8. @clemens
  9. @clemens

    Add mocha

    clemens committed Jan 17, 2012
  10. @clemens

    Also stop patching I18n

    clemens committed Jan 17, 2012
  11. @clemens
  12. @clemens
  13. @clemens

    Complete f*cking rewrite

    One test is still failing and I've marked a few
    as pending for the time being.
    clemens committed Jan 17, 2012
  14. @clemens

    Time zone awareness needed

    clemens committed Jan 17, 2012
  15. @clemens

    Add autoloads

    clemens committed Jan 17, 2012
  16. @clemens
  17. @clemens
  18. @clemens

    Ohai, typo

    clemens committed Jan 17, 2012
  19. @clemens
  20. @clemens
  21. @clemens
  22. @clemens

    Add tests for parsers

    clemens committed Jan 17, 2012
Commits on Nov 22, 2011
  1. @clemens

    prepare 0.3.1 release

    clemens committed Nov 22, 2011
  2. @clemens

    update contributors list

    clemens committed Nov 22, 2011
  3. @clemens

    Merge pull request #34 from ralph/master

    Support for switching the locale in the fly while parsing dates (Ralph von der Heyden)
    clemens committed Nov 22, 2011