Permalink
Commits on Sep 30, 2017
  1. Only include time helpers when active support is defined

    pwim committed Sep 30, 2017
    Right now, we're only using them for testing with activerecord. If we
    need to use them with sequel, we can add as an explicit dependency.
  2. Only check for changes to translated attributes

    pwim committed Sep 30, 2017
    Because we're touching when attributes are changed, this sometimes means
    these hashes will include updated_at (it appears to vary based on DB and
    Rails version).
  3. When testing caching, perform the update 1 second later

    pwim committed Sep 30, 2017
    MySQL's default precision isn't enough to change the updated_at
    otherwise.
  4. Ensure cache_key is invalidated when updating translations

    pwim committed Sep 23, 2017
    For the table and key_value backends, this means the model itself is
    touched when updating a translation.
Commits on Sep 16, 2017
  1. Only include a module for a given association once

    pwim authored and shioyama committed Sep 16, 2017
    Closes #84.
  2. Dup support for backends for table backend

    pwim authored and shioyama committed Sep 14, 2017
    KeyValue backends require more work to get it working properly, so skip
    implementing for now.
Commits on Sep 7, 2017
  1. Fix initialization error when inheriting

    pwim authored and shioyama committed Sep 7, 2017
    Depending on loading order, @mobility may have not been initialized yet,
    so use method to ensure we aren't trying to dup nil.
    
    Closes #82