./www/ruby-pygments.rb, Pygments wrapper for ruby

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2013Q2, Version: 0.3.7, Package name: ruby193-pygments.rb-0.3.7, Maintainer: pkgsrc-users

# pygments.rb

A Ruby wrapper for the Python [pygments syntax
highlighter](http://pygments.org/).

pygments.rb works by talking over a simple pipe to a long-lived Python child
process. This library replaces
[github/albino](https://github.com/github/albino), as well as a version of
pygments.rb that used an embedded Python interpreter.

Each Ruby process that runs has its own 'personal Python'; for example, 4
Unicorn workers will have one Python process each. If a Python process dies,
a new one will be spawned on the next pygments.rb request.


Master sites: (Expand)

SHA1: 4060e4c005b92a1f42c9958fd7af5dcf01a50137
RMD160: 33856bc9d0d83e47193d3a7bf95f2c6fc8a050ad
Filesize: 1384 KB

Version history: (Expand)