lib/zena.rb in zena-1.0.0.rc3 vs lib/zena.rb in zena-1.0.0
- old
+ new
@@ -210,13 +210,18 @@
def initialize_authlogic
require "authlogic"
end
+ # Nicer syntax: Zena.use Bricks:Foobar instead of Zena::Use.module Bricks::Foobar
+ def use(*args)
+ Zena::Use.module(*args)
+ end
+
def init
config = Rails.configuration
enable_tools
- puts "** zena #{Zena::VERSION} #{tools_enabled == [] ? '' : '('+tools_enabled.join(', ')+') '}starting"
+ puts "** zena #{Zena::VERSION} starting (c) Gaspard Bucher 2011"
puts "** Bricks: #{Bricks::CONFIG.map{|k,v| k}.sort.join(', ')}"
add_load_paths(config)
config_gems(config)
set_default_timezone(config)
\ No newline at end of file