Ruby Gem released

Use the Ruby Gem released trigger to expire a TODO when a version of a Gem matching the constraint(s) is released.

Usage with a syntax

➡️ TODO(on:gem_release('nokogiri', '> 1.15'))

Examples

Expire a TODO when the Nokogori Ruby gem is released with a version '> 1.15'

➡️ TODO(on:gem_release('nokogiri', '> 1.15'))

Expire a TODO when the Rails Ruby gem version 7.1 is released

➡️ TODO(on:gem_release('nokogiri', '7.1'))

Expire a TODO when the Devise Ruby gem is released with a version '> 4.9.2' and '< 5'

➡️ TODO(on:gem_release('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: Make sure to upgrade when the gem super-fun is released to 3.5.1 Equivalent to: gem_release('super-fun', '3.5.1')

TODO: Check the required redis-rb version once the sidekiq gem gets a new release in the > 7 serie Equivalent to: gem_release('sidekiq', '> 7')

TODO: Do something after kuaz-thermometer cuts 3.4 Equivalent to: No detection as the term "gem" is not mentioned

Last updated

Was this helpful?