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 'rack', '~> 1.4.1'
gem 'jekyll', '~> 0.11.2' gem 'jekyll', '~> 0.11.2'
gem 'rdiscount', '~> 1.6.8' gem 'rdiscount', '~> 1.6.8'
gem 'pygments.rb', '~> 0.2.12' gem 'pygments.rb', '~> 0.3.3'
gem 'RedCloth', '~> 4.2.9' gem 'RedCloth', '~> 4.2.9'
gem 'haml', '~> 3.1.6' gem 'haml', '~> 3.1.6'
gem 'compass', '~> 0.12.1' gem 'compass', '~> 0.12.1'

View File

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

View File

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