Project

diffyc32

0.0
No commit activity in last 3 years
No release in over 3 years
Diffy with colour on the command-line.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.2.0, ~> 0.2
>= 3.4.0, ~> 3.4
~> 1.5, >= 1.5.8
 Project Readme

Introducing the DiffyC32 gem

Usage:

require 'diffyc32'

string1 = <<-TXT
Hello how are you
I'm fine
That's great
TXT

#=> "Hello how are you\nI'm fine\nThat's great\n"

string2 = <<-TXT
Hello how are you?
I'm fine
That's swell
TXT

puts DiffyC32.new(string1, string2).to_s

The DiffyC32 gem uses the Diffy gem to compare 2 strings of text and show the differences using coloured text.

Below is a screenshot of the above output.

Screenshot of Diffy using coloured text

Resources

diffy diffyc32 gem