bump tilt requirement, unregister plaintext template. fixes #824
This commit is contained in:
parent
546c1fdafc
commit
f2f3ad21b6
4
Gemfile
4
Gemfile
|
@ -21,12 +21,12 @@ gem "less", "~> 2.2", :require => false
|
|||
gem "stylus", :require => false
|
||||
|
||||
platforms :ruby do
|
||||
gem "therubyracer", "0.10.2"
|
||||
gem "therubyracer"#, "0.10.2"
|
||||
gem "redcarpet"
|
||||
end
|
||||
|
||||
platforms :jruby do
|
||||
gem "therubyrhino", "1.73.5"
|
||||
gem "therubyrhino"
|
||||
end
|
||||
|
||||
# Middleman itself
|
||||
|
|
|
@ -22,6 +22,8 @@ module Middleman
|
|||
app.define_hook :before_render
|
||||
app.define_hook :after_render
|
||||
|
||||
::Tilt.mappings.delete('html') # WTF, Tilt?
|
||||
|
||||
# Activate custom renderers
|
||||
require "middleman-core/renderers/erb"
|
||||
app.register Middleman::Renderers::ERb
|
||||
|
|
|
@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|||
# Core
|
||||
s.add_dependency("bundler", ["~> 1.1"])
|
||||
s.add_dependency("rack", ["~> 1.4.1"])
|
||||
s.add_dependency("tilt", ["~> 1.3.1"])
|
||||
s.add_dependency("tilt", ["~> 1.3.6"])
|
||||
|
||||
# Builder
|
||||
s.add_dependency("rack-test", ["~> 0.6.1"])
|
||||
|
|
Loading…
Reference in a new issue