summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/lines_of_code.rb
Commit message (Collapse)AuthorAgeFilesLines
* Major rewrite of encoders to support IO output; fixed some minor scanner ↵Kornelius Kalnbach2011-08-191-1/+2
| | | | bugs; cleanups; dropped NitroXHTML scanner; improved tests
* Encoder refactoring to fix LOC and Statistic encodersmurphy2011-04-201-9/+6
|
* lines of code, still not working properlymurphy2011-03-071-2/+6
|
* LOC encoder uses faster to_s encoder now and prints a more useful warning ↵murphy2010-06-291-51/+2
| | | | when no scanner was assigned.
* Cleanup, documentation and enhancements to the Filters:murphy2010-05-181-0/+2
| | | | | | | * TokenKindFilter handles groups (closes #223). * Added :docstring to the default KINDS_NOT_LOC list. * Also fixed a problem with the :tokens option in Scanners.
* Direct Streaming! See #142 and Changes.textile.murphy2010-05-011-3/+3
|
* Fixed a buggy warning.murphy2010-04-281-1/+1
|
* Renamed token_classes to token_kinds (closes #122).murphy2010-03-301-3/+3
| | | | | | | | | * *RENAMED* from ClassOfKind. The term "token class" is no longer used in CodeRay. Instead, tokens have _kinds_. * *RENAMED* TokenKindFilter to TokenClassFilter. * *ADDED* documentation on encoders affected by the term change. * *REMOVED* token kinds :attribute_name_fat, :attribute_value_fat, :operator_fat, :tag_fat, and :xml_text. * *ADDED* token kind :filename.
* Fixed example tests.murphy2009-12-311-2/+58
| | | | | | | | | | | * test:clean task also deletes .expected.html files * LinesOfCode encoder can deal with tokens that have no scanner. Tests were added for this. * JSON encoder load rubygems if necessary. * NEW :loc as an alias for :lines_of_code * NEW Scanner methods marshal_dump, marshal_load FIXED Tokens dumping (failed while trying to dump @scanner)
* LinesOfCode: Language dependent via KINDS_NOT_LOC, documentation.murphy2009-10-181-1/+16
|
* Added LinesOfCode encoder (issue #123) - simple version.murphy2009-06-291-0/+19