0.0
No commit activity in last 3 years
No release in over 3 years
gem-patching provides a mechanism for marking code blocks as a patch targeting specific versions of a gem and be notified when that gem is updated, so that developers can assess whether the patch continues to be necessary
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

gem-patching

gem-patching provides a mechanism for marking a code block as a patch targeting a specific version of a gem and be notified when that gem is updated, so that developers can assess whether the patch continues to be necessary.

# cucumber_patch.rb
Gem.patching('cucumber', '0.8.0') do
  # your code patching cucumber '0.8.0'
end
# this will raise the following exception if cucumber is updated:
# Attempt to apply patch targeting version '0.8.0' of 'cucumber', but active version is '0.8.1'

Installation

gem install gem-patching

Copyright © 2010 Ingo Weiss, released under the MIT license