Top Level Namespace
Defined Under Namespace
Modules: CodeStatistics
Constant Summary collapse
- STATS_DIRECTORIES =
todo for both spec and test look through top level add any directory seperately get rid of the hard coded test/units / etc in this file and the lib file.
[ %w(Controllers app/controllers), %w(Helpers app/helpers), %w(Models app/models), %w(Libraries lib/), %w(APIs app/apis), %w(Integration\ tests test/integration), %w(Functional\ tests test/functional), %w(Unit\ tests test/unit), %w(Model\ specs spec/models), %w(View\ specs spec/views), %w(Controller\ specs spec/controllers), %w(Helper\ specs spec/helpers), %w(Library\ specs spec/lib), %w(Routing\ specs spec/routing), %w(Integration\ specs spec/integration), %w(Public\ specs spec/public), %w(Semipublic\ specs spec/semipublic) ].collect { |name, dir| [ name, "#{Dir.pwd}/#{dir}" ] }.select { |name, dir| File.directory?(dir) }