RubyGems Navigation menu

human_enum 0.1.2

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:

a9ee91fd2b341ebdd369f09fcaa02f06c503d0fc30d80cfff51afdbc60f23a57

Total downloads 12,692

For this version 1,856

License:

MIT

Required Ruby Version: >= 0

Links: