think about async sinatra
This commit is contained in:
parent
dc30ea27b3
commit
80a3a9c82f
|
@ -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
|
||||
|
||||
|
|
|
@ -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"])
|
||||
|
|
Loading…
Reference in a new issue