lib/gooddata/bricks/bricks.rb in gooddata-0.6.0.pre11 vs lib/gooddata/bricks/bricks.rb in gooddata-0.6.0
- old
+ new
@@ -1,7 +1,10 @@
+# encoding: UTF-8
+require 'pathname'
+
base = Pathname(__FILE__).dirname.expand_path
Dir.glob(base + '*.rb').each do |file|
require file
end
# Require all middleware
-require File.join(File.dirname(__FILE__), "middleware/middleware")
+require_relative 'middleware/middleware'
\ No newline at end of file