CHANGELOG.md in classy_enum-3.1.1 vs CHANGELOG.md in classy_enum-3.1.2
- old
+ new
@@ -1,6 +1,14 @@
# ClassyEnum Changelog
+## 3.1.2
+
+* Allow enum property to be assigned using enum class. Previously it
+ could only be assigned with an instance, string or symbol.
+
+ @alarm.priority = Priority::Medium
+ @alarm.priority.medium? # => true
+
## 3.1.1
* Fixes a regression with Formtastic support. ClassyEnumm::Base.build now
returns a null object that decends from the base_class when the argument is
blank (nil, empty string, etc). This allows the ActiveRecord model's enum