Add 'FactoryGirl' methods to specs by including 'FactoryGirl::Syntax::Methods'
Rename file to 'user_enum_spec.rb' and switch 'editor' and 'author' roles positioning in tests and setup
Added 'DatabaseCleaner' configuration to keep test db fresh for different tests
Wrap 'rspec-rails' in :test group add add 'factory_girl_rails' and 'database_cleaner' gems to :test group
Removed unnecessary 'class_eval' and added scope helper class methods

- Removed unnecessary 'class_eval' block for validation inclusion setup

- Added scope helpers to model class to search on the possible enum values.
  For a given model 'User' with an enum attribute of 'role' with keys 'admin',
  'editor', 'author', and 'user', the following scopes will be added:
  'User.role_admin', 'User.role_editor', 'User.role_author', and
  'User.role_user'. Each scope will search the table 'users' for its respective
  enum value on the 'role' column.
Initial commit
Added 'to_h' and 'to_json' methods

- Added 'to_json' method for easier export to clientside javascript
  primarily (e.g. getting the enum as an object in a '.js.erb" file).
  Options ':only' and ':except' can be passed with either a symbol or
  an array of symbols. The possible symbols are the fields for the
  'Entry' struct class, 'const_name', 'key', 'value', and 'label'.

  Example:
  User::Role.to_json(only: :value) => "{\"ADMIN\":0,\"EDITOR\":1,\"AUTHOR\":2,\"USER\":3}"

- Added 'to_h' method to create a hash representation of the enum
  with the same options ':only' and ':except' as the 'to_json' method.
  In fact, the 'to_json' method uses the 'to_h' method to get the hash
  and then converts that hash to a json string via 'Hash#to_json'.
Added 'json' require
Added new field 'const_name' and methods 'to_h' and 'to_json'

New field 'const_name' and new methods 'to_h' and 'to_json' were added
to support the new 'Enum.to_h' and 'Enum.to_json' methods.

- Added new field 'const_name' to keep track of the uppercase case
  constant name.

- Conditionally add 'to_h' method to create a hash representation of the
  enum 'Entry'. If 'to_h' already exists (for > Ruby 2.0), then don't
  add the method.

- Added 'to_json' method to create a json string representation method
  of the enum 'Entry'.
Updated code that creates instances of 'Entry' to reflect new 'const_name' field
Bump to v0.1.0
Updated README docs

- Added more info on helper methods for model class, model instances,
  model enum attribute, and enum module.

- Removed lots of usage examples to move them to a wiki page.
bump to v0.1.0