diff options
author | Austin Ziegler <austin@zieglers.ca> | 2020-06-23 11:33:25 -0400 |
---|---|---|
committer | Austin Ziegler <austin@zieglers.ca> | 2020-06-23 11:33:25 -0400 |
commit | a7a595e2d5d3b4658d21d33f3f62f7c85ee4c82b (patch) | |
tree | 8e32eb2596f67159dca5302a3efaafcf25bed4de /Rakefile | |
parent | 4168a8eb56231152697290d14ac62a02eac9ac3f (diff) | |
download | diff-lcs-a7a595e2d5d3b4658d21d33f3f62f7c85ee4c82b.tar.gz |
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.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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." |