summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/json.rb
Commit message (Collapse)AuthorAgeFilesLines
* Added documentation to encoders; more code cleanups.murphy2010-03-301-7/+16
|
* Fixed example tests.murphy2009-12-311-1/+6
| | | | | | | | | | | * 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)
* JSON encoder: New format to preserve all information and be more accessible ↵murphy2009-12-301-2/+47
| | | | for JavaScript programmers (each token is an object). Also a refactorization. Added tests.
* New: *JSON Encoder*murphy2009-04-201-0/+19
Very simple. Not streamable yet.