diff options
author | murphy <murphy@rubychan.de> | 2006-06-28 23:05:18 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2006-06-28 23:05:18 +0000 |
commit | 72a8989da58b16566558a373a4cf582cd36b3872 (patch) | |
tree | fcda6647ec3db395f3cffc9d7ff6de9dd90802c0 /rake_tasks/statistic.rake | |
parent | b5c6e09f9462acd5a8a98318c45bcc3f9114d137 (diff) | |
download | coderay-72a8989da58b16566558a373a4cf582cd36b3872.tar.gz |
Fix:
HTML Scanner: Fixed a nasty bug with invalid entities. Thanks to Daniel Bovensiepen.
Scanner: added Scanner.normify.
Plugin: small documentation fix.
Code statistic:
added lib root folder
rake_helpers/code_statistics.rb: added ability to include non-Ruby code in the statistics
used it to count the mountain of test data
There is some mixed space/tab indentation now. Complete 2-space-re-indentation will follow.
Diffstat (limited to 'rake_tasks/statistic.rake')
-rw-r--r-- | rake_tasks/statistic.rake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rake_tasks/statistic.rake b/rake_tasks/statistic.rake index 6114547..eb49493 100644 --- a/rake_tasks/statistic.rake +++ b/rake_tasks/statistic.rake @@ -3,12 +3,13 @@ task :stats do require 'rake_helpers/code_statistics'
CodeStatistics.new(
['Main', 'lib'],
- ['CodeRay', 'lib/coderay/'],
+ ['CodeRay', 'lib/{.,coderay}/'],
[' Scanners', 'lib/coderay/scanners/**'],
[' Encoders', 'lib/coderay/encoders/**'],
[' Helpers', 'lib/coderay/helpers/**'],
[' Styles', 'lib/coderay/styles/**'],
- ['Test', 'test/**', /\/\w+.rb$/],
+ ['Test', 'test'],
+ [' Test Data', 'test/*/**', /\.in\./, false],
['Demo Tests', 'demo/**']
).print
end
|