Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 13, 2013
Commits on Jan 1, 2013
  1. Update copyright years

    authored
Commits on Nov 24, 2012
  1. Run specs in 2.0.0 but not in 1.9.2

    authored
    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

    authored
    This section was redundant now that there is another section discussing
    the enumerable functionality.
  2. Fixec conversion doc

    authored
    [ci skip]
  3. Fixes an issue with select_options on nil/blank objects

    authored
    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. Merge branch 'release-3.1'

    authored
  2. ClassyEnum::Base.select_options now translates

    authored
    This had gotten lost in a merge commit
  3. Allow strings and symbols when testing for equality

    authored
    Priority::Low.new == :low  # => true
    Priority::Low.new == 'low' # => true
  4. Stop using custom error message with validation

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

    authored
  2. Updating README and CHANGELOG

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

    authored
    Conflicts:
    	lib/classy_enum/collection.rb
  2. Using Enumerable to enhance collection functionality

    authored
    After removing ClassyEum.find from 3.0, I decided to implement
    it using Enumerable functionality for an API that is more consistent
    with Ruby.
Commits on Aug 2, 2012
Commits on Jul 20, 2012
  1. Merge branch 'v3'

    authored
  2. Merge branch 'master' into v3

    authored
    Conflicts:
    	lib/classy_enum/attributes.rb
  3. Removing :suffix option from classy_enum_attr

    authored
    This was a temporary hack to get around a bug in ActiveRecord uniqueness
    validations.
  4. Merge branch 'master' into v3

    authored
    Conflicts:
    	CHANGELOG.md
    	lib/classy_enum/instance_methods.rb
    	lib/classy_enum/version.rb
  5. Bumping to v2.3.0

    authored
  6. Deprecating ClassyEnum::Base#name

    authored
    Method name is too ambiguous and says nothing about what it actually did
Commits on Jul 19, 2012
Commits on Jul 16, 2012
Commits on Jul 15, 2012
  1. Merge branch 'master' into v3

    authored
    Conflicts:
    	CHANGELOG.md
    	lib/classy_enum/class_methods.rb
    	lib/classy_enum/version.rb
Something went wrong with that request. Please try again.