Sha256: cee39f4ab03e8d91d07127a2c3f47a664d7be1a72d201e8c2534ab3e164521e9

Contents?: true

Size: 956 Bytes

Versions: 1

Compression:

Stored size: 956 Bytes

Contents

== 1.0.5 / 2016-08-16

* Change enum_attr to assume :some_enum maps to SomeEnum module
* Enable require 'iron-enum' instead of 'iron/enum'

== 1.0.4 / 2013-06-21

* Same as 1.0.4, but add support to model attributes as well (doh)

== 1.0.3 / 2013-06-21

* Minor bugfix to allow better handling of setting an enum attr with a blank string as if it were setting to nil

== 1.0.2 / 2013-03-25

* Improve edge cases for Enum::Core#options to correctly return [] for nil and [] explicit parameters
* Add type coercion to enum_attr setter to allow setting via string iff that string represents a valid value in string form

== 1.0.1 / 2013-03-23

* Add validation of inclusion for ActiveRecord enum_attr owners
* Improve docs and spec coverage a bit

== 1.0.0 / 2013-03-23

* Initial revision
* Support declaring enums using #enum
* Support enum attributes using #enum_attr
* ActiveRecord support for automatic scope creation and pretty inspects
* Add to GitHub

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
iron-enum-1.0.5 History.txt