lib/protector.rb in protector-0.3.3 vs lib/protector.rb in protector-0.4.0
- old
+ new
@@ -4,9 +4,11 @@
require "protector/version"
require "protector/dsl"
require "protector/adapters/active_record"
require "protector/adapters/sequel"
+require "protector/engine" if defined?(Rails)
+
I18n.load_path += Dir[File.expand_path File.join('..', 'locales', '*.yml'), File.dirname(__FILE__)]
module Protector
class << self
ADAPTERS = [
\ No newline at end of file