lib/happy.rb in happy-0.1.0.pre25 vs lib/happy.rb in happy-0.1.0.pre27
- old
+ new
@@ -1,7 +1,15 @@
require 'rack'
+
+# Happy is currently making use of ActiveSupport. I'm not 100% happy
+# about this dependency and will eventually try to remove it.
+# The following line should at least make sure that the individual
+# components are autoloaded as needed.
+require 'active_support'
+
require 'happy/version'
require 'happy/errors'
+require 'happy/helpers'
require 'happy/controller'
module Happy
def self.env
ActiveSupport::StringInquirer.new(ENV['RACK_ENV'] || 'development')