Sha256: 529b0c0774c829e9e76a30fca626c920c410d7ac438838408978a6932be2b51c

Contents?: true

Size: 1.14 KB

Versions: 4

Compression:

Stored size: 1.14 KB

Contents

# Used for compression
require 'zlib'
# Used to coerce data types between string and their actual types
require 'coercible'

require 'symmetric_encryption/version'
require 'symmetric_encryption/cipher'
require 'symmetric_encryption/symmetric_encryption'
require 'symmetric_encryption/exception'

#@formatter:off
module SymmetricEncryption
  autoload :Coerce,    'symmetric_encryption/coerce'
  autoload :Config,    'symmetric_encryption/config'
  autoload :Reader,    'symmetric_encryption/reader'
  autoload :Writer,    'symmetric_encryption/writer'
  autoload :Generator, 'symmetric_encryption/generator'
end
#@formatter:on

# Add support for other libraries only if they have already been loaded
require 'symmetric_encryption/railtie' if defined?(Rails)
if defined?(ActiveRecord::Base) && !defined?(AttrEncrypted::Version)
  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)
require 'symmetric_encryption/extensions/mongo_mapper/plugins/encrypted_key' if defined?(MongoMapper)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
symmetric-encryption-3.8.3 lib/symmetric_encryption.rb
symmetric-encryption-3.8.2 lib/symmetric_encryption.rb
symmetric-encryption-3.8.1 lib/symmetric_encryption.rb
symmetric-encryption-3.8.0 lib/symmetric_encryption.rb