Rakefile in film_snob-0.6.5 vs Rakefile in film_snob-1.0.0
- old
+ new
@@ -1,17 +1,14 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "rubocop/rake_task"
+require "todo_lint"
RSpec::Core::RakeTask.new(:spec)
RuboCop::RakeTask.new(:style)
task :todos do
- # This tool requires keyword arguments
- if RUBY_VERSION >= "2.0.0"
- require "todo_lint"
- TodoLint::Cli.new([]).run!
- end
+ TodoLint::Cli.new([]).run!
end
task :ci => [:spec, :style, :todos]
task :default => :ci