Rakefile in attributor-5.0.2 vs Rakefile in attributor-5.1.0

- old
+ new

@@ -5,24 +5,23 @@ require 'rspec/core' require 'rspec/core/rake_task' require 'bundler/gem_tasks' require 'rake/notes/rake_task' - -desc "Run RSpec code examples with simplecov" +desc 'Run RSpec code examples with simplecov' RSpec::Core::RakeTask.new do |spec| - spec.rspec_opts = ["-c"] + spec.rspec_opts = ['-c'] spec.pattern = FileList['spec/**/*_spec.rb'] end -desc "console" +desc 'console' task :console do require 'bundler' Bundler.require(:default, :development, :test) require_relative 'lib/attributor' pry end -task :default => :spec +task default: :spec require 'yard' YARD::Rake::YardocTask.new