Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Attribute Tracking Code #30

Merged
merged 4 commits into from
Jul 29, 2016
Merged

Refactor Attribute Tracking Code #30

merged 4 commits into from
Jul 29, 2016

Conversation

awood45
Copy link
Member

@awood45 awood45 commented Jul 27, 2016

This change introduces the ModelAttributes and ItemData classes for
tracking of model level attribute information, and item level attribute
data, respectively. These changes don't impact the user-facing API, but
should help improve understandability and maintainability of the
codebase.

There is one change to the external API, and that is that mutation
tracking is now on or off at the full table level, and cannot be toggled
on a per-attribute level.

awood45 added 4 commits July 27, 2016 09:42
This change introduces the `ModelAttributes` and `ItemData` classes for
tracking of model level attribute information, and item level attribute
data, respectively. These changes don't impact the user-facing API, but
should help improve understandability and maintainability of the
codebase.

There is one change to the external API, and that is that mutation
tracking is now on or off at the full table level, and cannot be toggled
on a per-attribute level.
* Abstracts key attribute handling into the `Aws::Record::KeyAttributes`
  internal class with composition.
* Makes the `#keys` and `#clean!` methods API private (do not use these
  directly in your code).
* Additional smaller refactors of redundant code.
Fixes two code smells.
The `coveralls` gem depends on the `tins` gem, which now requires Ruby
version 2.0 or greater. To keep Travis tests working, remove this as a
required dependency.
@awood45 awood45 merged commit 2468be9 into master Jul 29, 2016
@mullermp mullermp deleted the attribute-refactor branch March 8, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant