RubyGems Navigation menu

swifter_enum 0.9.0

Simple enum for active record that takes inspiration from Swift's enums to allow you to add logic to your enum definition. This is easy to drop-in as a replacement for regular rails enums, with minimal changes required. Once you switch, then you can easily extend your enums with methods.

Gemfile:
=

安装:
=

版本列表:

  1. 0.9.6 September 04, 2024 (10.5 KB)
  2. 0.9.5 March 19, 2024 (10.5 KB)
  3. 0.9.4 March 13, 2024 (10.5 KB)
  4. 0.9.3 March 12, 2024 (10.5 KB)
  5. 0.9.2 March 12, 2024 (10.5 KB)
  6. 0.9.0 March 09, 2024 (10.0 KB)
显示所有版本 (共 7 个)

Runtime 依赖 (3):

activemodel ~> 7.0
activerecord ~> 7.0
activesupport ~> 7.0

Development 依赖 (2):

minitest ~> 5.22
sqlite3 ~> 1.4

业主:

推送:

作者:

  • Rob Jonson

SHA 256 校验和:

=

下载总量 1,607

这个版本 227

版本发布:

许可:

MIT

需要的 Ruby 版本: >= 3.2.0

链接: