Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Jan 24, 2013

  1. Markus Schirp

    Update README.rdoc

    authored January 25, 2013

Apr 10, 2012

  1. Markus Schirp

    Merge pull request #5 from zirni/fix_typos

    fix misspelled include
    authored April 10, 2012
  2. Matthias Zirnstein

    fix misspelled include

    authored April 10, 2012

Mar 13, 2012

  1. Markus Schirp

    Add a fix for minitest mocks mock away #equal?

    authored March 13, 2012
  2. Markus Schirp

    Fix backport require conditional and require aequitas from spec_helper

    authored March 13, 2012

Mar 11, 2012

  1. Markus Schirp

    Spec nil attribute value in numericalness macro

    authored March 11, 2012

Mar 09, 2012

  1. Markus Schirp

    Remove 1.9 syntax for 1.8 compat

    * Adds spec and spec/integration to LOAD_PATH for
      simplified requires when specing. no '../../../' hazard is needed.
    
    * Uses value.to_s instead of value.to_str on 1.8 to determine string
      length. #to_str is not defined for nil.
    
    * Require backports on ruby-1.8 for Enumerable#each_with_object
    authored March 09, 2012
  2. Markus Schirp

    Make sure I get mails for state changes emmanuel pushes

    authored March 09, 2012
  3. Markus Schirp

    Remove dependency in dm-core

    authored March 09, 2012
  4. Markus Schirp

    Remove jeweler and use hand crafted gemfile

    authored March 09, 2012
  5. Markus Schirp

    Merge branch 'master' of github.com:emmanuel/aequitas

    authored March 09, 2012
  6. Markus Schirp

    Use 1.8 syntax for hash literal in Gemfile

    authored March 09, 2012
  7. Emmanuel Gomez

    Bump virtus version peg in gemspec.

    authored March 09, 2012
  8. Emmanuel Gomez

    Fix issues found by travis-lint.

    authored March 09, 2012
  9. Emmanuel Gomez

    Add an untested travis.yml configuration.

    authored March 09, 2012
  10. Markus Schirp

    Merge pull request #4 from mbj/master

    Fix minor problems.
    authored March 09, 2012

Feb 15, 2012

  1. Markus Schirp

    Fix minor problems

      * Add Rational to numericallness validator
      * Make sure options are not truncated for PrimitiveType::Virtus
      * Use object.class.name instead of object.model.name for default
        MessageTransformer
      * Add an explict virtus development dependency.
    
      It breaks no specs. So no specs are changed. Virtus primitive
      validator clearly needs more specs.
    authored February 15, 2012

Jan 28, 2012

  1. Emmanuel Gomez

    Add a couple of TODO notes in ContextualRuleSet.

    authored January 28, 2012
  2. Emmanuel Gomez

    Eliminate some dead code and add some docs in ContextualRuleSet.

    authored January 28, 2012
  3. Emmanuel Gomez

    Eliminate Aequitas::Context.

    Context was a holdover from DM. Its purpose is to allow related instances to attempt validation in the same context as the root instance is validated when validating through a graph of objects.
    
    This global was used because DM did not explicitly pass the root object's validation context to related instances as they were validated (in DM the save (& therefore #valid?) call cascades via #save_parents & #save_children).
    
    Since Aequitas has no concept of validating a graph of objects (at this point), this feature is not needed. If, at some point in the future, Aequitas needs to be able to validate a graph of objects, we can devise a better implementation at that time.
    authored January 28, 2012
  4. Emmanuel Gomez

    Reorder a couple of methods and add some docs in Aequitas.

    authored January 28, 2012
  5. Emmanuel Gomez

    Add spec coverage for class inheritance propagating rules.

    This occurs at inheritance time, so descendants do not automatically receive rules declared in ancestors after inheritance occurs.
    
    Related to #2 and #3.
    authored January 28, 2012
  6. Emmanuel Gomez

    Update some Rule specs to get closer to Veritas spec style.

    In other words: specify one method per spec file.
    authored January 28, 2012
  7. Emmanuel Gomez

    Make a couple of methods private in ContextualRuleSet.

    Specifically: #define_context and #add_rules_to_context.
    authored January 28, 2012

Jan 27, 2012

  1. Emmanuel Gomez

    Add some YARDoc in Violation & subclasses.

    authored January 27, 2012
  2. Emmanuel Gomez

    Move MessageTransformer singleton methods into `class << self`.

    authored January 22, 2012
  3. Emmanuel Gomez

    Pass the violating value from Rule#validate to Violation::Rule#initia…

    …lize.
    authored January 22, 2012
  4. Emmanuel Gomez

    fixup! Remove resource arg from signatures

    authored January 22, 2012
  5. Emmanuel Gomez

    Return :unspecified instead of nil from Violation::Message#type.

    authored January 22, 2012
  6. Emmanuel Gomez

    Remove resource arg from signatures of Rule methods.

    Specifically: #violation_info, #violation_values, and #violation_data.
    authored January 22, 2012
  7. Emmanuel Gomez

    Remove resource arg from signature of Rule#violation_type.

    authored January 22, 2012
  8. Emmanuel Gomez

    Replace Rule#valid?(resource) with #valid_value?(value).

    Very few Rule subclasses need access to the resource itself, and those few that do (Rule::Block, Rule::Confirmation, Rule::Method) can override #validate to gain access to it.
    
    Renamed Rule::Length#valid_length? -> #expected_length?, Rule::PrimitiveType#primitive? -> #expected_type?, and Rule::Value#valid_value? -> #expected_value?.
    
    Replaced Rule::Format#valid? with #expected_format?
    authored January 22, 2012
  9. Emmanuel Gomez

    Simplify Violation by breaking into subclasses.

    Introduced Violation::Rule and Violation::Message subclasses which are used where appropriate.
    authored January 22, 2012
  10. Emmanuel Gomez

    Merge pull request #3 from azimux/master

    fixed a tiny typo in ContextualRuleSet#concat
    authored January 27, 2012

Jan 26, 2012

  1. Miles Georgi

    Fixed a typo in ContextualRuleSet#concat

    authored January 26, 2012
Something went wrong with that request. Please try again.