Skip to content
Permalink
Branch: master
Commits on Aug 30, 2011
  1. Merge pull request #2 from glyde/master

    capnregex committed Aug 30, 2011
    Merging pull request
Commits on Aug 18, 2011
  1. Add a #lookup_by(field_name, value) call to do reverse lookups of enu…

    Chris Tucker
    Chris Tucker committed Aug 18, 2011
    …merated values, and pulled the test enum for value_of up into the TestValueOf class so we don't risk naming collisions in other tests.
Commits on Apr 18, 2011
  1. Bump the version number to 1.0.3

    ctucker
    ctucker committed Apr 18, 2011
  2. Fix up tests that I forgot to ran to honor the constant-case-only enum

    Chris Tucker
    Chris Tucker committed Apr 18, 2011
    value rule from the previous checkin.
  3. Only allow constant-cased values in enums, and be sure we produce the

    Chris Tucker
    Chris Tucker committed Apr 18, 2011
    appropriate value in #inspect
  4. Cleanups of dead/unused/untested code, simplification of some

    Chris Tucker
    Chris Tucker committed Apr 18, 2011
    internals, and reformatting/cleanup of code.  Addition of tests for a
    couple of untested pieces.
Commits on Apr 12, 2011
  1. downcase the symbols used for serialization (to_sym).

    Chris Tucker
    Chris Tucker committed Apr 12, 2011
    This is more consistent with typical ruby symbol usage, where an
    enum-like symbol use would be to write :monday, not :MONDAY.
Commits on Apr 7, 2011
  1. Add value_of method call to convert from symbol, string, or ordinal

    Chris Tucker
    Chris Tucker committed Apr 7, 2011
    value back to enum instance
Commits on Sep 15, 2010
  1. foobar

    capnregex committed Sep 15, 2010
  2. now what?

    capnregex committed Sep 15, 2010
  3. updating README.txt

    capnregex committed Sep 15, 2010
  4. prettying things up

    capnregex committed Sep 15, 2010
Commits on Sep 14, 2010
  1. Adding in Compariable

    capnregex committed Sep 14, 2010
  2. working tests

    capnregex committed Sep 14, 2010
  3. test_cases working

    capnregex committed Sep 14, 2010
  4. added hoe

    capnregex committed Sep 14, 2010
Commits on Sep 13, 2010
  1. adding in enum_fields

    capnregex committed Sep 13, 2010
Commits on Sep 11, 2010
  1. adding gemspec

    capnregex committed Sep 11, 2010
Commits on Sep 10, 2010
  1. first commit

    capnregex committed Sep 10, 2010
You can’t perform that action at this time.