diff --git a/Gemfile b/Gemfile index f6e1c65..de86797 100644 --- a/Gemfile +++ b/Gemfile @@ -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' diff --git a/Gemfile.lock b/Gemfile.lock index 5ef2e83..f475af2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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 diff --git a/plugins/gist_tag.rb b/plugins/gist_tag.rb index 32ae9c8..b658c1a 100644 --- a/plugins/gist_tag.rb +++ b/plugins/gist_tag.rb @@ -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