Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Apr 24, 2012

  1. Support DataMapper :required option.

    This allows you to have attributes that might be present, but might be
    nil, an empty string, or some other value that won't cast to its native
    type.
    Tim Jarratt authored

Apr 05, 2012

  1. Dan Kubb

    Update flay threshold

    dkubb authored
  2. Dan Kubb

    Remove work-around for special case with rbx now that it is fixed

    dkubb authored
  3. Dan Kubb

    Change to use the lower precedence "or" and "and" connectors where po…

    …ssible
    dkubb authored
  4. Dan Kubb

    Rename Virtus::ValueObject::Equalizer to Virtus::Equalizer

    * Move require statements in lib files into virtus.rb in the root lib directory
    dkubb authored
  5. Dan Kubb

    Refactor Virtus::ValueObject::Equalizer

    * Change string class_eval for declaring the methods to a normal define_method.
      Even though this boosts some of the metrics thresholds, I felt it was
      necessary to avoid "hiding" the complexity inside a string and evaling it.
    * Move #eql? and #== into a plain module, and just define a #cmp? method that
      they can both share. We use a similar approach in DM.
    * Change constructor so that it dupes and freezes the String and Array passed
      in to avoid mutating the objects in the caller's scope.
    * Change #<< to return self on it's own rather than relying on a private method
      just happening to return self, even though taken in isolation the method
      has no reason to do this.
    * Remove recompilation from every assigment to @keys.
    dkubb authored
  6. Dan Kubb

    Fix whitespace

    dkubb authored

Apr 02, 2012

  1. Piotr Solnica

    Simplify DefaultValue::FromSymbol#call signature

    solnic authored
  2. Dan Kubb

    Add my email address to the list of people to notify when the build b…

    …reaks
    dkubb authored
  3. Dan Kubb

    Change Gemfile to reference secure rubygems URL

    dkubb authored
  4. Dan Kubb

    Remove explicit require of rubygems

    dkubb authored
  5. Dan Kubb

    Fix whitespace

    dkubb authored
  6. Piotr Solnica

    Fix DefaultValue docs

    solnic authored
  7. Piotr Solnica

    Simplify DefaultValue.handle?

    solnic authored
  8. Piotr Solnica

    Decouple DefaultValue from the attribute instance

    solnic authored
  9. Piotr Solnica

    Rename DefaultValue#evaluate => DefaultValue#call

    solnic authored
  10. Piotr Solnica

    Fix whitespaces

    solnic authored
  11. Piotr Solnica

    Fix Numeric.to_string spec

    solnic authored
  12. Dan Kubb

    Add a comment to #compile_strings_for_equivalent_method to make it mo…

    …re clear
    dkubb authored
  13. Dan Kubb

    Refactor Virtus::ValueObject::ClassMethods#attribute specs

    * Include matcher for equalizer setuop
    * Clean up specs to match conventions elsewhere
    dkubb authored
  14. Dan Kubb

    Refactor Virtus::ValueObject::Equalizer#compile_strings_for_equivalen…

    …t_method
    dkubb authored
  15. Dan Kubb

    Rename spec for Virtus::ValueObject::InstanceMethods#with to the prop…

    …er location
    dkubb authored
  16. Dan Kubb

    Add spec for Virtus::Coercion::TimeCoercions.to_string

    dkubb authored
  17. Dan Kubb

    Add spec for Virtus::Coercion::TimeCoercions.to_time

    dkubb authored
  18. Dan Kubb

    Add spec for Virtus::Coercion::TimeCoercions.to_datetime

    dkubb authored
  19. Dan Kubb

    Add spec for Virtus::Coercion::TimeCoercions.to_date

    dkubb authored
  20. Dan Kubb

    Fix docs for Virtus::Coercion::Numeric to use the proper types

    dkubb authored
  21. Dan Kubb

    Add spec for Virtus::Coercion::Numeric.to_string

    dkubb authored
  22. Dan Kubb

    Add spec for Virtus::Coercion::Numeric.to_integer

    dkubb authored
  23. Dan Kubb

    Add spec for Virtus::Coercion::Numeric.to_float

    dkubb authored
  24. Dan Kubb

    Add spec for Virtus::Coercion::Numeric.to_decimal

    dkubb authored
  25. Dan Kubb

    Fix whitespace

    dkubb authored
  26. Dan Kubb

    Change heckle task to raise when a spec file is missing

    dkubb authored
  27. Dan Kubb

    Add stub spec files

    dkubb authored

Mar 31, 2012

  1. Piotr Solnica

    Bump backports to 2.5.1

    solnic authored
Something went wrong with that request. Please try again.