CHANGELOG.md in classy_enum-3.0.1 vs CHANGELOG.md in classy_enum-3.1.0

- old
+ new

@@ -1,6 +1,22 @@ # ClassyEnum Changelog +## 3.1.0 + +* ClassyEnum::Base now extends Enumerable to provide enum collection + methods. All objects in the collection are instances of the enum + members. .find is overridden to provide custom find functionality. +* ClassyEnum::Base.find has been reintroduced, with aliases of .detect + and []. +* Introducing I18n support and providing a ClassyEnum::Base#text method + that will automatically translate text values. +* Translation support was added to ClassyEnum::Base.select_options. +* Equality can now be determined using strings and symbols. The + following will return true: + + Priority::Low.new == :low # => true + Priority::Low.new == 'low' # => true + ## 3.0.0 * Removing ClassyEnum::Base.enum_classes in favor of using enum inheritance to setup classes * Removing ClassyEnum::Base.valid_options