summaryrefslogtreecommitdiff
path: root/test/scanners/ruby
Commit message (Collapse)AuthorAgeFilesLines
* Moving scanner tests into separate repository. The repository can be reached ↵murphy2010-04-1457-175144/+0
| | | | at http://svn.rubychan.de/coderay-scanner-tests/trunk.
* Improved Ruby scanner (see #147 and Changes.textile.)murphy2010-03-3110-182/+182
|
* Ruby scanner can't parse complex method definitions (issue #147)murphy2010-01-223-0/+180
|
* Improved scanner tests: known issues, JRuby bug workaround (see #136).murphy2010-01-011-0/+2
|
* Updated Ruby scanner:murphy2009-10-196-210/+210
| | | | | | | * cleanup (FIXMEs, dead code, comments) * improved value_expected detection using VALUE_EXPECTING_KEYWORDS * support for self.method style definitions
* Improved UTF-8 support for Ruby Scanner. Also fixed a minor bug.murphy2009-06-074-0/+68
| | | | | | | | | * closes #108 (new Ruby 1.9 call operator syntax sugar) * Added an example for unicode code. * automatic UTF-8 detection (experimental) * Still problems with different Ruby versions; new unicode test fails in Ruby 1.9 and JRuby.
* Ruby scanner: Even more fixes for control and meta escape sequences.murphy2009-02-062-0/+16
| | | | | * I think I got it right this time.
* Ruby scanner: Fixed rarely used \c, \C-, and \M- escape sequences.murphy2009-02-052-2/+28
| | | | | | | * JavaScript scanner: elaborate a comment * SimpleRegexpScanner: Just some testing with the Ruby stack. * coderay-lib.tmproj: I should just remove it from the repo...
* Ruby Scanner: Shebang comments are highlighted as :doctype.murphy2009-01-135-48/+48
|
* Improved Ruby scanner to use +/- signs only when appropriate (tests adjusted.)murphy2008-01-216-41/+41
| | | | | Ignore test/scanners/*/*.expected.html
* Added ruby.rails test to repository.murphy2008-01-212-0/+148518
|
* Lib:murphy2008-01-078-16/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Encoder: removed a warning - Encoders::HTML: don't shadow outer variable - Plugin: move require_plugin into class namespace - Ruby Scanner: - "alias" keyword recognition - better regexp/division distinction - recognize ~, !, !=, and !~ as method names (partly Ruby 1.9 only) - reordered states for speed Tests: - updated coderay-suite to use gem instead of require_gem - general improvements (more colors!, new parameter: new, new syntax lang.test for only and new) - fixed ruby suite - adjusted a lot of Ruby tests (alias uses methods now) - new tests: ruby/operators, ruby/regexp Samples: - fixed/updated ('bout time) Rake tasks: - updated to use new rubygems API
* New Scanner: Scheme (thanks closure!)murphy2007-01-011-2/+1
| | | | | | | | | | | | | | | Test and example added. Token changed: operator_fat instead of operator_name (for use with LISP-like parentheses). Added file_extension for Scanners. Improved CodeRay::Suite: - uses scanners file extension now - example parameter is now named "only" - only param overwrite MAX_CODE_SIZE_TO_HIGHLIGHT
* Added tests for debug scanner and another ruby test case.murphy2007-01-012-0/+54
| | | | | Added drafts for a comparison of CodeRa an Pygments features.
* Ruby scanner: #{...} delimiters are now :inline_delimiter to solve CSS problem.murphy2006-10-1811-301/+301
| | | | | | New token: :inline_delimiter Scanner tests suite revamped: colorization, split up into methods.
* strange.in.rb test output fixed.murphy2006-10-181-5/+5
|
* Fixed besetzung.in.rb test.murphy2006-10-181-0/+0
|
* Fixed warning in bench.rb.murphy2006-10-185-40/+54
| | | | | | | | | | Ruby Scanner: improved handling of ambiguos values. - operator methods are now :ident instead of :operator - fancy_allowed and regexp_allowed are now value_expected - value_expected works in operator method calls - tests enhanced and adjusted Scanner tests: new diffed option, diff doesn't imply noassert anymore
* Fixed functional test.murphy2006-10-181-190/+190
| | | | | | | Fixed Ruby scanner (/= was scanned as regexp!) Made bench.rb run from any folder. Made scanner test diff function work via EDITOR instead of gvimdiff.
* Renamed tests: .actual.* is (ignored) output, .expected.* is input now.murphy2006-10-1720-0/+0
| | | | | Added test:clean task.
* Moved scanner tests into test/scanners.murphy2006-10-1541-0/+26155