Sha256: 56cb7c104f2b9ae238c18e6f6576568652423e185fdff367862c9ed4ae26b3c8
Contents?: true
Size: 625 Bytes
Versions: 105
Compression:
Stored size: 625 Bytes
Contents
STATS_DIRECTORIES = [ %w(Controllers app/controllers), %w(Helpers app/helpers), %w(Models app/models), %w(Libraries lib/), %w(APIs app/apis), %w(Components components), %w(Integration\ tests test/integration), %w(Functional\ tests test/functional), %w(Unit\ tests test/unit) ].collect { |name, dir| [ name, "#{RAILS_ROOT}/#{dir}" ] }.select { |name, dir| File.directory?(dir) } desc "Report code statistics (KLOCs, etc) from the application" task :stats do require 'code_statistics' CodeStatistics.new(*STATS_DIRECTORIES).to_s end
Version data entries
105 entries across 105 versions & 10 rubygems