Upgraded to pygments.rb 0.3.3 and fixed an issue where Gists wouldn't output cached files

I'm actually done. #888. For now.
This commit is contained in:
Brandon Mathis 2012-12-24 22:11:11 -06:00
parent 8eac9cf471
commit be53372e20
3 changed files with 8 additions and 5 deletions

View File

@ -5,7 +5,7 @@ group :development do
gem 'rack', '~> 1.4.1'
gem 'jekyll', '~> 0.11.2'
gem 'rdiscount', '~> 1.6.8'
gem 'pygments.rb', '~> 0.2.12'
gem 'pygments.rb', '~> 0.3.3'
gem 'RedCloth', '~> 4.2.9'
gem 'haml', '~> 3.1.6'
gem 'compass', '~> 0.12.1'

View File

@ -4,7 +4,6 @@ GEM
RedCloth (4.2.9)
albino (1.3.3)
posix-spawn (>= 0.3.6)
blankslate (2.1.2.4)
chunky_png (1.2.5)
classifier (1.3.3)
fast-stemmer (>= 1.0.0)
@ -14,7 +13,6 @@ GEM
sass (~> 3.1)
directory_watcher (1.4.1)
fast-stemmer (1.0.1)
ffi (1.0.11)
fssm (0.2.9)
haml (3.1.6)
jekyll (0.11.2)
@ -32,6 +30,9 @@ GEM
posix-spawn (0.3.6)
pygments.rb (0.2.12)
rubypython (~> 0.5.3)
pygments.rb (0.3.3)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0)
rack (1.4.1)
rack-protection (1.2.0)
rack
@ -46,6 +47,7 @@ GEM
blankslate (>= 2.1.2.3)
ffi (~> 1.0.7)
sass (3.1.18)
sass (3.1.20)
sinatra (1.3.2)
rack (~> 1.3, >= 1.3.6)
rack-protection (~> 1.2)
@ -53,6 +55,7 @@ GEM
stringex (1.4.0)
syntax (1.0.0)
tilt (1.3.3)
yajl-ruby (1.1.0)
PLATFORMS
ruby
@ -63,7 +66,7 @@ DEPENDENCIES
haml (~> 3.1.6)
jekyll (~> 0.11.2)
liquid (~> 2.3.0)
pygments.rb (~> 0.2.12)
pygments.rb (~> 0.3.3)
rack (~> 1.4.1)
rake (~> 0.9.2)
rake-minify

View File

@ -55,7 +55,7 @@ module Jekyll
code = get_range(code, @options[:start], @options[:end])
code = highlight(code, @options)
end
code
cache || code
else
"Gist formatting error, format should be {% gist gist_id [filename] %}"
end