Ruby Gem upgraded
Use the Ruby Gem upgraded trigger to expire a TODO when a version of a Gem matching the constraint(s) is upgraded in your application.

Usage with a syntax
β‘οΈ TODO(on:gem_bump('nokogiri', '> 1.15'))
Examples
Expire a TODO when Nokogori is upgraded in your application with a version '> 1.15'
β‘οΈ TODO(on:gem_bump('nokogiri', '> 1.15'))
Expire a TODO when Rails is upgraded in your application to version 7.1
β‘οΈ TODO(on:gem_bump('nokogiri', '7.1'))
Expire a TODO when Devise is upgraded in your application with a version '> 4.9.2' and '< 5'
β‘οΈ TODO(on:gem_bump('devise', '> 4.9.2', '< 5'))
Usage when detected automatically
Please ensure you always explicitly mention the term "gem" (literally), for Catana to correctly detect this trigger.
Examples
TODO: Remove this monkeypatch once we bump the stripe gem to > 5
Equivalent to: gem_release('stripe', '> 5')
TODO: webmock 3.24 has this feature, no need for it when we upgrade the gem
Equivalent to: gem_release('webmock', '3.24')
TODO: Do something when we update kuaz-thermometer to 1.0.0 Equivalent to: No detection as the term "gem" is not mentioned
Last updated