lib/fozzie.rb in fozzie-0.0.27 vs lib/fozzie.rb in fozzie-1.0.0
- old
+ new
@@ -9,19 +9,18 @@
#
module Fozzie
require 'core_ext/module/monitor'
+ require 'fozzie/adapter'
+
+ require "fozzie/exception"
require 'fozzie/configuration'
- require "fozzie/interface"
+ require "fozzie/dsl"
+ require "fozzie/bulk_dsl"
require "fozzie/version"
- require "fozzie/rack/middleware"
- require "fozzie/rails/middleware"
-
- require 'fozzie/railtie' if defined?(::Rails)
-
class << self
# Shortcut for `Fozzie.config`
def c
config
@@ -56,9 +55,9 @@
end
# Loads each namespace for registering statistics
self.c.namespaces.each do |klas|
- Kernel.const_set(klas, Interface.instance) unless const_defined?(klas)
+ Kernel.const_set(klas, Dsl.instance) unless const_defined?(klas)
end
end