summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Applied Rubocop rules that I likerubocopAustin Ziegler2019-01-2734-818/+990
| | | | | - Other linting configuration also applied. - Soft-deprecating versions older than 2.3.
* Revert PR#47 "Add #to_ary to Diff::LCS::Change…"Austin Ziegler2019-01-273-42/+0
| | | | | | | | | | This reverts commits 01e0cae and 3b4d2be because they introduce fatally breaking changes in the tests that were hidden by broken CI. * 01e0cae: Add #to_ary to Diff::LCS::Change and Diff::LCS::ContextChange [Akinori MUSHA] * 3b4d2be: Mention in rdoc that Diff::LCS::ContextChange can be converted to an array [Akinori MUSHA]
* Make travis test the right things...Austin Ziegler2019-01-261-4/+1
|
* Mention in rdoc that Diff::LCS::ContextChange can be converted to an arrayAkinori MUSHA2019-01-261-0/+14
|
* Add #to_ary to Diff::LCS::Change and Diff::LCS::ContextChangeAkinori MUSHA2019-01-262-0/+28
| | | | | | | | | | | | | | | | | It would be quite handy if you could write as follows: ```ruby Diff::LCS.sdiff(a, b).each do |action, (old_position, old_element), (new_position, new_element)| case action when '!' # replace when '-' # delete when '+' # insert end end ```
* Merge pull request #42 from nicolasleger/patch-1Austin Ziegler2018-02-121-4/+5
|\
| * [CI] Test against Ruby 2.5Nicolas Leger2018-02-121-4/+5
|/
* Small README fixAustin Ziegler2017-01-181-4/+0
|
* Using SPDX license descriptions for releasev1.3Austin Ziegler2017-01-182-2/+2
|
* Fix Ruby 1.8 build issuesAustin Ziegler2017-01-181-1/+2
|
* Merge pull request #39 from halostatue/spec-cleanupAustin Ziegler2017-01-1831-772/+1028
|\ | | | | Various diff-lcs Fixes
| * diff-lcs 1.3Austin Ziegler2017-01-1831-743/+1007
| | | | | | | | | | | | | | | | | | | | | | - Updated testing and gem infrastructure. - Cleaning up documentation. - Modernizing specs. - Silence Ruby 2.4 Fixnum deprecation warnings. Fixes #36, #38. - Ensure test dependencies are loaded. Fixes #33, #34 so that specs can be run independently. - Fix issue #1 with incorrect intuition of patch direction. Tentative fix, but the failure cases pass now.
| * Fixing Coveralls for testing.Austin Ziegler2017-01-113-32/+24
|/
* Merge pull request #31 from apuratepp/udpate-url-in-gemspecAustin Ziegler2015-01-291-1/+1
|\ | | | | Update Homepage URL in gemspec file
| * Update Homepage URL in gemspec fileJosep2015-01-291-1/+1
|/
* Fixing travis execution.Austin Ziegler2014-04-261-1/+2
|
* Bumping version in preparation for next release.Austin Ziegler2014-04-263-15/+21
|
* Fix travis builds.Austin Ziegler2014-04-261-10/+23
|
* Merge pull request #29 from GoBoundless/fix_compareAustin Ziegler2014-04-261-0/+2
|\ | | | | update Change and ContextChange's '==' methods to compare against the other object's class
| * update Diff::LCS::Change and Diff::LCS::ContextChange's '==' methods to ↵Kevin Mook2014-04-231-0/+2
| | | | | | | | compare against the other object's class
* | Point to the GitHub repo as home.Austin Ziegler2014-04-261-1/+1
| | | | | | | | | | | | | | - Until I can work up a better page. Fixes #26. Fixes #28.
* | Fixing a banner bug with bin/ldiffAustin Ziegler2014-04-261-1/+1
| | | | | | | | Fixes #21.
* | Enabling code coverage.Austin Ziegler2014-04-263-6/+64
| |
* | Final changes for release 1.25.Austin Ziegler2014-04-266-16/+22
|/
* Merge pull request #25 from hubrix/patch-1Austin Ziegler2013-12-311-2/+2
|\ | | | | Update htmldiff.rb
| * Update htmldiff.rbMark Friedgan2013-12-221-2/+2
|/ | | expand tabs is broken otherwise and the code is inconsistent anyway
* Release 1.25: Bugfix for pull request #23.Austin Ziegler2013-11-074-9/+28
|
* Merge pull request #23 from joshbronson/masterAustin Ziegler2013-11-051-1/+1
|\ | | | | fixing for Diff::LCS::Change.from_a
| * fixing for Diff::LCS::Change.from_ajoshbronson2013-11-051-1/+1
|/ | | | | | | | | | | | | flatten should only go one level deep to avoid problems when diffing arrays of arrays, e.g.: Diff::LCS.sdiff([[1,2]], []) RuntimeError: Invalid change array format provided. from /Users/joshbronson/homebase/jbro-homebase/bundle/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/change.rb:50:in `from_a' from /Users/joshbronson/homebase/jbro-homebase/bundle/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/change.rb:137:in `from_a' from /Users/joshbronson/homebase/jbro-homebase/bundle/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/change.rb:158:in `simplify' from /Users/joshbronson/homebase/jbro-homebase/bundle/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/callbacks.rb:312:in `discard_a' from /Users/joshbronson/homebase/jbro-homebase/bundle/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs.rb:633:in `traverse_balanced' from /Users/joshbronson/homebase/jbro-homebase/bundle/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/internals.rb:10:in `diff_traversal' from /Users/joshbronson/homebase/jbro-homebase/bundle/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs.rb:266:in `sdiff'
* Merge pull request #20 from gravis/patch-1Austin Ziegler2013-05-031-1/+1
|\ | | | | Fix inconsistent changelog
| * Fix inconsistent changelogPhilippe Lafoucrière2013-05-031-1/+1
|/ | | The last version is different from the others.
* Merge pull request #19 from ginriki/fix_redundancyAustin Ziegler2013-04-291-1/+1
|\ | | | | Fix redundancy of value check
| * Fix redundancy of value checkginriki2013-04-291-1/+1
|/
* Removing the signing key for git-based bundles.Austin Ziegler2013-04-201-2/+0
|
* Finalizing the 1.2.4 update release.v1.2.4Austin Ziegler2013-04-204-15/+24
|
* Merge branch 'master' of github-halostatue:halostatue/diff-lcsAustin Ziegler2013-04-202-0/+7
|\ | | | | | | | | * 'master' of github-halostatue:halostatue/diff-lcs: Fix pruning of common sequences at start.
| * Merge pull request #18 from pck/fix_prune_common_startAustin Ziegler2013-04-202-0/+7
| |\ | | | | | | Fix pruning of common sequences at start.
| | * Fix pruning of common sequences at start.Paul Kunysch2013-04-202-0/+7
| |/
* | Switching to hoe-gemspec2.Austin Ziegler2013-04-205-25/+27
|/
* Creating release 1.2.3 with encoding fixes.v1.2.3Austin Ziegler2013-04-113-5/+30
|
* Merge pull request #17 from JonRowe/guard_against_emptyAustin Ziegler2013-04-112-29/+38
|\ | | | | Fix an issue caused by detecting the encoding when first data is empty
| * fix indentation of examplesJon Rowe2013-04-111-32/+27
| |
| * protect against no dataJon Rowe2013-04-112-1/+15
|/
* Updating the manifest for the new test.v1.2.2Austin Ziegler2013-03-301-0/+1
|
* Finalizing encoding-aware diff fixes.Austin Ziegler2013-03-307-45/+57
| | | | | | | | | | | | | | * Diff::LCS::Hunk could not properly generate a difference for comparison sets that are not US-ASCII-compatible because of the use of literal regular expressions and strings. Jon Rowe (JonRowe) found this in rspec/rspec-expectations#219 and provided a first pass implementation in diff-lcs#15. I've reworked it because of test failures in Rubinius when running in Ruby 1.9 mode. This coerces the added values to the encoding of the old dataset (as determined by the first piece of the old dataset). https://github.com/rspec/rspec-expectations/issues/219 https://github.com/halostatue/diff-lcs/pull/15 * Adding Travis CI testing for Ruby 2.0.
* wrap tests in 187 protection tooJon Rowe2013-03-151-20/+22
|
* refactor out encoding methodJon Rowe2013-03-151-1/+2
|
* ruby 187... support...Jon Rowe2013-03-151-6/+16
|
* matching preferred stylingJon Rowe2013-03-151-6/+8
|
* fix issues with encoding caused by using literalsJon Rowe2013-03-152-20/+96
|