Rakefile in rack-simple_user_agent-0.4.0 vs Rakefile in rack-simple_user_agent-0.5.0
- old
+ new
@@ -1,10 +1,12 @@
-require "bundler/gem_tasks"
-require "rake/testtask"
+# frozen_string_literal: true
+require 'bundler/gem_tasks'
+require 'rake/testtask'
+
Rake::TestTask.new(:test) do |t|
- t.libs << "test"
- t.libs << "lib"
+ t.libs << 'test'
+ t.libs << 'lib'
t.test_files = FileList['test/**/*_test.rb']
end
-task :default => :test
+task default: :test