From a7a595e2d5d3b4658d21d33f3f62f7c85ee4c82b Mon Sep 17 00:00:00 2001 From: Austin Ziegler Date: Tue, 23 Jun 2020 11:33:25 -0400 Subject: Fix an issue with negative hunk max_size Resolves #57. - The `diff_size` should be an absolute value. - Added a test to ensure that the issue does not introduce a regression. --- Rakefile | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index e6bbf86..c19b7d1 100644 --- a/Rakefile +++ b/Rakefile @@ -24,22 +24,11 @@ _spec = Hoe.spec 'diff-lcs' do extra_dev_deps << ['hoe-gemspec2', '~> 1.1'] extra_dev_deps << ['hoe-git', '~> 1.6'] extra_dev_deps << ['hoe-rubygems', '~> 1.0'] - extra_dev_deps << ['hoe-travis', '~> 1.2'] extra_dev_deps << ['rspec', '>= 2.0', '< 4'] extra_dev_deps << ['rake', '>= 10.0', '< 14'] extra_dev_deps << ['rdoc', '>= 0'] end -require "rspec/core/rake_task" - -desc "Run all specifications" -RSpec::Core::RakeTask.new(:spec) do |t| - rspec_dirs = %w(spec lib) - t.rspec_opts = [] - t.rspec_opts << "-I#{rspec_dirs.join(":")}" unless rspec_dirs.empty? -end -task :default => :spec - if RUBY_VERSION >= '2.0' && RUBY_ENGINE == 'ruby' namespace :spec do desc "Runs test coverage. Only works Ruby 2.0+ and assumes 'simplecov' is installed." -- cgit v1.2.1