Categories: None [Edit]

deprecate_soft

https://rubygems.org/gems/deprecate_soft
https://github.com/tilo/deprecate_soft
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.

Total

Ranking: 183,869 of 196,218
Downloads: 1,671

Daily

Ranking: 59,748 of 196,179
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,397,047,795rake
291,011,902,583rspec
57735,724,353rubocop
72627,709,826pry
83577,858,231redis
98494,495,411simplecov
386135,314,326dogstatsd-ruby

Owners

#GravatarHandle
1icontilo