Skip to content

Instantly share code, notes, and snippets.

@jamesgolick
Created January 16, 2010 17:20
Show Gist options
  • Select an option

  • Save jamesgolick/278903 to your computer and use it in GitHub Desktop.

Select an option

Save jamesgolick/278903 to your computer and use it in GitHub Desktop.
[james@james-golicks-macbook friendly (master)]$ git diff --stat v0.4.3 v0.4.4
CHANGELOG.md | 5 +
VERSION | 2 +-
friendly.gemspec | 20 ++--
lib/friendly/attribute.rb | 11 ++-
lib/friendly/config.rb | 5 -
lib/friendly/data_store.rb | 3 +-
lib/friendly/document.rb | 209 ++-----------------------------
lib/friendly/document/associations.rb | 50 ++++++++
lib/friendly/document/attributes.rb | 114 +++++++++++++++++
lib/friendly/document/convenience.rb | 41 ++++++
lib/friendly/document/mixin.rb | 15 +++
lib/friendly/document/scoping.rb | 66 ++++++++++
lib/friendly/document/storage.rb | 63 +++++++++
lib/friendly/named_scope.rb | 17 ---
lib/friendly/translator.rb | 3 +-
spec/integration/default_value_spec.rb | 29 ++++-
spec/integration/dirty_tracking_spec.rb | 43 +++++++
spec/integration/finder_spec.rb | 7 +
spec/spec_helper.rb | 2 +
spec/unit/attribute_spec.rb | 36 ++++--
spec/unit/config_spec.rb | 4 -
spec/unit/data_store_spec.rb | 13 ++
spec/unit/document/attributes_spec.rb | 130 +++++++++++++++++++
spec/unit/document_spec.rb | 40 ------
spec/unit/named_scope_spec.rb | 16 ---
spec/unit/translator_spec.rb | 19 +--
26 files changed, 643 insertions(+), 320 deletions(-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment