diff options
-rw-r--r-- | History.rdoc | 11 | ||||
-rw-r--r-- | diff-lcs.gemspec | 21 | ||||
-rw-r--r-- | lib/diff/lcs.rb | 4 |
3 files changed, 21 insertions, 15 deletions
diff --git a/History.rdoc b/History.rdoc index 69e5ddc..30d1d1e 100644 --- a/History.rdoc +++ b/History.rdoc @@ -1,3 +1,14 @@ +== 1.3 / 2014-MM-DD + +* Bugs fixed: + * Fixed an error for bin/ldiff --version. + * Force Diff::LCS::Change and Diff::LCS::ContextChange to only perform + equality comparisons against themselves. + +* Tooling changes: + * Added SimpleCov and Coveralls support. + * Change the homepage (temporarily) to the GitHub repo. + == 1.2.5 / 2013-11-08 * Bugs fixed: diff --git a/diff-lcs.gemspec b/diff-lcs.gemspec index 016a7b4..96697b6 100644 --- a/diff-lcs.gemspec +++ b/diff-lcs.gemspec @@ -1,30 +1,29 @@ # -*- encoding: utf-8 -*- +# stub: diff-lcs 1.3 ruby lib Gem::Specification.new do |s| s.name = "diff-lcs" - s.version = "1.2.5" + s.version = "1.3" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= + s.require_paths = ["lib"] s.authors = ["Austin Ziegler"] - s.date = "2013-11-08" + s.date = "2014-04-26" s.description = "Diff::LCS computes the difference between two Enumerable sequences using the\nMcIlroy-Hunt longest common subsequence (LCS) algorithm. It includes utilities\nto create a simple HTML diff output format and a standard diff-like tool.\n\nThis is release 1.2.4, fixing a bug introduced after diff-lcs 1.1.3 that did\nnot properly prune common sequences at the beginning of a comparison set.\nThanks to Paul Kunysch for fixing this issue.\n\nCoincident with the release of diff-lcs 1.2.3, we reported an issue with\nRubinius in 1.9 mode\n({rubinius/rubinius#2268}[https://github.com/rubinius/rubinius/issues/2268]).\nWe are happy to report that this issue has been resolved." - s.email = ["austin@rubyforge.org"] + s.email = ["halostatue@gmail.com"] s.executables = ["htmldiff", "ldiff"] s.extra_rdoc_files = ["Contributing.rdoc", "History.rdoc", "License.rdoc", "Manifest.txt", "README.rdoc", "docs/COPYING.txt", "docs/artistic.txt", "Contributing.rdoc", "History.rdoc", "License.rdoc", "README.rdoc"] s.files = [".autotest", ".gemtest", ".hoerc", ".rspec", ".travis.yml", "Contributing.rdoc", "Gemfile", "History.rdoc", "License.rdoc", "Manifest.txt", "README.rdoc", "Rakefile", "autotest/discover.rb", "bin/htmldiff", "bin/ldiff", "docs/COPYING.txt", "docs/artistic.txt", "lib/diff-lcs.rb", "lib/diff/lcs.rb", "lib/diff/lcs/array.rb", "lib/diff/lcs/block.rb", "lib/diff/lcs/callbacks.rb", "lib/diff/lcs/change.rb", "lib/diff/lcs/htmldiff.rb", "lib/diff/lcs/hunk.rb", "lib/diff/lcs/internals.rb", "lib/diff/lcs/ldiff.rb", "lib/diff/lcs/string.rb", "spec/change_spec.rb", "spec/diff_spec.rb", "spec/hunk_spec.rb", "spec/issues_spec.rb", "spec/lcs_spec.rb", "spec/patch_spec.rb", "spec/sdiff_spec.rb", "spec/spec_helper.rb", "spec/traverse_balanced_spec.rb", "spec/traverse_sequences_spec.rb"] s.homepage = "http://diff-lcs.rubyforge.org/" s.licenses = ["MIT", "Perl Artistic v2", "GNU GPL v2"] s.rdoc_options = ["--main", "README.rdoc"] - s.require_paths = ["lib"] - s.rubyforge_project = "diff-lcs" - s.rubygems_version = "2.0.7" + s.rubygems_version = "2.2.1" s.summary = "Diff::LCS computes the difference between two Enumerable sequences using the McIlroy-Hunt longest common subsequence (LCS) algorithm" if s.respond_to? :specification_version then s.specification_version = 4 if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_development_dependency(%q<rubyforge>, [">= 2.0.4"]) s.add_development_dependency(%q<rdoc>, ["~> 4.0"]) s.add_development_dependency(%q<hoe-bundler>, ["~> 1.2"]) s.add_development_dependency(%q<hoe-doofus>, ["~> 1.0"]) @@ -34,9 +33,8 @@ Gem::Specification.new do |s| s.add_development_dependency(%q<hoe-travis>, ["~> 1.2"]) s.add_development_dependency(%q<rake>, ["~> 10.0"]) s.add_development_dependency(%q<rspec>, ["~> 2.0"]) - s.add_development_dependency(%q<hoe>, ["~> 3.7"]) + s.add_development_dependency(%q<hoe>, ["~> 3.11"]) else - s.add_dependency(%q<rubyforge>, [">= 2.0.4"]) s.add_dependency(%q<rdoc>, ["~> 4.0"]) s.add_dependency(%q<hoe-bundler>, ["~> 1.2"]) s.add_dependency(%q<hoe-doofus>, ["~> 1.0"]) @@ -46,10 +44,9 @@ Gem::Specification.new do |s| s.add_dependency(%q<hoe-travis>, ["~> 1.2"]) s.add_dependency(%q<rake>, ["~> 10.0"]) s.add_dependency(%q<rspec>, ["~> 2.0"]) - s.add_dependency(%q<hoe>, ["~> 3.7"]) + s.add_dependency(%q<hoe>, ["~> 3.11"]) end else - s.add_dependency(%q<rubyforge>, [">= 2.0.4"]) s.add_dependency(%q<rdoc>, ["~> 4.0"]) s.add_dependency(%q<hoe-bundler>, ["~> 1.2"]) s.add_dependency(%q<hoe-doofus>, ["~> 1.0"]) @@ -59,6 +56,6 @@ Gem::Specification.new do |s| s.add_dependency(%q<hoe-travis>, ["~> 1.2"]) s.add_dependency(%q<rake>, ["~> 10.0"]) s.add_dependency(%q<rspec>, ["~> 2.0"]) - s.add_dependency(%q<hoe>, ["~> 3.7"]) + s.add_dependency(%q<hoe>, ["~> 3.11"]) end end diff --git a/lib/diff/lcs.rb b/lib/diff/lcs.rb index 5559615..b51c1bc 100644 --- a/lib/diff/lcs.rb +++ b/lib/diff/lcs.rb @@ -1,8 +1,6 @@ # -*- ruby encoding: utf-8 -*- module Diff; end unless defined? Diff -# = Diff::LCS 1.2.5 -# # Computes "intelligent" differences between two sequenced Enumerables. This # is an implementation of the McIlroy-Hunt "diff" algorithm for Enumerable # objects that include Diffable. @@ -129,7 +127,7 @@ module Diff; end unless defined? Diff # Common Subsequences</em>, CACM, vol.20, no.5, pp.350-353, May # 1977, with a few minor improvements to improve the speed." module Diff::LCS - VERSION = '1.2.5' + VERSION = '1.3' end require 'diff/lcs/callbacks' |