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:
parent
42f9e331da
commit
781fa1c65f
3 changed files with 226 additions and 45 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue