Rakefile in google-webfonts-0.2.0 vs Rakefile in google-webfonts-0.3.0
- old
+ new
@@ -1,9 +1,12 @@
-require "bundler/gem_tasks"
+# coding: utf-8
+# frozen_string_literal: true
+
+require 'bundler/gem_tasks'
require 'rake/testtask'
Rake::TestTask.new do |t|
- t.libs << "test"
+ t.libs += %w[lib test]
t.test_files = FileList['test/**/*_test.rb']
end
-task :default => [:test]
+task default: :test