Permalink
Commits on Jun 27, 2012
  1. Fix specs with Rails HEAD

    cgriego committed Jun 27, 2012
  2. Backport ActiveModel 3.2 fix

    cgriego committed Jun 27, 2012
    Improve test coverage for whitelisted attribute names
  3. Fix unit specs in Ruby 1.8

    cgriego committed Jun 27, 2012
  4. Added Attributes.attribute!, .dangerous_attribute?

    cgriego committed Jun 27, 2012
    Refactored dangerous attribute detection and handling to not depend on
    overriding the guts of ActiveModel::AttributeMethods
Commits on Jun 21, 2012
Commits on May 21, 2012
Commits on Apr 27, 2012
  1. Update .rvmrc to use 1.9.3

    cgriego committed Apr 27, 2012
Commits on Apr 24, 2012
Commits on Mar 16, 2012
  1. Merge branch '0.5-series'

    cgriego committed Mar 16, 2012
    Conflicts:
    	CHANGELOG.md
    	lib/active_attr/version.rb
  2. Mark the release of 0.5.1

    cgriego committed Mar 16, 2012
  3. Adjust multiple attributes not using method_missing spec to not give …

    cgriego committed Mar 16, 2012
    …a false positive on Ruby 1.9 and adjusted code so it doesn't add unused class-level instance variables in newer versions of ActiveModel.
  4. Drop the global Object mutation in favor of working around the Ruby 1…

    cgriego committed Mar 16, 2012
    ….8 anonymous class spec use case with class_eval
Commits on Mar 15, 2012
  1. Refactor HaveAttributeMatcher to move attribute expectations logic in…

    cgriego committed Mar 15, 2012
    …to the expectation methods
  2. fix specs

    goganchic committed Mar 15, 2012
  3. Refactor HaveAttributeMatcher to move ancestor expectation setting in…

    cgriego committed Mar 15, 2012
    …to the expectation methods
    
    Matching logic was updated to make the ancestor checking logic generic.
  4. Refactor HaveAttributeMatcher to move the responsibility of descripti…

    cgriego committed Mar 15, 2012
    …on building from the description method to the chainable expectation methods
    
    This is a move in the direction of the "misplaced responsibility" code smell, but the trade off is we get to generalize the core logic of the matcher and place all the specifics in the growing set of chainable expectation methods. It also has the side benefit of generating the description in the order that the developer wrote the expectations. Expect the expectation logic to move in this same direction.
Commits on Mar 14, 2012
Commits on Mar 13, 2012