lib/symmetric_encryption.rb in symmetric-encryption-3.9.1 vs lib/symmetric_encryption.rb in symmetric-encryption-4.0.0.beta3

- old
+ new

@@ -11,16 +11,21 @@ #@formatter:off module SymmetricEncryption autoload :Coerce, 'symmetric_encryption/coerce' autoload :Config, 'symmetric_encryption/config' autoload :Encoder, 'symmetric_encryption/encoder' - autoload :KeyEncryptionKey, 'symmetric_encryption/key_encryption_key' + autoload :Generator, 'symmetric_encryption/generator' + autoload :Header, 'symmetric_encryption/header' + autoload :Key, 'symmetric_encryption/key' autoload :Reader, 'symmetric_encryption/reader' + autoload :RSAKey, 'symmetric_encryption/rsa_key' autoload :Writer, 'symmetric_encryption/writer' - autoload :Generator, 'symmetric_encryption/generator' + autoload :CLI, 'symmetric_encryption/cli' + autoload :Keystore, 'symmetric_encryption/keystore' module Utils - autoload :ReEncryptConfigFiles, 'symmetric_encryption/re_encrypt_config_files' + autoload :Generate, 'symmetric_encryption/utils/generate' + autoload :ReEncryptFiles, 'symmetric_encryption/utils/re_encrypt_files' end end #@formatter:on # Add support for other libraries only if they have already been loaded @@ -29,8 +34,8 @@ require 'symmetric_encryption/extensions/active_record/base' end require 'symmetric_encryption/railties/symmetric_encryption_validator' if defined?(ActiveModel) require 'symmetric_encryption/extensions/mongoid/encrypted' if defined?(Mongoid) if defined?(MongoMapper) - warn 'MongoMapper support is deprecated. Consider upgrading to Mongoid.' + warn 'MongoMapper support is deprecated. Upgrade to Mongoid.' require 'symmetric_encryption/extensions/mongo_mapper/plugins/encrypted_key' end