upgrade to newest activesupport
This commit is contained in:
parent
515c91e826
commit
ae1edd482f
3 changed files with 3 additions and 4 deletions
|
@ -11,7 +11,6 @@ require 'i18n'
|
|||
# Use ActiveSupport JSON
|
||||
require 'active_support/json'
|
||||
require 'active_support/core_ext/integer/inflections'
|
||||
require 'active_support/core_ext/float/rounding'
|
||||
|
||||
# Simple callback library
|
||||
require 'hooks'
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# Use the Ruby/Rails logger
|
||||
require 'active_support/notifications'
|
||||
require 'active_support/buffered_logger'
|
||||
require 'active_support/logger'
|
||||
require 'thread'
|
||||
|
||||
module Middleman
|
||||
|
||||
# The Middleman Logger
|
||||
class Logger < ActiveSupport::BufferedLogger
|
||||
class Logger < ActiveSupport::Logger
|
||||
|
||||
def self.singleton(*args)
|
||||
if !@_logger || args.length > 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue