diff --git a/Gemfile b/Gemfile index b64b012..f1cd632 100644 --- a/Gemfile +++ b/Gemfile @@ -15,5 +15,5 @@ gem 'nokogiri' gem 'adsf' gem 'builder' gem 'tent-schemas', :git => 'git://github.com/tent/tent-schemas.git', :branch => 'master' -gem 'pygments.rb', :git => 'git://github.com/akzhan/pygments.rb.git', :branch => 'rubypython-0.6' +gem 'pygments.rb' gem 'fssm', :groups => :development diff --git a/Gemfile.lock b/Gemfile.lock index 2cac075..42b487d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,11 +1,3 @@ -GIT - remote: git://github.com/akzhan/pygments.rb.git - revision: dfa0d936da40f25e249a7d20f895e6d4cab72b50 - branch: rubypython-0.6 - specs: - pygments.rb (0.2.12) - rubypython (~> 0.6.1) - GIT remote: git://github.com/tent/tent-schemas.git revision: 9f4b86aac5a0b35e42d24c392b12fdbfdc7b789a @@ -19,14 +11,12 @@ GEM specs: adsf (1.1.1) rack (>= 1.0.0) - blankslate (2.1.2.4) builder (3.1.1) clogger (1.1.0) rack (> 0.9) colored (1.2) cri (2.3.0) colored (>= 1.2) - ffi (1.0.11) fssm (0.2.9) json-schema (1.0.9) mime-types (1.19) @@ -35,20 +25,22 @@ GEM nanoc-cachebuster (0.3.1) nanoc (>= 3.3.0) nokogiri (1.5.5) + posix-spawn (0.3.6) puma (1.6.3) rack (~> 1.2) + pygments.rb (0.3.1) + posix-spawn (~> 0.3.6) + yajl-ruby (~> 1.1.0) rack (1.4.1) rack-rewrite (1.2.1) rainpress (1.0) redcarpet (2.1.1) - rubypython (0.6.2) - blankslate (>= 2.1.2.3) - ffi (~> 1.0.7) slim (1.3.0) temple (~> 0.4.1) tilt (~> 1.3.3) temple (0.4.1) tilt (1.3.3) + yajl-ruby (1.1.0) PLATFORMS ruby @@ -63,7 +55,7 @@ DEPENDENCIES nanoc-cachebuster nokogiri puma - pygments.rb! + pygments.rb rack rack-rewrite rainpress diff --git a/lib/markdown_html.rb b/lib/markdown_html.rb index adc6177..b0de173 100644 --- a/lib/markdown_html.rb +++ b/lib/markdown_html.rb @@ -1,7 +1,5 @@ require 'pygments.rb' -RubyPython.start python_exe: 'python2.6' if ENV['RACK_ENV'] == 'production' - class MarkdownHTML < Redcarpet::Render::HTML include Redcarpet::Render::SmartyPants