Rakefile in tablesmith-0.4.1 vs Rakefile in tablesmith-0.5.0
- old
+ new
@@ -1,10 +1,12 @@
+# frozen_string_literal: true
+
require 'rspec/core/rake_task'
require 'bundler/gem_tasks'
-FileList['tasks/*.rake'].each { |task| load task }
+FileList['tasks/*.rake'].each(&method(:load))
-task :default => :spec
+task default: :spec
desc 'Run the specs.'
RSpec::Core::RakeTask.new do |t|
t.pattern = '*_spec.rb'
end