test/support/app.rb in ns-options-0.4.1 vs test/support/app.rb in ns-options-1.0.0.rc1
- old
+ new
@@ -1,12 +1,14 @@
+require 'ns-options'
require 'ns-options/boolean'
+require 'logger'
module App
# mixin on just the top-level NsOptions variant
include NsOptions
- options(:settings, "settings:app") do
+ options(:settings) do
option :root, Pathname
option :stage
option :logger, Logger
option :self_stage, :default => Proc.new { self.stage }