This is mainly a refactoring branch, but there is one breaking change (from dee09a9). You will need to change this:
driver :foo, Bar do
# ...
end
server :baz, Shpee do
# ...
end
to this:
drivers do
configure :foo, Bar do
# ...
end
enable :foo
end
servers do
configure :baz, Shpee do
# ...
end
enable :baz
end
The enable :foo is new in this pull request, and reflects that you can now configure modules that aren't enabled at run-time. (This currently doesn't really have much of a use, but it will do in the future with hot-swappable modules.)
This should help group things together, make the similarities between server and driver config more obvious, and it reflects the internal structure in which the drivers/servers are now stored.
This is mainly a refactoring branch, but there is one breaking change (from dee09a9). You will need to change this:
to this:
The
enable :foo
is new in this pull request, and reflects that you can now configure modules that aren't enabled at run-time. (This currently doesn't really have much of a use, but it will do in the future with hot-swappable modules.)This should help group things together, make the similarities between server and driver config more obvious, and it reflects the internal structure in which the drivers/servers are now stored.