RubyGems Navigation menu

human_enum 0.1.3

This gem allows you to specify enum value translations like any other ActiveRecord attribute and adds helper methods to get humanized translations of enum values

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.3 - February 28, 2020 (12 KB)
  2. 0.1.2 - October 12, 2019 (12 KB)
  3. 0.1.1 - May 04, 2017 (9 KB)

Runtime Dependencies (1):

activerecord > 5.0.0

Development Dependencies (10):

bundler ~> 2.0
guard ~> 2.15
guard-rspec ~> 4.7
guard-rubocop ~> 1.3
rake ~> 10.0
rspec ~> 3.0
rubocop ~> 0.72.0
rubocop-rspec ~> 1.36
sqlite3 ~> 1.4

Owners:

Pushed by:

Authors:

  • Rafael Soares

SHA 256 checksum:

= Copy to clipboard Copied!

Total downloads 12,868

For this version 3,845

License:

MIT

Required Ruby Version: >= 0

Links: