RubyGems Navigation menu

deprecate_soft 1.2.0

DeprecateSoft is a lightweight Ruby gem that lets you gracefully deprecate methods in your codebase without breaking functionality. It wraps existing instance or class methods and lets you plug in custom before/after hooks for tracking usage via logging, Redis, DataDog, or any other observability tools. Once you verify in your tracking that a method is no longer called, you can remove it safely from your code base. This is especially useful in large codebases where you want to safely remove legacy methods, but first need insight into whether and where they're still being called. Hooks are configured once globally and apply project-wide. Fully compatible with Rails or plain Ruby applications.

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 1.2.0 April 06, 2025 (13.5KB)
  2. 1.1.0 March 29, 2025 (12.5KB)
  3. 1.0.0 March 25, 2025 (12KB)

Development依存関係 (7):

pry >= 0
rake ~> 13.0
redis >= 4.0
rspec ~> 3.12
rubocop ~> 1.21
simplecov >= 0

所有者:

プッシュ者:

作者:

  • Tilo Sloboda

SHA 256チェックサム:

=

累計ダウンロード数 425

このバージョンのみ 135

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

ライセンス:

MIT

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

リンク: