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 (
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
History.txt | Sun Feb 03 11:20:49 -0800 2008 | [js] |
| |
License.txt | Sun Feb 03 11:20:49 -0800 2008 | [js] |
| |
Manifest.txt | Sun Feb 03 11:20:49 -0800 2008 | [js] |
| |
README.txt | Wed Mar 05 15:31:13 -0800 2008 | [dchelimsky] |
| |
Rakefile | Sun Feb 03 11:20:49 -0800 2008 | [js] |
| |
config/ | Sun Feb 03 11:20:49 -0800 2008 | [js] |
| |
doc/ | Sun Feb 03 11:20:49 -0800 2008 | [js] |
| |
lib/ | Fri Feb 22 14:33:03 -0800 2008 | [js] |
| |
script/ | Sun Feb 03 11:20:49 -0800 2008 | [js] |
| |
setup.rb | Sun Feb 03 11:20:49 -0800 2008 | [js] |
| |
spec/ | Fri Feb 22 14:33:03 -0800 2008 | [js] |
| |
tasks/ | Sun Feb 03 11:20:49 -0800 2008 | [js] |
| |
website/ | Sun Feb 03 11:20:49 -0800 2008 | [js] |
README.txt
Diff::Display ============= Diff::Display::Unified renders unified diffs into various forms. The output is based on a callback object that's passed into the renderer Rewrite of an (unreleased) library by Marcel Molina Jr., who wrote this it probably back in 2004 or so. Usage ====== irb(main):001:0> require 'diff-display' => true irb(main):002:0> diff = <<EOS irb(main):003:0" diff --git a/History.txt b/History.txt irb(main):004:0" index 0ed7358..622c384 100644 irb(main):005:0" --- a/History.txt irb(main):006:0" +++ b/History.txt irb(main):007:0" @@ -1,4 +1,5 @@ irb(main):008:0" == 0.0.1 2008-01-28 irb(main):009:0" irb(main):010:0" -* 1 major enhancement: irb(main):011:0" - * Initial release irb(main):012:0" +* 2 major enhancements: irb(main):013:0" + * The Initial release irb(main):014:0" + * stuff added irb(main):015:0" EOS ... irb(main):016:0> diff_display = Diff::Display::Unified.new(diff) => #<Diff::Display::Unified:0x331c9c @data=... # Be boring and render it back out as a diff irb(main):017:0> puts diff_display.render(Diff::Renderer::Diff.new) diff --git a/History.txt b/History.txt index 0ed7358..622c384 100644 --- a/History.txt +++ b/History.txt @@ -1,4 +1,5 @@ == 0.0.1 2008-01-28 -* 1 major enhancement: - * Initial release +* 2 major enhancements: + * The Initial release + * stuff added See Diff::Renderer::Base for what methods your callback needs to implement Git Repository =============== http://GitoriousConfig['gitorious_host']/projects/diff-display/ License ====== Please see License.txt




