Rakefile in gmaps_geocoding-1.3.5 vs Rakefile in gmaps_geocoding-1.3.6

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require 'bundler/gem_tasks' require 'rake/testtask' require 'rubocop/rake_task' require 'yard' @@ -8,17 +10,17 @@ Rake::TestTask.new do |t| t.libs << 'lib/gmaps_geocoding' t.test_files = FileList['test/**/*_test.rb'] t.verbose = true end -task default: [:test, :rubocop] +task default: %i[test rubocop] RuboCop::RakeTask.new do |task| task.formatters = ['simple'] task.fail_on_error = false end desc 'Generate documentation' YARD::Rake::YardocTask.new do |t| - t.files = %w(lib/**/*.rb - LICENSE.txt) - t.options = %w(--main README.md --no-private) + t.files = %w[lib/**/*.rb - LICENSE.txt] + t.options = %w[--main README.md --no-private] end