RubyGems Navigation menu

swifter_enum 0.9.2

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:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 0.9.6 - September 04, 2024 (10.5KB)
  2. 0.9.5 - March 19, 2024 (10.5KB)
  3. 0.9.4 - March 13, 2024 (10.5KB)
  4. 0.9.3 - March 12, 2024 (10.5KB)
  5. 0.9.2 - March 12, 2024 (10.5KB)
全てのバージョンを表示(全7件)

Runtime依存関係 (3):

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

Development依存関係 (3):

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

所有者:

プッシュ者:

作者:

  • Rob Jonson

SHA 256チェックサム:

= クリップボードにコピー コピー完了!

累計ダウンロード数 1,495

このバージョンのみ 180

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 3.2.0

リンク: