upgrade to newest activesupport
This commit is contained in:
parent
515c91e826
commit
ae1edd482f
|
@ -11,7 +11,6 @@ require 'i18n'
|
||||||
# Use ActiveSupport JSON
|
# Use ActiveSupport JSON
|
||||||
require 'active_support/json'
|
require 'active_support/json'
|
||||||
require 'active_support/core_ext/integer/inflections'
|
require 'active_support/core_ext/integer/inflections'
|
||||||
require 'active_support/core_ext/float/rounding'
|
|
||||||
|
|
||||||
# Simple callback library
|
# Simple callback library
|
||||||
require 'hooks'
|
require 'hooks'
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Use the Ruby/Rails logger
|
# Use the Ruby/Rails logger
|
||||||
require 'active_support/notifications'
|
require 'active_support/notifications'
|
||||||
require 'active_support/buffered_logger'
|
require 'active_support/logger'
|
||||||
require 'thread'
|
require 'thread'
|
||||||
|
|
||||||
module Middleman
|
module Middleman
|
||||||
|
|
||||||
# The Middleman Logger
|
# The Middleman Logger
|
||||||
class Logger < ActiveSupport::BufferedLogger
|
class Logger < ActiveSupport::Logger
|
||||||
|
|
||||||
def self.singleton(*args)
|
def self.singleton(*args)
|
||||||
if !@_logger || args.length > 0
|
if !@_logger || args.length > 0
|
||||||
|
|
|
@ -32,7 +32,7 @@ Gem::Specification.new do |s|
|
||||||
s.add_dependency("thor", [">= 0.15.2", "< 2.0"])
|
s.add_dependency("thor", [">= 0.15.2", "< 2.0"])
|
||||||
|
|
||||||
# Helpers
|
# Helpers
|
||||||
s.add_dependency("activesupport", ["~> 3.2.6"])
|
s.add_dependency("activesupport", ["~> 4.0.1"])
|
||||||
|
|
||||||
# Watcher
|
# Watcher
|
||||||
s.add_dependency("listen", ["~> 1.1"])
|
s.add_dependency("listen", ["~> 1.1"])
|
||||||
|
|
Loading…
Reference in a new issue