CodeRay 0.9.1

The next stable version of CodeRay comes with 5 new languages, JSON output, an LoC counter and many other improvements.
Added by Kornelius Kalnbach 7 months ago

New features

  • new languages:
    • C++
    • Groovy (beta)
    • PHP (based on the work of Stefan Walk)
    • Python
    • SQL (based on Josh Goebel's SQL scanner)
  • a new JSON encoder
  • an experimental Terminal encoder (term) by Rob Aldred
  • a Lines of Code counter
  • a comment filter (strips comment tokens out of the code)
  • new :title option for the Page encoder
  • FileType::[] and CodeRay::scan_file work with Pathname objects

There are many more bugfixes and improvements, and some API changes as well, like plugin titles (r345). There's also a complete list of changes.

Notes

This version is compatible with Ruby 1.8.6, 1.8.7, JRuby 1.4.0, Ruby 1.9.1 and Ruby 1.9.2.

Migration

If you're having trouble to get your library or application to work with this release, please mail me (murphy rubychan de) or file a ticket here.

Download

Just gem install coderay or get it from Gemcutter.


Comments