Gem that eases creation of xdelta diffs. Currently this is just a wrapper over the system's xdelta3 CLI interface.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install xdelta3-ruby
Ensure that xdelta3 (and optionally tar) is on your path. Current implementation is only tested on Linux (Debian-based).
XDelta::Patch.create(old_file, new_file, patch_file) XDelta::Patch.apply(old_file, patch_file, new_file) XDelta::Patch.create_from_dir(old_dir, new_dir, patch_file) XDelta::Patch.apply_to_dir(old_dir, patch_file, new_dir)
- Fork it ( http://github.com/endlessm/xdelta3-ruby/fork )
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request