Sha256: f3fae3cc8f713f4f8d1343b3f1f6f20b304e835a45be432bf23017c1ebad17c1
Contents?: true
Size: 831 Bytes
Versions: 6
Compression:
Stored size: 831 Bytes
Contents
require 'English' begin require 'bundler/setup' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end APP_RAKEFILE = File.expand_path('../spec/dummy/Rakefile', __FILE__) load 'rails/tasks/engine.rake' load 'rails/tasks/statistics.rake' Bundler::GemHelper.install_tasks require 'rspec/core/rake_task' desc 'Run all specs in spec directory (excluding plugin specs)' RSpec::Core::RakeTask.new(spec: 'app:db:test:prepare') task default: :spec require 'rubocop/rake_task' RuboCop::RakeTask.new do |task| task.options = ['--config', '.rubocop.yml'] end task default: :rubocop namespace :i18n do desc 'Check translation health' task :health do `i18n-tasks health` abort('Translation problems found') unless $CHILD_STATUS.success? end end task default: 'i18n:health'
Version data entries
6 entries across 6 versions & 1 rubygems