Permalink
Commits on Feb 8, 2013
  1. Cleaning up the changelog

    beerlington committed Feb 8, 2013
    [ci skip]
  2. updating readme

    beerlington committed Feb 8, 2013
  3. Adding ClassyEnum::Base#last

    beerlington committed Feb 8, 2013
    Behaves more like an array now.
  4. Allow a proc to be passed as the default value

    beerlington committed Feb 8, 2013
    It yields the enum class and lets you set the default value at runtime
  5. Fixing more tests

    beerlington committed Feb 8, 2013
  6. Fixing build for 1.8.7

    beerlington committed Feb 8, 2013
  7. Bumping version to 3.2.0

    beerlington committed Feb 8, 2013
Commits on Feb 2, 2013
Commits on Jan 27, 2013
Commits on Jan 13, 2013
Commits on Jan 1, 2013
  1. Update copyright years

    beerlington committed Jan 1, 2013
Commits on Nov 24, 2012
  1. Run specs in 2.0.0 but not in 1.9.2

    beerlington committed Nov 24, 2012
    The differences between 1.9.2 and 1.9.3 are not enough to justify
    running the specs in both versions.
Commits on Aug 21, 2012
  1. Removed README section on using outside ActiveRecord

    beerlington committed Aug 21, 2012
    This section was redundant now that there is another section discussing
    the enumerable functionality.
  2. Fixec conversion doc

    beerlington committed Aug 21, 2012
    [ci skip]
  3. Fixes an issue with select_options on nil/blank objects

    beerlington committed Aug 20, 2012
    This was a regression from 2.x where the ActiveRecord object was setting
    enum options on itself. Because these options were no longer available,
    there was no way to determine the associated enum if the value was nil
    or blank. This introduces a sort of null object that is just a subclass
    of the base enum that behaves like a nil or blank object.
Commits on Aug 12, 2012
  1. ClassyEnum::Base.select_options now translates

    beerlington committed Aug 12, 2012
    This had gotten lost in a merge commit
  2. Allow strings and symbols when testing for equality

    beerlington committed Aug 12, 2012
    Priority::Low.new == :low  # => true
    Priority::Low.new == 'low' # => true
  3. Stop using custom error message with validation

    beerlington committed Aug 12, 2012
    Use Rails' built-in error message because it handles i18n automatically
Commits on Aug 11, 2012
  1. Bump version to 3.1.0

    beerlington committed Aug 11, 2012
  2. Updating README and CHANGELOG

    beerlington committed Aug 11, 2012
    [ci-skip]
Commits on Aug 10, 2012
  1. Merge branch 'i18n' into release-3.1

    beerlington committed Aug 10, 2012
    Conflicts:
    	lib/classy_enum/collection.rb
  2. Using Enumerable to enhance collection functionality

    beerlington committed Aug 10, 2012
    After removing ClassyEum.find from 3.0, I decided to implement
    it using Enumerable functionality for an API that is more consistent
    with Ruby.