From ceed015b2d5a237a6f3dfc0f2272f13c9f758771 Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 20 Oct 2008 14:18:18 +0000 Subject: 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. --- test/scanners/coderay_suite.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/scanners/coderay_suite.rb') 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 -- cgit v1.2.1