Permalink
Browse files

switch to pygments.rb

  • Loading branch information...
jlong committed Jul 25, 2011
1 parent 0d850f8 commit 683a3a1d54031e2fbeb325a58d0c3d72c3d21af4
Showing with 11 additions and 5 deletions.
  1. +1 −1 Gemfile
  2. +9 −3 Gemfile.lock
  3. +1 −1 config.ru
View
@@ -8,7 +8,7 @@ gem 'serve', '1.5.1'
# Use Compass and Sass
gem 'compass'
-gem 'rygments'
+gem 'pygments.rb'
gem 'rack-codehighlighter', :git => 'git://github.com/jlong/rack-codehighlighter.git'
# Markdown and Textile
View
@@ -1,6 +1,6 @@
GIT
remote: git://github.com/jlong/rack-codehighlighter.git
- revision: a6882034e55395e4f4bbb9b457acd1566fc009a8
+ revision: 6c5dcb784d14d113abf7c3a0458cdf1223adf26a
specs:
rack-codehighlighter (0.4.7)
nokogiri (>= 1.4.1)
@@ -10,18 +10,24 @@ GEM
remote: http://rubygems.org/
specs:
activesupport (3.0.9)
+ blankslate (2.1.2.4)
chunky_png (1.2.0)
compass (0.11.5)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
sass (~> 3.1)
+ ffi (1.0.9)
fssm (0.2.7)
i18n (0.6.0)
nokogiri (1.5.0)
+ pygments.rb (0.1.2)
+ rubypython (>= 0.5.1)
rack (1.3.1)
rack-test (0.6.0)
rack (>= 1.0)
- rygments (0.2.0)
+ rubypython (0.5.1)
+ blankslate (>= 2.1.2.3)
+ ffi (~> 1.0.7)
sass (3.1.4)
serve (1.5.1)
activesupport (~> 3.0)
@@ -38,6 +44,6 @@ PLATFORMS
DEPENDENCIES
compass
+ pygments.rb
rack-codehighlighter!
- rygments
serve (= 1.5.1)
View
@@ -31,7 +31,7 @@ if ENV['RACK_ENV'] != 'production'
end
# Syntax highlighting with Codehiglighter
-require 'rygments'
+require 'pygments'
require 'rack/codehighlighter'
use Rack::Codehighlighter, :pygments, :element => "pre", :pattern => /\A:::(\w+)\s*\n/, :logging => false

0 comments on commit 683a3a1

Please sign in to comment.