Move configuration into a separate object, that can be reused for extension configuration and makes settings, their defaults, and descriptions inspectable.

This commit is contained in:
Ben Hollis 2012-10-13 17:57:48 -07:00
parent 42f9e331da
commit 781fa1c65f
3 changed files with 226 additions and 45 deletions

View file

@ -37,9 +37,6 @@ module Middleman
class << self
# @private
def registered(app)
# Using for version parsing
require "rubygems"
app.define_hook :after_configuration
app.define_hook :before_configuration
app.define_hook :build_config