lib/symmetric-encryption.rb in symmetric-encryption-0.3.1 vs lib/symmetric-encryption.rb in symmetric-encryption-0.4.0

- old
+ new

@@ -2,9 +2,15 @@ require 'symmetric/cipher' require 'symmetric/encryption' if defined?(Rails) require 'symmetric/railtie' end +# attr_encrypted and Encrypted validator if defined?(ActiveRecord::Base) require 'symmetric/extensions/active_record/base' require 'symmetric/railties/symmetric_encrypted_validator' +end + +# field encryption for Mongoid +if defined?(Mongoid) + require 'symmetric/extensions/mongoid/fields' end