This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Run the following if you haven't already:
gem sources -a http://gems.github.com
Install the gem(s):
sudo gem install arunthampi-rdiff_match_patch
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Mon Jun 23 23:51:04 -0700 2008 | [arunthampi] |
| |
README.rdoc | Tue Jun 24 03:34:34 -0700 2008 | [arunthampi] |
| |
Rakefile | Mon Jun 23 23:51:04 -0700 2008 | [arunthampi] |
| |
VERSION | Tue Jun 24 03:33:16 -0700 2008 | [arunthampi] |
| |
lib/ | Sat Jul 12 18:07:10 -0700 2008 | [arunthampi] |
| |
rdiff_match_patch.gemspec | Tue Jun 24 03:33:16 -0700 2008 | [arunthampi] |
| |
spec/ | Tue Jun 24 03:33:16 -0700 2008 | [arunthampi] |
README.rdoc
= RDiffMatchPatch This is a Ruby port of Google's DiffMatchPatch library (originally written by Neil Fraser http://neil.fraser.name) http://code.google.com/p/google-diff-match-patch/ == Installation from GitHub Gems sudo gem install arunthampi-rdiff_match_patch --source=http://gems.github.com == Installation from Source (More reliable) git clone git://github.com/arunthampi/rdiff_match_patch.git cd rdiff_match_patch rake install == Status As of now, only the 'match' capabilities of DiffMatchPatch have been implemented. Contributions are welcome to add support for Diff and Patch as well. Matching has been added as a module such as RDiffMatchPatch::Match. The plan is that if you want only a specific functionality to be mixed in (to the String class for example), then you only include that particular module. For example: class String include RDiffMatchPatch::Match end When the entire library has been ported, you can get all the functionality by simply including the various RDiffMatchPatch modules, once they are implemented. class String include RDiffMatchPatch::Match include RDiffMatchPatch::Patch end == Usage The module can be included like so: class String include RDiffMatchPatch::Match end "abc".fuzzy_match("abc") # => 0





