serradura/backend-code-challenge

View on GitHub
lib/tasks/stats.rake

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

task stats: 'app:statsetup'

namespace :app do
  task :statsetup do
    require 'rails/code_statistics'

    ::STATS_DIRECTORIES.unshift ['Transactions', 'app/transactions']
  end
end