lib/protector.rb in protector-0.0.2 vs lib/protector.rb in protector-0.0.4

- old
+ new

@@ -1,13 +1,10 @@ require "active_support/all" +require "i18n" require "protector/version" require "protector/dsl" require "protector/adapters/active_record" I18n.load_path << Dir[File.join File.expand_path(File.dirname(__FILE__)), '..', 'locales', '*.yml'] -Protector::Adapters::ActiveRecord.activate! if defined?(ActiveRecord) - -module Protector - # Your code goes here... -end +Protector::Adapters::ActiveRecord.activate! if defined?(ActiveRecord) \ No newline at end of file