diff options
author | murphy <murphy@rubychan.de> | 2008-10-20 14:18:18 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2008-10-20 14:18:18 +0000 |
commit | ceed015b2d5a237a6f3dfc0f2272f13c9f758771 (patch) | |
tree | c52ff27205bbefaebf5e8f67960244cd921ece01 /test/scanners/coderay_suite.rb | |
parent | 23e5605488f613bd864671a322562ecfcb2d945d (diff) | |
download | coderay-ceed015b2d5a237a6f3dfc0f2272f13c9f758771.tar.gz |
New: *YAML* (#53). Preparing for version 0.8.1.
* Based on the YAML scanner from Jamis Buck's Syntax lib.
* Some YAML examples from Ruby gems.
* Doesn't handle string yet; alpha state.
More changes:
* coderay_suite: new parameter "fast" makes testing faster (for development).
* Changed the title of HTML page output (Page Encoder).
* FileType: Added new file types.
* cYcnus style: simplified some token group styles.
* Cleanup in CSS and HTML Scanners.
Diffstat (limited to 'test/scanners/coderay_suite.rb')
-rw-r--r-- | test/scanners/coderay_suite.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/scanners/coderay_suite.rb b/test/scanners/coderay_suite.rb index 321ee62..e434d97 100644 --- a/test/scanners/coderay_suite.rb +++ b/test/scanners/coderay_suite.rb @@ -98,6 +98,10 @@ module CodeRay MAX_CODE_SIZE_TO_HIGHLIGHT = 500_000_000 MAX_CODE_SIZE_TO_TEST = 500_000_000 DEFAULT_MAX = 1024 + elsif ENV['fast'] + MAX_CODE_SIZE_TO_HIGHLIGHT = 5_000_000 + MAX_CODE_SIZE_TO_TEST = 1_000_000 + DEFAULT_MAX = 16 else MAX_CODE_SIZE_TO_HIGHLIGHT = 5_000_000 MAX_CODE_SIZE_TO_TEST = 5_000_000 |