RubyGems Navigation menu

swifter_enum 0.9.5

Simple enum for active record that takes inspiration from Swift's enums to allow you to encapsulate enum logic within an enum class. 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:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 0.9.5 - March 19, 2024 (10,5 KB)
  2. 0.9.4 - March 13, 2024 (10,5 KB)
  3. 0.9.3 - March 12, 2024 (10,5 KB)
  4. 0.9.2 - March 12, 2024 (10,5 KB)
  5. 0.9.1 - March 10, 2024 (10 KB)
Zeige alle Versionen (6 total)

Runtime Abhängigkeiten (3):

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

Development Abhängigkeiten (3):

debug >= 0
minitest ~> 5.22
sqlite3 ~> 1.4

Besitzer:

Pushed by:

Autoren:

  • Rob Jonson

SHA 256-Prüfsumme:

2b09ac822396774e96c202686946f07ce12960f5f180214766f2c25b27bdcbed

Downloads insgesamt 986

Für diese Version 203

Lizenz:

MIT

Erforderliche Ruby-Version: >= 3.2.0

Links: