Sha256: b244b797722d136f9b6f4b3f29d4b87f563350e9678739a9dfea232a6968e4bd
Contents?: true
Size: 1.2 KB
Versions: 3
Compression:
Stored size: 1.2 KB
Contents
dependency 'merb-assets', ">=1.0.0" dependency 'merb-helpers', ">=1.0.0" dependency 'merb-haml', ">=1.0.0" Merb::Config.use do |c| c[:name] = 'sm-server' c[:exception_details] = true # Append random numbers to assets in dev mode, but not build mode c[:reload_templates] = (Merb::Config[:adapter] == 'mongrel') c[:reload_classes] = true c[:reload_time] = 0.5 c[:ignore_tampered_cookies] = true c[:log_auto_flush ] = true c[:log_level] = :error c[:log_stream] = STDOUT c[:log_file] = nil end Merb.push_path(:controller, File.dirname(__FILE__)) Merb.push_path(:router, File.dirname(__FILE__), "router.rb") Merb.push_path(:public, Merb.root, nil) Merb.push_path(:stylesheet, Merb.root / "stylesheets", nil) Merb.push_path(:javascript, Merb.root / "javascripts", nil) Merb.push_path(:image, Merb.root / "images", nil) Merb.push_path(:view, Merb.root) Merb.push_path(:helper, Merb.root / "helpers") Merb::Plugins.config[:sass][:css_location] = Merb.dir_for(:stylesheet) Merb::Plugins.config[:sass][:template_location] = Merb.dir_for(:stylesheet) / "sass"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tdreyno-staticmatic-2.9.1 | lib/merb/init.rb |
tdreyno-staticmatic-2.9.3 | lib/merb/init.rb |
tdreyno-staticmatic-2.9.4 | lib/merb/init.rb |