RubyGems Navigation menu

swifter_enum 1.1.1

SwifterEnum transforms Rails enums from simple values into powerful objects with methods, computed properties, and type safety. Your enums become smart: payment_status.can_refund?, subscription.price, status.icon - all while maintaining 100% Rails enum compatibility. Drop-in replacement that eliminates scattered helper methods and case statements throughout your codebase.

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 1.1.1 September 16, 2025 (15.5KB)
  2. 1.1.0 September 16, 2025 (13.5KB)
  3. 1.0.0 June 17, 2025 (13KB)
  4. 0.9.7 April 12, 2025 (13KB)
  5. 0.9.6 September 04, 2024 (10.5KB)
全てのバージョンを表示(全11件)

Runtime依存関係 (3):

activemodel >= 7.0, < 9.0
activerecord >= 7.0, < 9.0
activesupport >= 7.0, < 9.0

Development依存関係 (4):

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

所有者:

プッシュ者:

作者:

  • Rob Jonson

SHA 256チェックサム:

=

累計ダウンロード数 3,475

このバージョンのみ 216

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

ライセンス:

MIT

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

リンク: