Rakefile in active_model_serializers-0.10.1 vs Rakefile in active_model_serializers-0.10.2

- old
+ new

@@ -3,11 +3,11 @@ rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end begin require 'simplecov' -rescue LoadError +rescue LoadError # rubocop:disable Lint/HandleExceptions end Bundler::GemHelper.install_tasks require 'yard' @@ -31,11 +31,11 @@ end begin require 'rubocop' require 'rubocop/rake_task' -rescue LoadError +rescue LoadError # rubocop:disable Lint/HandleExceptions else Rake::Task[:rubocop].clear if Rake::Task.task_defined?(:rubocop) require 'rbconfig' # https://github.com/bundler/bundler/blob/1b3eb2465a/lib/bundler/constants.rb#L2 windows_platforms = /(msdos|mswin|djgpp|mingw)/ @@ -98,6 +98,6 @@ else task default: [:test, :rubocop] end desc 'CI test task' -task :ci => [:default] +task ci: [:default]