Rakefile in log_tribe-0.2.10 vs Rakefile in log_tribe-0.3.0

- old
+ new

@@ -1,13 +1,15 @@ +# frozen_string_literal: true + require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'yard' -RSpec::Core::RakeTask.new('spec') +RSpec::Core::RakeTask.new('spec'.freeze) task default: :spec -desc 'Generate documentation' +desc 'Generate documentation'.freeze YARD::Rake::YardocTask.new do |t| - t.files = %w(lib/**/*.rb - LICENSE.txt) - t.options = %w(--main README.md --no-private --protected) + t.files = %w(lib/**/*.rb - LICENSE.txt).map(&:freeze).freeze + t.options = %w(--main README.md --no-private --protected).map(&:freeze).freeze end