diff --git a/lib/middleman/base.rb b/lib/middleman/base.rb index 278c365a..5c1b15dd 100644 --- a/lib/middleman/base.rb +++ b/lib/middleman/base.rb @@ -1,3 +1,5 @@ +# require 'sinatra/synchrony' + require "i18n" require "active_support" @@ -7,6 +9,8 @@ require "active_support/core_ext/class/attribute_accessors" module Middleman::Base class << self def registered(app) + # app.register ::Sinatra::Synchrony + app.extend ClassMethods app.send :include, InstanceMethods diff --git a/middleman.gemspec b/middleman.gemspec index 138d9388..562d2a54 100644 --- a/middleman.gemspec +++ b/middleman.gemspec @@ -43,6 +43,7 @@ eos s.add_dependency("tilt", ["~> 1.3.1"]) s.add_dependency("maruku", ["~> 0.6.0"]) s.add_dependency("sinatra", ["~> 1.2.6"]) + # s.add_dependency("sinatra-synchrony", ["~> 0.2.1"]) s.add_dependency("rack-test", ["~> 0.6.1"]) s.add_dependency("uglifier", ["~> 1.0.0"]) s.add_dependency("slim", ["~> 1.0.1"])