Sha256: 7855ad36e3004b058947d57bb498dc4d4cd4d58fae913bec4fcb00966d2a01ef

Contents?: true

Size: 405 Bytes

Versions: 2

Compression:

Stored size: 405 Bytes

Contents

require "active_support/all"
require "i18n"

require "protector/version"
require "protector/dsl"
require "protector/adapters/active_record"
require "protector/adapters/sequel"

I18n.load_path << Dir[File.join File.expand_path(File.dirname(__FILE__)), '..', 'locales', '*.yml']

Protector::Adapters::ActiveRecord.activate! if defined?(ActiveRecord)
Protector::Adapters::Sequel.activate! if defined?(Sequel)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
protector-0.2.2 lib/protector.rb
protector-0.2.1 lib/protector.rb