Hi,
I want to let you know about gem-patch plugin that I made for both RubyGems 1.8.x and 2.0.x.
gem-patch is a RubyGems plugin that helps to patch gems without manually opening and rebuilding them. It adds the `patch` command which opens a given .gem file, extracts it, patches it with system patch command, clones its spec, updates the file list and builds the patched gem.
Intended as a new feature of RubyGems [1], it has been released as a gem [2], and source code (with separated branches for RubyGems 1.8 and 2.0) is available on GitHub [3].
To use it: - install the gem (0.1.1) gem install gem-patch - and patch: gem patch GEMFILE PATCH [PATCH ...]
Regards Josef
[1] https://github.com/rubygems/rubygems/pull/381 [2] https://rubygems.org/gems/gem-patch [3] http://github.com/strzibny/gem-patch
Josef Stribny jstribny@redhat.com writes:
Hi,
I want to let you know about gem-patch plugin that I made for both RubyGems 1.8.x and 2.0.x.
gem-patch is a RubyGems plugin that helps to patch gems without manually opening and rebuilding them. It adds the `patch` command which opens a given .gem file, extracts it, patches it with system patch command, clones its spec, updates the file list and builds the patched gem.
Intended as a new feature of RubyGems [1], it has been released as a gem [2], and source code (with separated branches for RubyGems 1.8 and 2.0) is available on GitHub [3].
To use it:
- install the gem (0.1.1)
gem install gem-patch
- and patch:
gem patch GEMFILE PATCH [PATCH ...]
Regards Josef
[1] https://github.com/rubygems/rubygems/pull/381 [2] https://rubygems.org/gems/gem-patch [3] http://github.com/strzibny/gem-patch _______________________________________________ ruby-sig mailing list ruby-sig@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
Very cool, that has always annoyed me when applying patches for gem RPMs.
ruby-sig@lists.fedoraproject.org