Permalink
Commits on Sep 27, 2016
  1. Merge pull request #236 from miltzi/master

    Fixed typo in the README
    saghaulor committed on GitHub Sep 27, 2016
  2. Fixed typo in the README

    miltzi committed Sep 27, 2016
Commits on Aug 23, 2016
Commits on Jul 23, 2016
  1. Added checksums for v3.0.3.

    saghaulor committed Jul 23, 2016
  2. Updated version to v3.0.3.

    saghaulor committed Jul 23, 2016
  3. Merge pull request #223 from saghaulor/active_model_dirty_fix

    Improve `"#{attr}_was"` to make better use of ActiveRecord::Dirty
    saghaulor committed on GitHub Jul 23, 2016
Commits on Jul 22, 2016
  1. Improve `"#{attr}_was"` to make better use of ActiveRecord::Dirty

    - There's no need to decrypt every time attr_was is called.
    - We only need to decrypt the attr_was during encryption of a new value.
    - Previously, options weren't correctly passed to attr_was.
    - Thank you to @johnny-lai for this fix.
    saghaulor committed Jul 22, 2016
Commits on Jul 15, 2016
  1. Added checksums for v3.0.2

    saghaulor committed Jul 15, 2016
  2. Updated version to v3.0.2

    saghaulor committed Jul 14, 2016
  3. Updated CHANGELOG for v3.0.2

    saghaulor committed Jul 15, 2016
  4. Revert "Updated version to v3.0.2"

    This reverts commit b5b446b.
    saghaulor committed Jul 15, 2016
  5. Merge pull request #221 from saghaulor/update_travis_build_matrix

    Update Travis build matrix to include Rails 5.
    saghaulor committed on GitHub Jul 15, 2016
Commits on Jul 14, 2016
  1. Remove silence stream

    Stephen Blackstone committed with saghaulor Jul 14, 2016
  2. Update Travis build matrix to include Rails 5.

    saghaulor committed Jul 14, 2016
  3. Updated version to v3.0.2

    saghaulor committed Jul 14, 2016
  4. Updated CHANGELOG for v3.0.2

    saghaulor committed Jul 14, 2016
  5. Fixed typo in examples.

    - Closes #215
    saghaulor committed Jul 7, 2016
Commits on May 23, 2016
  1. Merge pull request #214 from grosser/grosser/alias

    remove alias_method_chain to get rid of rails 5 deprecations
    saghaulor committed May 23, 2016
Commits on May 15, 2016
  1. remove alias_method_chain

    grosser committed May 15, 2016
Commits on Apr 2, 2016
  1. Bump version to 3.0.1.

    saghaulor committed Apr 2, 2016
  2. Merge pull request #210 from saghaulor/attr_was_fix

    Fix attr_was method.
    saghaulor committed Apr 2, 2016
  3. Fix attr_was method.

    - If the encrypted_attr_iv or encrypted_attr_salt column are missing,
      then ActiveRecord won't define methods for them. Consequently,
      attempting to call those undefined methods will not work. As such, we
      should only call those methods when they're defined.
    - Fixes #209
    saghaulor committed Apr 2, 2016
Commits on Mar 30, 2016
  1. Merge pull request #204 from saghaulor/v3

    V3
    saghaulor committed Mar 30, 2016
  2. Bump version to v3.0.0.

    saghaulor committed Mar 29, 2016
  3. Now using Encryptor v3.0.0.

    saghaulor committed Mar 29, 2016
  4. Added loading the iv and salt from the encrypted_attributes hash.

    - This is required for passing in the IV and salt to decrypted the
      encrypted_attribute_was ciphertext.
    - The options evaluated should be used from the instance level, not the class
      level.
    saghaulor committed Mar 29, 2016
  5. Fixed ActiveModel::Dirty methods.

    - Decrypting the attribute_was value requires some special handling now
      that we're changing the IV during every encryption operation. Namely,
      we have to evaluate all the options for the attribute and pass in the
      encrypted_attribute_iv_was and the encrypted_attribute_salt_was to
      properly decrypt the encrypted_attribute_was value.
    - We delete the :iv, :salt, and :operation keys from the
      encrypted_attributes hash that were used to decrypt the
      encrypted_attribute_was value just to be safe. Normally those values
      are not persisted in the encrypted_attributes hash.
    saghaulor committed Mar 29, 2016
Commits on Mar 29, 2016