summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorAustin Ziegler <austin@zieglers.ca>2020-06-23 11:33:25 -0400
committerAustin Ziegler <austin@zieglers.ca>2020-06-23 11:33:25 -0400
commita7a595e2d5d3b4658d21d33f3f62f7c85ee4c82b (patch)
tree8e32eb2596f67159dca5302a3efaafcf25bed4de /Rakefile
parent4168a8eb56231152697290d14ac62a02eac9ac3f (diff)
downloaddiff-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--Rakefile11
1 files changed, 0 insertions, 11 deletions
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."